-
Notifications
You must be signed in to change notification settings - Fork 14
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
accessing qpos() ? #60
Comments
First off, that is a fantastic name for a tool! Passing an alignment into ReadFilter would make more sense, and be more flexible as a trait API anyways, and I think gets you what you want. If the record creation is not zero cost, both the Alignment and Record could be passed into the ReadFilter. At that point the name of ReadFilter should arguably be something a bit different since it's actually filtering out positions... and counting the "fails" feels a bit weird? Long way around to saying - yes, fixing how ReadFilter works seems like the path of least resistance, I'm not sure I can think of another way to do it. totally open to PRs on this. I've been deep in the land of ddPCR recently and haven't had as much time for NGS related activities :( Talking about this touches on two other open issues, one of which you've already found:
Some day I'll circle back on those two! |
Thanks, I'll have a look again. Might just copy a lot of code for simplicity into pbr. |
Hi Seth, I'm experimenting with using perbase here
I'd like to be able to filter out bases that are within $x from either end of the read.
It seems that's not possible without re-implementing
PileupPosition.update
, is that true?It would be nice for this use-case if ReadFilter accepted an Alignment rather than a Record since we can always get a record from an alignment and with an Alignment, I could check .qpos() .
Do you see another way to do this given what's exposed? Thanks in advance.
The text was updated successfully, but these errors were encountered: