Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jmartin
    Member
    • Dec 2009
    • 78

    ncbi blastn database error

    I have an assembly that I want to screen against genbank's NT database. I'm using ncbi blastn v2.6.0+ and I first downloaded the pre-indexed NT from:

    ftp.ncbi.nlm.nih.gov/blast/db/nt*.tar.gz

    which I extracted and then ran this blastn command:

    blastn -db <path>/nt -query <my assembly contigs> -reward 1 -penalty -1 -gapopen 1 -gapextend 2 -word_size 9 -db_soft_mask dust -out <output file> -outfmt 6

    and I got an error message saying:

    BLAST Database error: Cannot find string algorithm id in algorithm map.


    So my first thought was that maybe the pre-packaged version of NT was indexed using a different version of ncbi blast. So then I took the NT fasta file itself and ran:

    makeblastdb -in nt -input_type fasta -dbtype nucl -out nt

    to index it using the exact version I would be using for the blastn. Then I ran the same blastn command again (pointing to my manually indexed db), and I got the same error message again:

    BLAST Database error: Cannot find string algorithm id in algorithm map.


    I don't use blast much these days, but in the past I was a heavy user and have never seen this issue before. Can anyone suggest what I'm doing wrong?


    Thanks,
    John Martin
  • r.rosati
    Member
    • Aug 2015
    • 95

    #2
    I'm not experienced, but since nobody replied yet: if in `makeblastdb` you chose to name the database "nt", then in `blastn` have you tried using this name, i.e. `-db nt` instead of the complete path? From looking at the code (inexperiencedly) this would seem to be the error:
    Last edited by r.rosati; 11-29-2017, 04:58 AM.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      @John: I have not seen this error before either. Your original commands should have been fine.

      I suggest that you email blast helpdesk with this error. It would be great if you can post their solution in this thread, once you hear back from them.

      Comment

      Latest Articles

      Collapse

      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      54 views
      0 reactions
      Last Post SEQadmin2  
      Working...