Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!!!

  • #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


    • #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


      • #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


        • #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


          • #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


            • #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


              • #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


                • #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


                  • #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


                    • #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

                      • seqadmin
                        Current Approaches to Protein Sequencing
                        by seqadmin


                        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                        04-04-2024, 04:25 PM
                      • seqadmin
                        Strategies for Sequencing Challenging Samples
                        by seqadmin


                        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                        03-22-2024, 06:39 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, 04-11-2024, 12:08 PM
                      0 responses
                      18 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-10-2024, 10:19 PM
                      0 responses
                      22 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-10-2024, 09:21 AM
                      0 responses
                      17 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 04-04-2024, 09:00 AM
                      0 responses
                      49 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X