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

feat: FastqToBam can extract UMI(s) from the comment in the read name #989

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nh13
Copy link
Member

@nh13 nh13 commented May 20, 2024

No description provided.

@nh13 nh13 temporarily deployed to github-actions May 20, 2024 16:53 — with GitHub Actions Inactive
@nh13 nh13 requested review from tfenne and msto May 20, 2024 16:53
@nh13 nh13 temporarily deployed to github-actions May 20, 2024 16:55 — with GitHub Actions Inactive
@nh13 nh13 temporarily deployed to github-actions May 20, 2024 16:55 — with GitHub Actions Inactive
@nh13 nh13 temporarily deployed to github-actions May 20, 2024 16:56 — with GitHub Actions Inactive
@nh13 nh13 temporarily deployed to github-actions May 20, 2024 16:56 — with GitHub Actions Inactive
Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.63%. Comparing base (ba0788e) to head (9856fe1).
Report is 12 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #989   +/-   ##
=======================================
  Coverage   95.62%   95.63%           
=======================================
  Files         126      126           
  Lines        7364     7380   +16     
  Branches      500      498    -2     
=======================================
+ Hits         7042     7058   +16     
  Misses        322      322           
Flag Coverage Δ
unittests 95.63% <100.00%> (+<0.01%) ⬆️

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.

Comment on lines +412 to +413
recs(0).apply[String]("RX") shouldBe "ACGT-CGTA-GG-CC"
recs(1).apply[String]("RX") shouldBe "TTGA-TAAT-TA-AA"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are these suffixed with -GG-CC and -TA-AA?

Copy link
Member Author

Choose a reason for hiding this comment

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

As per the method docs, the UMIs may be extracted from the read names, the read sequences, or both. In this case, the read structure shows UMI bases in the read sequences themselves, as well as the comment in the read name header, so we get four (!) UMI segments, two from the read sequences, and two from the comment in the read header.

@nh13 nh13 requested a review from msto May 20, 2024 22:12
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.

2 participants