Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add validation stringency to bam parsing, flagstat #976

Merged
merged 1 commit into from
Mar 24, 2016

Conversation

ryan-williams
Copy link
Member

fixes #973

@@ -41,6 +41,8 @@ class FlagStatArgs extends Args4jBase with ParquetArgs {
val inputPath: String = null
@Argument(required = false, metaVar = "OUTPUT", usage = "Optionally write the stats to this file.", index = 1)
val outputPath: String = null
@Args4jOption(required = false, name = "-stringency", usage = "Set the parsing stringency: SILENT, LENIENT, STRICT.")
val stringency: String = "SILENT"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the default if SAMHeaderReader.VALIDATION_STRINGENCY_PROPERTY is not set?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STRICT. flagstat is a simple enough operation that i thought SILENT was more often than not what a user would want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I agree with you on flagstat defaulting to SILENT, and I see the default in loadBam is STRICT. +1

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1112/
Test PASSed.

@heuermh heuermh merged commit 9246472 into master Mar 24, 2016
@heuermh
Copy link
Member

heuermh commented Mar 24, 2016

Thanks @ryan-williams!

@fnothaft fnothaft deleted the flagstat-stringency branch November 15, 2016 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add stringency parameter to flagstat
3 participants