-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can ASCIIGenome filter reads having indels on a specific genomic region? #100
Comments
Hi Yingzi- Thanks for your interest in ASCIIgenome.
From top of my head, before printing you could filter reads containing the
This should keep reads having a variant at 2699098+1 AND and indel somewhere else, not necessarily at 2699098+1, though. See if this gets you closer to your needs. |
Hi Dario, I tried
The awk
Should the command deal with "-" and "." instead? Thank you very much. Looking forward to your reply. Best, |
To clarify, I need to keep reads having indels at chr11:2699098 and/or chr11:2699099 (not necessarily 2bp indels, can be larger). But I don't want to keep reads only having SNVs but no indels on these two base positions. Sorry if I made it unclear. Looking forward to your reply! |
Hi,
Thank you very much for developing ASCIIGenome.
I was using the following command to extract reads in test.bam containing variants on chr11:2699098-2699099. It gave the output successfully.
Now, I only need reads having indels on chr11:2699098-2699099. And I don't want to have reads only having SNVs on chr11:2699098-2699099. Can ASCIIGenome do this?
Looking forward to your reply.
Many thanks,
Yingzi
The text was updated successfully, but these errors were encountered: