Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GSviral
    Member
    • Dec 2014
    • 38

    #1

    Creating a Command Line BLAST+ Database

    Hey guys,

    I am relatively new to linux and command line and have a basic understanding of the basic commands in regards to the terminal.

    What I want to do is set up local BLAST+ databases so I can BLAST hundreds of sequences against the blastx or blastn databases.

    So far I have downloaded the latest databases, extracted them via gunzip, and copied them into my usr/local/bin folder. I believe this allows me to run BLAST applications from anywhere.

    I do not know where to go next. Do I have to format the blastx and blastn databases before I can blast my sequences? If so can any of you please point me in the right direction in how to do this?

    Any help is appreciated, thank you very much!

    Ryan.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    As long as you downloaded the pre-formatted databases from (ftp://ftp.ncbi.nlm.nih.gov/blast/db/) you can use them directly with blast+. You have also got the executables for your OS: ftp://ftp.ncbi.nlm.nih.gov/blast/exe...last+/LATEST/?

    Follow the command line manual for blast to start your analysis: http://www.ncbi.nlm.nih.gov/books/NBK1763/

    Keep realistic expectations if you are going to do the blast locally, specially if you have modest hardware (post specs if you need any specific comments on that). It will take time to blastx several hundred sequences against nr.

    Comment

    • GSviral
      Member
      • Dec 2014
      • 38

      #3
      Hello GenoMax,

      Thanks for the help. To begin I have downloaded the pre-formatted nt database.

      Once I unzip all the files associated with the nt database do I place them in the same directory as I have placed the BLAST+ executables? Once this is done I assume I will be able to run a search using one of my fasta files against the nt database.

      Thank you,

      Ryan.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Originally posted by GSviral View Post
        Hello GenoMax,

        Thanks for the help. To begin I have downloaded the pre-formatted nt database.

        Once I unzip all the files associated with the nt database do I place them in the same directory as I have placed the BLAST+ executables? Once this is done I assume I will be able to run a search using one of my fasta files against the nt database.

        Thank you,

        Ryan.
        You can put the database files where ever convenient. When you start your blast you will specify DB location by using the -db command line option and providing the path to the files. All the pieces for a set (numerically named files) need to be in the same directory and you only need to use the base name i.e. nr (do not include the numbers)

        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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-13-2026, 12:22 PM
        0 responses
        25 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-11-2026, 10:35 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        51 views
        0 reactions
        Last Post SEQadmin2  
        Working...