-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Change default validation stringency to SILENT and make common option… #793
Conversation
…s more easily accessible at runtime.
class FgBioCommonArgs | ||
( @arg(doc="Use asynchronous I/O where possible, e.g. for SAM and BAM files.") val asyncIo: Boolean = false, | ||
@arg(doc="Default GZIP compression level, BAM compression level.") val compression: Int = 5, | ||
@arg(doc="Directory to use for temporary files.") val tmpDir: DirPath = Paths.get(System.getProperty("java.io.tmpdir")), | ||
@arg(doc="Minimum severity log-level to emit.") val logLevel: LogLevel = LogLevel.Info, | ||
@arg(doc="Validation stringency for SAM/BAM reading.") val samValidationStringency: Option[ValidationStringency] = None | ||
@arg(doc="Validation stringency for SAM/BAM reading.") val samValidationStringency: ValidationStringency = ValidationStringency.STRICT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm tired of paying an extra 50% for HTSJDK to run decoding and validation when it's not needed. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. So do we want silent instead of strict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoopsie, silly autocomplete. Yes we do.
Codecov Report
@@ Coverage Diff @@
## master #793 +/- ##
==========================================
- Coverage 95.47% 95.45% -0.02%
==========================================
Files 121 121
Lines 6866 6870 +4
Branches 452 464 +12
==========================================
+ Hits 6555 6558 +3
- Misses 311 312 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
class FgBioCommonArgs | ||
( @arg(doc="Use asynchronous I/O where possible, e.g. for SAM and BAM files.") val asyncIo: Boolean = false, | ||
@arg(doc="Default GZIP compression level, BAM compression level.") val compression: Int = 5, | ||
@arg(doc="Directory to use for temporary files.") val tmpDir: DirPath = Paths.get(System.getProperty("java.io.tmpdir")), | ||
@arg(doc="Minimum severity log-level to emit.") val logLevel: LogLevel = LogLevel.Info, | ||
@arg(doc="Validation stringency for SAM/BAM reading.") val samValidationStringency: Option[ValidationStringency] = None | ||
@arg(doc="Validation stringency for SAM/BAM reading.") val samValidationStringency: ValidationStringency = ValidationStringency.STRICT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. So do we want silent instead of strict?
…s more easily accessible at runtime.