-
Notifications
You must be signed in to change notification settings - Fork 603
kebab case some arguments in LocusWalker and Spark walkers #5770
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
Conversation
Thanks @davidbenjamin! Couple more in AssemblyRegionReadShardArgumentCollection? |
Codecov Report
@@ Coverage Diff @@
## master #5770 +/- ##
===============================================
+ Coverage 86.982% 86.984% +0.003%
- Complexity 31861 31863 +2
===============================================
Files 1943 1943
Lines 146770 146768 -2
Branches 16223 16223
===============================================
+ Hits 127663 127665 +2
+ Misses 13194 13189 -5
- Partials 5913 5914 +1
|
@samuelklee They're in this PR (that's the #5478 part). |
Oops, duh, so they are---didn't realize it from the title alone and misread the diff between this and another one of my branches! |
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.
@davidbenjamin One comment. Good to merge when that is addressed! Thanks for doing this!
@@ -39,7 +39,7 @@ | |||
*/ | |||
public abstract class LocusWalker extends GATKTool { | |||
|
|||
@Argument(fullName = "maxDepthPerSample", shortName = "maxDepthPerSample", doc = "Maximum number of reads to retain per sample per locus. Reads above this threshold will be downsampled. Set to 0 to disable.", optional = true) | |||
@Argument(fullName = "max-depth-per-sample", shortName = "max-depth-per-sample", doc = "Maximum number of reads to retain per sample per locus. Reads above this threshold will be downsampled. Set to 0 to disable.", optional = true) |
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.
There are two error messages that refer to the old maxDepthPerSample
one in LocusWalker.getDownsamplingInfo() and the other in LocusWalkerSpark. Could you extract a constant from this and have all three locations use it?
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.
done
Also @lbergelson please disregard that second review request! Man am I looking foolish on this branch. |
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.
Looks good, thank you!
Closes #5479. Closes #5478.
@lbergelson here you go.