-
Notifications
You must be signed in to change notification settings - Fork 603
Correct irrelevant inheritance in Mutect2 #5758
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
@@ -133,7 +103,7 @@ public ReadThreadingAssembler createReadThreadingAssembler() { | |||
|
|||
@Advanced | |||
@Argument(fullName = SMITH_WATERMAN_LONG_NAME, doc = "Which Smith-Waterman implementation to use, generally FASTEST_AVAILABLE is the right choice", optional = true) | |||
public SmithWatermanAligner.Implementation smithWatermanImplementation = SmithWatermanAligner.Implementation.JAVA; | |||
public SmithWatermanAligner.Implementation smithWatermanImplementation = SmithWatermanAligner.Implementation.FASTEST_AVAILABLE; |
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 Did you intend for this PR to make substantive changes to default values for arguments? You present it as a pure refactoring branch, but it looks like there are changes like this embedded in it. We deliberately have not yet turned the native SmithWaterman on by default due to our current inability to continuously test 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.
@droazen That's an accident -- I was just curious about its effect on the M2 integration test runtime and forgot to revert. I intend everything to be refactoring. This does include simplifying the assembly argument collections, which is not strictly necessary for the purposes of this PR. I could strip out things like that if you would prefer.
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.
Ah ok, thanks for the clarification! Can you do a pass to check that additional changes like this didn't slip in (ie., changes to argument defaults)?
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.
Absolutely!
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.
. . . That was the only one, fortunately.
Codecov Report
@@ Coverage Diff @@
## master #5758 +/- ##
===============================================
+ Coverage 86.983% 86.998% +0.015%
Complexity 31863 31863
===============================================
Files 1943 1942 -1
Lines 146775 146750 -25
Branches 16225 16215 -10
===============================================
Hits 127669 127669
+ Misses 13192 13168 -24
+ Partials 5914 5913 -1
|
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.
Given our offline conversation/walkthrough, this seems reasonable.
You may want to write a note about the convention of specifying alleles to get GGA mode in docs.
In the docs for the Mutect2 command.
After that, feel free to merge.
8272b65
to
90afb3e
Compare
Closes #5352. This removes unused command line arguments from Mutect2.
@LeeTL1220 This PR looks big but it's really just a lot of moving around
static
methods and givingHaplotypeCallerArgumentCollection
aStandardCallerCollection
as a member instead of havingAssemblyBasedCallerCollection
inherit from it.