Question: Inferring the zygosity of large indels (transposon variants) from bam paired-end mapping to reference and bed coordinate files
0
gravatar for rimjhim.roy.ch
22 months ago by
European Union
rimjhim.roy.ch70 wrote:

Hi,

I need some suggestions on how to calculate the zygosity of large TE indels in different samples which are mapped to the reference. I am working on a diploid genome for which I have already mapped and inferred the indels. I also have the information about the number of split/discordant reads that support the indel at a given position per sample.

I have a bed file with coordinates of insertion of transposable elements, and another with coordinates of deletion for each sample. With the bam alignment files for each sample I was thinking I can get the properly mapped reads with samtools view -f 2 -F 4 input.bam "chr:start-stop". For deletion variants, I was considering to count it as heterozygous if there is at least one properly mapped read at the position in a sample.

For insertion variants, I was considering to take the average of the properly mapped reads in at least 100 bp flanking region. I was then considering to divide the number of split/discordant reads with this number of properly mapped reads in 100 bp flanking.

Any idea if this would work? Please let me know if you have any suggestions.

Thanks in advance

ADD COMMENTlink modified 22 months ago • written 22 months ago by rimjhim.roy.ch70
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2102 users visited in the last hour