feat: a default base quality may be provided in consensus callers whe…#1032
Draft
nh13 wants to merge 1 commit into
Draft
feat: a default base quality may be provided in consensus callers whe…#1032nh13 wants to merge 1 commit into
nh13 wants to merge 1 commit into
Conversation
…n base qualities are missing
nh13
commented
Feb 20, 2025
| val maxReadsPerStrand: Option[Int] = None, | ||
| @arg(doc="The number of threads to use while consensus calling.") val threads: Int = 1, | ||
| @arg(doc="Consensus call overlapping bases in mapped paired end reads") val consensusCallOverlappingBases: Boolean = true, | ||
| @arg(doc = "The phred-scaled base quality to use when base qualities are missing in the input") val missingBaseQuality: Option[PhredScore] = None, |
Member
Author
There was a problem hiding this comment.
Suggested change
| @arg(doc = "The phred-scaled base quality to use when base qualities are missing in the input") val missingBaseQuality: Option[PhredScore] = None, | |
| @arg(doc="The phred-scaled base quality to use when base qualities are missing in the input") val missingBaseQuality: Option[PhredScore] = None, |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1032 +/- ##
=======================================
Coverage 95.68% 95.68%
=======================================
Files 126 126
Lines 7410 7415 +5
Branches 500 524 +24
=======================================
+ Hits 7090 7095 +5
Misses 320 320
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…n base qualities are missing.
Fixes: #1031
This has the following improvements:
ArrayIndexOutOfBoundsExceptionwith on mention of which read.--missing-base-qualityis not given, then the exception occurs (no change in current behavior)--missing-base-qualityis given, then it is used (gracefully)My only question is if we should have a non-None value by default. See #1031 for a discussion on why that might be a bad idea.