Creating blast database blast+
1
0
Entering edit mode
7.3 years ago
jeevansai502 ▴ 10

I want to create a database consisting of all many nucleotide sequence fasta files in blast+ linux tool ,but the tool only allows me to create database for every fasta file,so i will get multiple databases but not a single one,Is there any way i can achieve task.

blast+ blastdb • 2.7k views
ADD COMMENT
0
Entering edit mode
7.3 years ago
Buffo ★ 2.4k

You may try using concatenate "cat":

cat file1.fasta file2.fasta file3.fasta > my_all_files.fasta

Then you can make your complete DB.

ADD COMMENT
0
Entering edit mode

Make sure each fasta file has unique headers, that there are no duplicates across each file.

ADD REPLY
0
Entering edit mode

Now if i want to add a new file to the database,i won't be able to do so

ADD REPLY
0
Entering edit mode

You can create a new source file and then create a new database from that.

ADD REPLY
0
Entering edit mode

so you are saying that i have to concatenate all files with new one and then make database again,but this method is untidy.I want to create a single database which will allow me to add new files or sequences easily to it .The number of files or sequences is huge.

ADD REPLY
0
Entering edit mode

In that case you could use blastdb_aliastool utility to aggregate individual databases.

 3) Alias file creation (aggregating BLAST databases):
      Creates an alias for multiple BLAST databases. All databases must be of
      the same molecule type (no validation is done). The relevant options are
      -dblist and -num_volumes.

It may still become unwieldy if you intend to do this multiple times. Check blastdb_aliastool -help for more info.

ADD REPLY

Login before adding your answer.

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