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

Yf coverage unifier #891

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

Conversation

yfarjoun
Copy link
Contributor

@yfarjoun yfarjoun commented Dec 11, 2022

A CLP to downsample a bam to a specific coverage level.

  • keeps "templates" together, and processes the templates in a deterministically random order
  • counts no more than coverage 1 per template
  • ignores duplicates, pf-fail, secondary and unmapped reads
  • allows for a minimal mapping quality threshold for counting toward coverage
  • allows for a region of interest to be provided

Also included is a new class "LocusTrack" which allows for a Seq[A] to be colocalized with a locus, including taking sub-loci etc.

Currently in "personal", but if this is taken in, I'm happy to move it wherever makes most sense.

Normalize Coverage.
needs basic and unit testing...
-cleaned up signature of functions
-made the target specify the exact region of interest
- removed requirement that reads are all on the same template
- now looking at actual reads, not span of the two cannonical
- added some tests
- made slices work...
- need CLP test and we should be good to go....
- still need to test the CLP directly.
@yfarjoun yfarjoun marked this pull request as ready for review January 2, 2023 17:32
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