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

bugfix: ZipperBams should consume any remaining mapped reads #929

Merged
merged 4 commits into from
Aug 18, 2023

Conversation

nh13
Copy link
Member

@nh13 nh13 commented Aug 17, 2023

So that pipes do not cause failure when unread data exists in bash strict mode.

@jacarey

So that pipes do not cause failure when unread data exists in bash
strict mode
@nh13 nh13 requested a review from tfenne August 17, 2023 20:46
@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2023

Codecov Report

Patch coverage: 50.00% and project coverage change: -0.02% ⚠️

Comparison is base (8d40e74) 95.61% compared to head (5d3ff5c) 95.60%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #929      +/-   ##
==========================================
- Coverage   95.61%   95.60%   -0.02%     
==========================================
  Files         126      126              
  Lines        7303     7305       +2     
  Branches      498      517      +19     
==========================================
+ Hits         6983     6984       +1     
- Misses        320      321       +1     
Flag Coverage Δ
unittests 95.60% <50.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...ain/scala/com/fulcrumgenomics/bam/ZipperBams.scala 92.95% <50.00%> (-1.25%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nh13 nh13 marked this pull request as ready for review August 18, 2023 00:05
|order, and reads with the same name are consecutive (grouped) in each input""".stripMargin
)
}

out.close()
Copy link
Member

Choose a reason for hiding this comment

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

It would probably be kind to move out.close() above so that the output BAM is at least somewhat valid/intact?

@nh13 nh13 merged commit bcb5577 into main Aug 18, 2023
4 checks passed
@nh13 nh13 deleted the bugfix/zipper-bam-with-more-mapped branch August 18, 2023 21:58
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.

3 participants