blastn linux command specify database
1
0
Entering edit mode
8.4 years ago

I'm trying to run a local linux blast search and I know the general formatof the command: blastx -query seqs.fasta -db nr -out output.blast.txt. However I don't know the short names for all the databases I want to search e.g. "ena_fun". How can I find these inputs out?

Thanks

blast • 7.3k views
ADD COMMENT
1
Entering edit mode
8.4 years ago

You have two avenues to choose:

  1. You run BLAST locally, but use a remote database using the flag -remote. In that case, you can choose a database from this list

    (link via List of NCBI database names for standalone BLAST remote search )

  2. You run BLAST locally with a local database. In that case, you can use any protein/nucleotide file. You need to format it using

    makeblastdb -dbtype prot/nucl (depends on whether you have proteins or nucleotides) -in your_filename
    

    Then you can use the name of the file you used for makeblastdb as argument for the -db flag in blastx.

ADD COMMENT

Login before adding your answer.

Traffic: 2899 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6