Skip to content

feat: add a a read name filtering writer to the API#1037

Draft
nh13 wants to merge 3 commits into
mainfrom
nh13/readnamefilteringwriter
Draft

feat: add a a read name filtering writer to the API#1037
nh13 wants to merge 3 commits into
mainfrom
nh13/readnamefilteringwriter

Conversation

@nh13

@nh13 nh13 commented Feb 28, 2025

Copy link
Copy Markdown
Member

Builds a [[Writer]] of [[SamRecord]]s where all records for a given read name (e.g. pair, including any secondary and supplementary) are output to the writer. This is implemented via collecting the unique read names from records passed into write(), then upon closing, all records in the original BAM are examined and any records with a matching read name are written the provided writer.

@nh13 nh13 temporarily deployed to github-actions February 28, 2025 18:42 — with GitHub Actions Inactive
Builds a [[Writer]] of [[SamRecord]]s where all records for a given read name (e.g. pair, including any
secondary and supplementary) are output to the writer.  This is implemented via collecting the unique read
names from records passed into `write()`, then upon closing, all records in the original BAM are examined and any
records with a matching read name are written the provided writer.
@codecov

codecov Bot commented Feb 28, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 64.86486% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.52%. Comparing base (30f0bc7) to head (bb681c8).
⚠️ Report is 150 commits behind head on main.

Files with missing lines Patch % Lines
src/main/scala/com/fulcrumgenomics/bam/Bams.scala 0.00% 13 Missing ⚠️

❌ Your patch check has failed because the patch coverage (64.86%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1037      +/-   ##
==========================================
- Coverage   95.68%   95.52%   -0.16%     
==========================================
  Files         126      127       +1     
  Lines        7410     7447      +37     
  Branches      500      519      +19     
==========================================
+ Hits         7090     7114      +24     
- Misses        320      333      +13     
Flag Coverage Δ
unittests 95.47% <64.86%> (-0.16%) ⬇️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nh13 nh13 temporarily deployed to github-actions March 2, 2025 04:16 — with GitHub Actions Inactive
@nh13 nh13 temporarily deployed to github-actions March 2, 2025 04:17 — with GitHub Actions Inactive
@nh13 nh13 self-assigned this Jun 3, 2025
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.

1 participant