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!
• 2,062 views
•
link
1 answer
Either use the -out flag or simply issue a STDOUT redirection at the end of your command:
blastx [my command] > output.txt
• 0 views
•
link
Log in to answer this question.
Thank you! That worked.
You should use
-out real_outputfile_nameas the proper option for blast suite of programs in your command line.