This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How do I suppress warnings on command line blast?

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

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

Have you tried redirecting stderr to /dev/null?

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

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

0 answers

No answers yet.

Log in to answer this question.