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

Reads with mapq=0 not mapped to the same location as their mates #405

Open
pinbo opened this issue Nov 3, 2023 · 0 comments
Open

Reads with mapq=0 not mapped to the same location as their mates #405

pinbo opened this issue Nov 3, 2023 · 0 comments

Comments

@pinbo
Copy link

pinbo commented Nov 3, 2023

Hi Developers, I am working on wheat, which is allohexaploid with 3 highly similar subgenomes (A, B, D). Genes across the 3 genomes share about 97% similarity, so for paired end reads, sometimes one read could be equally mapped to all 3 subgenomes (say chromosome 1A and 1B and 1D, mapq=0), but its mate is uniquely mapped to one subgenome (say 1A) due to 1 to a few SNPs. I think for this situation, bwa mem should put the read on the same chromosome (1A) as its mate, but actually bwa mem seems to randomly select a primary location without considering its mate's location. I checked minimap2 and bowtie2, and they all put the reads on the same chromosome for this situation (one read has mapq0 and its mate has mapq>0). Could you fix this?

Thanks,

Junli Zhang

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

1 participant