Blast results only print to terminal
1
0
Entering edit mode
6.9 years ago
darzenis ▴ 60

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 • 1.6k views
ADD COMMENT
0
Entering edit mode

Thank you! That worked.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode
6.9 years ago
Joe 21k

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

blastx [my command] > output.txt
ADD COMMENT

Login before adding your answer.

Traffic: 1984 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6