How can I right align InDels ?
0
1
Entering edit mode
7.4 years ago
Chadi Saad ▴ 110

How can I align all indels to the right in Bam file ?

for example

 ACGT**A**AAACGTA  -->  ACGTAAA**A**CGTA
alignment • 2.2k views
ADD COMMENT
1
Entering edit mode

Is there a particular reason that last of the A in the homopolymer is pushed in the middle of the indel and the indels are not clustered together?

I might be naive, wouldn't the moving of the indels remove all the sense from the alignment. I wouldn't change the alignments without looking into the reference, so why not use a mapper that is homopolymer aware or with that particular error profile?

ADD REPLY
0
Entering edit mode

I need it in order to count InDels afters homopolymers (since they are aligned to the left by aligners)

ADD REPLY
0
Entering edit mode

...but should you even trust indels that are called around homopolymers? From my experience, these vanish from the VCF if you raise the MAPQ threshold to 50 or 60.

ADD REPLY

Login before adding your answer.

Traffic: 2017 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6