-
Notifications
You must be signed in to change notification settings - Fork 593
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
Innocuous housekeeping changes in the partially determined haplotypes code #8361
Conversation
455296e
to
22194e4
Compare
Github actions tests reported job failures from actions build 5250024693
|
22194e4
to
d7448af
Compare
Github actions tests reported job failures from actions build 5250310142
|
d7448af
to
616073a
Compare
655cf65
to
6ae6abf
Compare
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.
Good refactor overall... almost all minor comments with one request for a unit test for a method that should have had one to begin with (hopefully not to onerous for you)
@@ -939,4 +939,9 @@ public AssemblyResultSet generateEmptyLLocalAssemblyResult(final AssemblyRegion | |||
|
|||
return resultSet; | |||
} | |||
|
|||
private static String dotFileName(final Haplotype refHaplotype, final int kmerSize, final String suffix) { |
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.
this can probably know that the suffix is ".dot"... also there is some logic that could go into this for the ordering of the steps (0.4->1.0->1.4 etc...) i suppose its too much to ask that the order of steps be managed by some tool...
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 wrote said tool. Was it overkill?
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Outdated
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Outdated
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Outdated
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Outdated
Show resolved
Hide resolved
.../hellbender/tools/walkers/haplotypecaller/PartiallyDeterminedHaplotypeComputationEngine.java
Outdated
Show resolved
Hide resolved
Okay @jamesemery, ready for the next round of review. |
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.
One very light request that you can check on your own. Otherwise these responses look good to me. 👍
@@ -214,4 +215,42 @@ public void testDeletionUnderlapingDeterminedBases() { | |||
Assert.assertEquals(result.getCigar(), TextCigarCodec.decode("10M")); | |||
Assert.assertEquals(result.getDeterminedPosition(), DEL_AA_105.getStart()); | |||
} | |||
|
|||
@Test | |||
public void testEventsOverlapForPDHapsCode() { |
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 think we are going to appreciate having this unit test in some vague undetermined point in the future
@jamesemery Getting into the
PartiallyDeterminedHaplotypeComputationEngine
now. No change in output here. I don't think there's anything controversial here. The commit history is discrete and pristine.My next DRAGEN PR might be where the fun begins.