How do I suppress warnings on command line blast?
0
0
Entering edit mode
21 months ago
Tom ▴ 20

The latest documentation on blast covers nothing about warnings yet old blast version of blast has a "-warning" option that enables you to suppress warnings. It's super infuriating that this isn't possible. I need it to not have warnings. How do?

blast command line • 858 views
ADD COMMENT
0
Entering edit mode

Have you tried calling blast from python using subprocess.check_output?

Another option might be using blast from biopython package and following the response to Supress/silence warnings from BioPython

ADD REPLY
0
Entering edit mode

Have you tried redirecting stderr to /dev/null?

blastn [...] 2>/dev/null

Why do want to get rid of warnings at all costs?

ADD REPLY

Login before adding your answer.

Traffic: 2246 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