Hello, I need to run blastn on Bacteria to see if my sample really is nesseirai men, and didn't have been contaminated. I downloaded reference seq from ncbi for each bacteria. In a data folder, got many subfolders, each one contains a fasta file (.file), representing a genome.
subfolders
genome file
How can I build a db with this data? I tried the cmd makeblastdb
for each genome but it doesn't seem to me the good way.
Thank you
Thank you GenoMax !
After running
makeblastdb
have got this:after the cmd
in each folder (~3500 folders).
Do you advise me to use the alias? Or it's better to create a big multi-fasta and create the db based on it?
If all of your databases have that identical name then you will need to rename/recreate them. At that point you may as well
cat
the.fna
and re do the blastdb. If you used a script to make the 3500 db you could modify it so the output files gain unique names. You will have to tell us if the aliastool works for 3500 databases.Thank you for the answers guys. I went with the
cat .fna
solution and it fit well to what I have to do. Again, thank you!Please accept this answer (green check mark) to provide closure for this thread.