Skip to content
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

AutoQC Properly Paired check is not checking properly paired flag #17

Open
mp15 opened this issue Dec 9, 2013 · 5 comments
Open

AutoQC Properly Paired check is not checking properly paired flag #17

mp15 opened this issue Dec 9, 2013 · 5 comments

Comments

@mp15
Copy link
Contributor

mp15 commented Dec 9, 2013

The check at:
https://github.com/VertebrateResequencing/vr-pipe/blob/master/modules/VRPipe/Steps/vrtrack_auto_qc.pm#L250
is wrong. Properly paired is a flag on BAMs and given that bamcheck does not calculate it then this must be incorrect.

@sb10
Copy link
Member

sb10 commented Jan 6, 2014

The value it's actually calculating seems to be percent of all reads mapped that were not duplicates.

Is the fix simply to update the name of the test to make it clear what the value really is?

Should an additional test be added later to give the real properly paired stat once we switch to using 'samtools stats' (and after your samtools request #106 is pulled)?

@sb10
Copy link
Member

sb10 commented Jan 6, 2014

Oh, there is already a 'duplicate reads' stat calculated that is just the inverse of this. So the fix should be to get the correct properly paired value from samtools stats, once 106 is pulled. In the mean time we'll just leave things as they are.

@mp15
Copy link
Contributor Author

mp15 commented Jan 6, 2014

Aye that was what I was thinking. I think Petr is waiting on your input before merging #106 so you might want to have a chat with him.

On 6 Jan 2014, at 11:12, Sendu Bala [email protected] wrote:

Oh, there is already a 'duplicate reads' stat calculated that is just the inverse of this. So the fix should be to get the correct properly paired value from samtools stats, once 106 is pulled. In the mean time we'll just leave things as they are.


Reply to this email directly or view it on GitHub.

@sb10
Copy link
Member

sb10 commented Jun 22, 2015

Was this ever resolved?

@mp15
Copy link
Contributor Author

mp15 commented Jun 22, 2015

The bamcheck parser fix was done in august 2014 by ddc621b however this fix was never incorporated into autoqc:
https://github.com/VertebrateResequencing/vr-pipe/blob/master/modules/VRPipe/Steps/vrtrack_auto_qc.pm#L277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants