This is a test version of Biostars. For the public version, visit https://www.biostars.org.
what's Validation stringency?

Hi

I am wondering about Validation Stringency option. What are the principles and criteria for this?

And when & in what tools should I use this option?

Thank you in advance

picard

1 answer

in picard/htsjdk ValidationStringency ( https://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/samtools/ValidationStringency.html ) is an enumeration indicating how an error should be handled:

LENIENT

Emit warnings but keep going if possible.

SILENT

Like LENIENT, only don't emit warning messages.

STRICT

Do the right thing, throw an exception if something looks wrong.

concrete usage here: https://github.com/samtools/htsjdk/blob/master/src/main/java/htsjdk/samtools/SAMLineParser.java#L456

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.

Upvote|Bookmark|Accept

Log in to answer this question.