Skip to content
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

Fixed MarkDuplicatesSpark so it handles supplementaryReadsWithUnmappedMates properly #4785

Merged
merged 1 commit into from May 18, 2018

Conversation

jamesemery
Copy link
Collaborator

@jamesemery jamesemery commented May 18, 2018

Before it was resulting in a key collision.

Copy link
Member

@lbergelson lbergelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typos, but one was there already and I don't want to wait for a repush due to a test file name which we are totally inconsistent with anyway. Looks good 👍

out.add(new Tuple2<>(pass.key(), pass));
return out.iterator();

// Mark duplicates cant properly handle templates with more than two reads in a pair
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, missing ' in cant

File output = createTempFile("supplementaryReadUnmappedMate", "bam");
final ArgumentsBuilder args = new ArgumentsBuilder();
args.addOutput(output);
args.addInput(getTestFile("supplementaryReadUnmappedmate.bam"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird case in the file name, but \shrug

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

@codecov-io
Copy link

Codecov Report

Merging #4785 into master will increase coverage by 0.078%.
The diff coverage is 90%.

@@              Coverage Diff               @@
##              master    #4785       +/-   ##
==============================================
+ Coverage     80.113%   80.19%   +0.078%     
- Complexity     17426    17564      +138     
==============================================
  Files           1082     1082               
  Lines          63131    63525      +394     
  Branches       10178    10272       +94     
==============================================
+ Hits           50576    50941      +365     
- Misses          8567     8582       +15     
- Partials        3988     4002       +14
Impacted Files Coverage Δ Complexity Δ
...forms/markduplicates/MarkDuplicatesSparkUtils.java 92.254% <90%> (+2.983%) 83 <3> (+14) ⬆️
...utils/smithwaterman/SmithWatermanIntelAligner.java 50% <0%> (-30%) 1% <0%> (-2%)
...ead/markduplicates/sparkrecords/EmptyFragment.java 86.207% <0%> (-2.682%) 16% <0%> (+7%)
...r/utils/read/markduplicates/sparkrecords/Pair.java 96.124% <0%> (-0.543%) 33% <0%> (+4%)
...ils/read/markduplicates/sparkrecords/Fragment.java 100% <0%> (ø) 20% <0%> (+9%) ⬆️
...itute/hellbender/engine/spark/GATKRegistrator.java 100% <0%> (ø) 5% <0%> (+2%) ⬆️
...walkers/haplotypecaller/HaplotypeCallerEngine.java 79.62% <0%> (+0.653%) 83% <0%> (+16%) ⬆️
...ellbender/utils/test/CommandLineProgramTester.java 91.667% <0%> (+0.758%) 11% <0%> (+2%) ⬆️
...org/broadinstitute/hellbender/engine/GATKTool.java 92.33% <0%> (+0.902%) 164% <0%> (+71%) ⬆️
...tools/walkers/haplotypecaller/HaplotypeCaller.java 95.918% <0%> (+2.37%) 26% <0%> (+10%) ⬆️
... and 2 more

@jamesemery jamesemery merged commit fa6e9be into master May 18, 2018
@davidbenjamin davidbenjamin deleted the je_FixMDSupplementaryUnappedReads branch February 24, 2021 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants