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

Question: removing PCR duplicates #9

Open
fgvieira opened this issue May 9, 2018 · 1 comment
Open

Question: removing PCR duplicates #9

fgvieira opened this issue May 9, 2018 · 1 comment

Comments

@fgvieira
Copy link

fgvieira commented May 9, 2018

Dear all,

should PCR duplicates be removed from the BAM file before running SQUID?
I see a message saying that SQUID is removing PCR duplicates but it is quite fast, what makes me think that it is only removing reads that are already marked as duplicates. Is it so?

If not, should I remove duplicates from the BAM and chimeric BAM files?

thanks,

@Congm12
Copy link
Collaborator

Congm12 commented May 9, 2018

SQUID removes PCR duplicates by comparing the alignment of the read and the mapping position of its mate pair. It takes advantage of the sorted BAM file to speed up the process: since PCR duplicates have the same alignments, SQUID only needs to compare the alignments of nearby SAM records to tell whether it is PCR duplicates.

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