differences between "-title database_title" and "-out database_name" for "makeblastdb" of Blast
2
0
Entering edit mode
7.2 years ago
qwzhang0601 ▴ 80

Hello:

I found these two parameters for "makeblastdb" ("-title database_title" and "-out database_name"). I wonder what is the difference between them?

Thanks

Blast makeblastdb • 3.0k views
ADD COMMENT
3
Entering edit mode
7.2 years ago
Joe 21k

If I remember rightly, -out is the basename of the actual output files, e.g. mydatabase.phr, mydatabase.pin... and the several other files made. They share the same base name but not the same extension.

-title is the title of the database internally if you inspect the files I believe, I've not found it to be very necessary so if I use it, I usually make it the same as the -out. Perhaps some others know if there is a functional use for it that I've never found.

ADD COMMENT
1
Entering edit mode

Thank you for your explanation!

ADD REPLY
2
Entering edit mode
7.2 years ago
h.mon 35k

The comment answer by jrj.healey is a perfect answer, so I will just illustrate here:

makeblastdb -dbtype nucl -in seq.fas -title "This is only an example" -out db_a
blastdbcmd -info -db db_a

Database: This is only an example 1 sequences; 2,515 total bases

Date: Aug 30, 2017 12:03 PM Longest sequence: 2,515 bases

Volumes: /user/work/270024/db_a

makeblastdb -dbtype nucl -in seq.fas -out db_b
blastdbcmd -info -db db_b

Database: seq.fas 1 sequences; 2,515 total bases

Date: Aug 30, 2017 12:03 PM Longest sequence: 2,515 bases

Volumes: /user/work/270024/db_b

ADD COMMENT

Login before adding your answer.

Traffic: 2685 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