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

TMAP do not get the header right when realigning bam #31

Open
lituan opened this issue Aug 22, 2017 · 1 comment
Open

TMAP do not get the header right when realigning bam #31

lituan opened this issue Aug 22, 2017 · 1 comment

Comments

@lituan
Copy link

lituan commented Aug 22, 2017

I used tmap map4 to realign a aligned bam to another reference fasta, found that tmap will keep original @sq header and just append new reference. But tmap does not consider original @sq header when it assigns the reference id, so when I used samtools to view the new realigned bam, I found many reads's reference are the orignal ones. For example, if original @sq has ['chr1', 'chr2'], and new reference has ['chr3', chr4'], then a read which maps to 'chr3' will be assigned reference id 0 and get 'chr1' as reference.

@Tato14
Copy link

Tato14 commented May 30, 2018

Could you please post an example of TMAP commnad line?
Thanks!

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