-
Notifications
You must be signed in to change notification settings - Fork 603
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
Samtools: Stats: fix "Percent Mapped" plot when samtools was run with read filtering #1972
Conversation
forgot an underspace...
samtools stats
Thanks for this @lindenb! It looks like this metric has been completely missed until now..
Cheers, Phil |
no, as far as I understand , the error is only raised when using :
the reads are then filtered = ignored from the other counts. If no user uses those flags, the filtered count will always be 0 = no bug
🤷 sorry, I'm away from my lab, I don't know if the current MQC table displays the number of filtered reads. |
@lindenb - thanks a lot for the contribution, it looks good to me, but would you be able to submit a test example that reproduces the bug into MultiQC_TestData? Thank you! |
samtools stats
samtools-stats
: fix "Percent Mapped" plot when samtools was run with read filtering
samtools-stats
: fix "Percent Mapped" plot when samtools was run with read filteringsamtools-stats
: fix "Percent Mapped" plot when tools was run with read filtering
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asking for a test example, otherwise good to me
@vladsavelyev thanks for the review & done : MultiQC/test-data#267 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
samtools-stats
: fix "Percent Mapped" plot when tools was run with read filtering
Thanks @lindenb! |
This PR fixes a problem with
samtools stats
#1971I'm not a python dev, so I hope it's ok !
CHANGELOG.md
has been updated