Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lindashirley99
    Junior Member
    • Feb 2011
    • 3

    #1

    Local BLAST installation on Linux

    Hi everybody,
    I am trying to install standalone Blast (blast-2.2.25+) on my linux system. Following the step suggested by this webpage
    http://www.ncbi.nlm.nih.gov/books/NBK52640/

    After installation and configuration, when I type blastn command, the system always gives this error
    -bash: blastn: command not found
    even if I type ls,ll some basic unix command, it does't work.

    Please help!!!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Originally posted by lindashirley99 View Post
    Hi everybody,
    I am trying to install standalone Blast (blast-2.2.25+) on my linux system. Following the step suggested by this webpage
    http://www.ncbi.nlm.nih.gov/books/NBK52640/

    After installation and configuration, when I type blastn command, the system always gives this error
    -bash: blastn: command not found
    even if I type ls,ll some basic unix command, it does't work.

    Please help!!!
    Lindashirley99,

    It appears that you may not be in the right directory where you installed blast. Check where you presently are using the "pwd" command.
    If you are in the right directory then that directory is not in your $PATH. You can either amend your $PATH to include the blast directory or specify a "./" before issuing the actual command like so:

    prompt> ./blastn

    Comment

    • lindashirley99
      Junior Member
      • Feb 2011
      • 3

      #3
      Originally posted by GenoMax View Post
      Lindashirley99,

      It appears that you may not be in the right directory where you installed blast. Check where you presently are using the "pwd" command.
      If you are in the right directory then that directory is not in your $PATH. You can either amend your $PATH to include the blast directory or specify a "./" before issuing the actual command like so:

      prompt> ./blastn
      thx so much! You saved me!

      Comment

      • lindashirley99
        Junior Member
        • Feb 2011
        • 3

        #4
        Originally posted by GenoMax View Post
        Lindashirley99,

        It appears that you may not be in the right directory where you installed blast. Check where you presently are using the "pwd" command.
        If you are in the right directory then that directory is not in your $PATH. You can either amend your $PATH to include the blast directory or specify a "./" before issuing the actual command like so:

        prompt> ./blastn
        Regarding the above issue, is it possible to blast the query sequence just against a user-defined reference, e.g. fasta file of some particular gene sequences, but not the entire genome database?

        Comment

        • rglover
          rg
          • Dec 2008
          • 51

          #5
          yes, that's possible - you'll need to create a blast database from the sequences you want to search against:

          Code:
          makeblastdb -in sequences.fasta -dbtype nucl
          Then you'd blast as normal, but the name of your database would be sequences.fasta. The BLAST+ user manual is a good place for more information: http://www.ncbi.nlm.nih.gov/books/NBK1763/

          Comment

          • jp.
            Senior Member
            • Jul 2013
            • 142

            #6
            Hi
            Can someone explain me why I get this errors:
            I am using the blast for tophatfusionpost analysis.
            I have downloaded:
            1. ncbi-blast-2.2.29+
            2. nr
            3. nt
            dir structure is :
            wd/ncbi-blast-2.2.29+
            wd/blast/nt
            wd/blast/nr
            PATH=$PATH:wd/ncbi-blast-2.2.29+
            PATH=$PATH:wd/blast/nt
            PATH=$PATH:wd/blast/nr
            export PATH
            After that, when I run program,it can not find nt and nr databse.
            It gives these 3 errors as follows:
            sh: blastn: command not found
            blast database error: nt not found in the PATH [wd/blast/nt]
            blast database error: nt not found in the PATH [wd/blast/nr]
            These nt and nr are in the same PATH, why program can not find it?
            I read the blast home page, but can not understand why I get errors?
            Kind help is much appreciated.

            Comment

            • atcghelix
              Member
              • Jul 2013
              • 74

              #7
              Originally posted by jp. View Post
              Hi
              Can someone explain me why I get this errors:
              I am using the blast for tophatfusionpost analysis.
              I have downloaded:
              1. ncbi-blast-2.2.29+
              2. nr
              3. nt
              dir structure is :
              wd/ncbi-blast-2.2.29+
              wd/blast/nt
              wd/blast/nr
              PATH=$PATH:wd/ncbi-blast-2.2.29+
              PATH=$PATH:wd/blast/nt
              PATH=$PATH:wd/blast/nr
              export PATH
              After that, when I run program,it can not find nt and nr databse.
              It gives these 3 errors as follows:
              sh: blastn: command not found
              blast database error: nt not found in the PATH [wd/blast/nt]
              blast database error: nt not found in the PATH [wd/blast/nr]
              These nt and nr are in the same PATH, why program can not find it?
              I read the blast home page, but can not understand why I get errors?
              Kind help is much appreciated.
              Try setting an environmental variable $BLASTDB to include the directory that holds your blast database files (instead of including that directory in your $PATH).

              Also, if you put those settings in something like your .profile file, then you need to load that file first before your shell will update the environmental variables. The easiest way to do that is by logging out and logging in.

              Comment

              • rhinoceros
                Senior Member
                • Apr 2013
                • 372

                #8
                Originally posted by jp. View Post
                Hi
                Can someone explain me why I get this errors:
                I am using the blast for tophatfusionpost analysis.
                I have downloaded:
                1. ncbi-blast-2.2.29+
                2. nr
                3. nt
                dir structure is :
                wd/ncbi-blast-2.2.29+
                wd/blast/nt
                wd/blast/nr
                PATH=$PATH:wd/ncbi-blast-2.2.29+
                PATH=$PATH:wd/blast/nt
                PATH=$PATH:wd/blast/nr
                export PATH
                After that, when I run program,it can not find nt and nr databse.
                It gives these 3 errors as follows:
                sh: blastn: command not found
                blast database error: nt not found in the PATH [wd/blast/nt]
                blast database error: nt not found in the PATH [wd/blast/nr]
                These nt and nr are in the same PATH, why program can not find it?
                I read the blast home page, but can not understand why I get errors?
                Kind help is much appreciated.
                Read the manual, not the home page. For database paths, you need to create a .ncbirc file to your home where you provide the necessary information.
                savetherhino.org

                Comment

                • jp.
                  Senior Member
                  • Jul 2013
                  • 142

                  #9
                  thank you for kind reply
                  However, I m new in this field. is it possible to get detail steps for the same. I m using human blast.
                  I m trying reading blast mannual too.
                  thank you

                  Comment

                  • rhinoceros
                    Senior Member
                    • Apr 2013
                    • 372

                    #10
                    Originally posted by jp. View Post
                    thank you for kind reply
                    However, I m new in this field. is it possible to get detail steps for the same. I m using human blast.
                    I m trying reading blast mannual too.
                    thank you
                    Here, the #.#.# represents the version number of the current release, CHIP indicates the chipset, and OS indicates the operating system. Equivalent .rpm and .dmg files for Linux and Mac OSX are also available. These archives and their target platforms are listed in the table below.
                    savetherhino.org

                    Comment

                    • mastal
                      Senior Member
                      • Mar 2009
                      • 666

                      #11
                      For blast, the executables are usually in a subdirectory called bin,
                      so what you need to add to your path is

                      PATH=$PATH:wd/ncbi-blast-2.2.29+/bin

                      also set the BLASTDB variable as already mentioned by actghelix.

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                        by SEQadmin2



                        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                        Despite this, “CRISPR helped turn genome editing from a specialized technique into
                        ...
                        07-31-2026, 11:01 AM
                      • SEQadmin2
                        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                        by SEQadmin2


                        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                        The systematic characterization of the human proteome has
                        ...
                        07-20-2026, 11:48 AM
                      • SEQadmin2
                        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by SEQadmin2



                        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                        ...
                        07-09-2026, 11:10 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 07-31-2026, 02:55 AM
                      0 responses
                      18 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-24-2026, 12:17 PM
                      0 responses
                      16 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-23-2026, 11:41 AM
                      0 responses
                      16 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-20-2026, 11:10 AM
                      0 responses
                      26 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...