This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Blastn query file with multiple sequences?

Hi, I am pretty new to using the blastn command on the command line, and I wanted a little help figuring things out. So I made my own blast database using the makeblastdb command, and now am using the blastn command. I have a fasta file with 3 different sequences in it. When I use the blastn command with this fasta file, does it blast all 3 sequences? I only want to blast one of the sequences in the fasta file, so what do I write in my command to specify which sequence in the file to use? Thanks!

sequence blast blastn fasta

1 answer

You can make a new file containing only that sequence and then BLAST against that db file.

Is there another way to do this without making a new file?

Log in to answer this question.