-
Notifications
You must be signed in to change notification settings - Fork 10
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
Generate MI tags [feature request] #10
Comments
Any thoughts on this feature request? My motivation is that |
Hi Shaun, apologies a bit slow here. I think this is reasonable, and I started on this a few weeks back but got called away by other things. If I understand correctly, this would basically run along the BAM and label Is that the design you were thinking of? |
No apologies needed. Thanks for your response, Jeremiah. Yep, that's what I'm thinking. It should work on a BAM file sorted by target position. It can keep a priority queue of all the barcodes that are current (seen within the last X bp) and dump them as they expire, and dump them when transitioning to a new reference sequence. The default value for X for Lariat is 50 kbp. I think it's perhaps too large, but it's a reasonable default to match behaviour. The default tag should be Write now I'm converting BAM to TSV and doing this in R. Here's the code: |
This feature is now implemented in the utility |
I've aligned reads to a de novo assembly using BWA-MEM rather than Long Ranger align. The BWA alignments have the
BX
tag but noMI
tag. Would you consider implementing a module to group together nearby reads into molecules and addingMI:i
tags? No worries at all if you consider this feature outside the scope ofbxtools
.lariat
(akalongranger align
) groups together reads that are within 50 kbp of each other. That's a reasonable default value, but I'd find it very helpful for this to be a configurable parameter. I'd like to set it to something more conservative like perhaps 5 kbp.The text was updated successfully, but these errors were encountered: