-
Notifications
You must be signed in to change notification settings - Fork 274
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
[Feature Request] mean_baq #528
Comments
Hi @caleblareau , I will take a look if there is easily accessible functionality in htslib. |
Hey @AndreasHeger thanks for the thought. I did a bit of digging too and here's something that I'd like to do:
However, this doesn't produce the output to the For now, I can make a system call to
(see "Dump BAQ applied alignment for other SNP callers" http://www.htslib.org/doc/samtools.html) Then, I loop over the qualities, but it'd be great of course to do this internally. Let me know if this makes any sense / any further details would help. Obviously, it'd also be awesome to compute this mean quality without spitting out the intermediate |
This functionality is now part of the new pileup-API:
Please let me know if this is sufficient. |
@AndreasHeger you're awesome; this will be super useful. Thanks! |
Any interest / thoughts in a mean_baq function? The idea would be per base pair to, well, compute the average BAQ. It'd be really useful for my workflow at least.
I'd imagine that one could gently modify the
count_coverage
function to implement this quickly.Please let me know if there's a straightforward way that I'm missing to do this with the existing functionality.
Thanks!
The text was updated successfully, but these errors were encountered: