Information

Is it possible to add a new sequence to a blast database without recreating it from scratch?

Is it possible to add a new sequence to a blast database without recreating it from scratch?


We are searching data for your request:

Forums and discussions:
Manuals and reference books:
Data from registers:
Wait the end of the search in all databases.
Upon completion, a link will appear to access the found materials.

I have a new sequence and I want to add it to a pre-constructed BLAST database containing other sequences. The makeblastdb help does not give any hint on this regard.


You can useblastdbcmdto extract FASTA sequences from the BLAST database. Then you can append your extra sequence to the newly created FASTA file, and remake the BLAST DB usingmakeblastdb. Assuming you have a protein BLAST database in the current working directory, and a sequence you want to add to it innew.fa:

$ blastdbcmd -db proteindb -dbtype prot -out db.fa -entry all $ cat new.fa >> db.fa $ makeblastdb -in db.fa -out newproteindb -dbtype prot

(Replaceprotwithnuclif you have a nucleotide database)


You may create a new database with the new sequences and create an alias linking the old and new databases withblastdb_aliastool


Watch the video: ΚΛΗΡΩΣΗ + Διάλεξε Μια ΚάρταPick A Card Θα Συναντηθούμε? Πότε Και Πως? ΓΡΗΓΟΡΟ ΔΙΑΒΑΣΜΑ (May 2022).