Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BioMidge
    Junior Member
    • Jul 2014
    • 4

    #1

    No alias found after makeblastdb

    Hello, I want to blast a fasta file which the output of usearch after sequence merging and filtering.
    I have downloaded all the nucleotide files from NCBI in FASTA format and after inzipping I ended up with a file named just nt. I used the makeblastdb command and got 22(!) .nhr .nin and .nsq files. When I run the blastn command like this, while being in the database directory:
    blastn -db /home/database -query /home/COIS/19-3.fa -out outfile.txt
    I get an error message saying "No alias or index file found for nucleotide database"
    Any ideas on how to fix this?
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    BioMidge - It sounds like you want to run a BLAST search using the "nt" database locally? The best way to do this is with the pre-made NCBI nt database files from ftp://ftp.ncbi.nlm.nih.gov/blast/db/ - and search these forums for more details as this is a common question.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      You need to provide a "basename" for the index in the -db option. In your case your -db option would be -db /home/database/nt

      Comment

      • AntonioRFranco
        Member
        • Feb 2013
        • 22

        #4
        Exactly. You only mentioned the directory where your db are kept. You need to point out the name of that db

        Comment

        • BioMidge
          Junior Member
          • Jul 2014
          • 4

          #5
          Thanks for the replies!
          Maubp: I have downloaded the nt database from that location on NCBI.
          I get the no alias error message again when setting the option as
          -db /home/database/nt too.
          Same error also appears when using the .nsq file as db
          -db ref_lib.db.22.nsq (that's one of the output files after makeblastdb).
          I also tried the blastdb_aliastool:
          blastdb_aliastool -db ref_lib -dbtype nucl -out database -title "nt_database"
          but it is asking for a GI list argument.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            If you are trying to blast against nt locally best thing is to download pre-made blast indexes from NCBI (ftp://ftp.ncbi.nlm.nih.gov/blast/db/). Get all nt* files at the link and make sure they are all in the same directory. Uncompress the files and that is all you need to do before specifying -db /path_to/nt as your database option.

            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, Yesterday, 10:35 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-06-2026, 07:41 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-03-2026, 10:13 AM
            0 responses
            46 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-31-2026, 02:55 AM
            0 responses
            48 views
            0 reactions
            Last Post SEQadmin2  
            Working...