This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Blast results only print to terminal

I am trying to run blastx using the command below, but the output is not a separate file – the results only print to my terminal, rather than to a file. Any advice?

blastx -query filename -task blastx-fast -db nr -evalue 1e-5 -outfmt 5

Notes: I have the blast_nr database downloaded and this command is executed in that directory. I tried the default outfmt and the same thing happened.

Thanks!

rna-seq blast

You should use -out real_outputfile_name as the proper option for blast suite of programs in your command line.

1 answer

Either use the -out flag or simply issue a STDOUT redirection at the end of your command:

blastx [my command] > output.txt

Log in to answer this question.