Can'T Find Indels With Samtools (Onyly Get Snps)
0
0
Entering edit mode
10.7 years ago
Max Ivon ▴ 140

Hello everybody,

Could anybody tell me why when I'm using samtools it doesn't find Heterozygous Indels (homozygous are found correctly as SNPs)?? Here is the command lines used:

bwa index -p ref gla.fasta
bwa mem -t 4 ref reads.fastq > proj.sam
samtools view -bS proj.sam > proj.bam
samtools sort proj.bam sorted_proj
samtools index sorted_proj.bam
samtools mpileup -C50 -L30000 -ugf gla.fasta sorted_proj.bam | bcftools view -bvcg - > proj.raw.bcf
bcftools view proj.raw.bcf > pr.flt.vcf
samtools • 3.2k views
ADD COMMENT
0
Entering edit mode

In how large indels are you interested in? samtools will identify only very small indels, you may consider other tools for larger indels and/or rearrangements.

ADD REPLY
1
Entering edit mode

I'm interested in small indels. I've got an alignment where i can see heterozygous insertion of one G but samtools dont see it.

ADD REPLY
1
Entering edit mode

Are reads confirming that insertion near the reference ends? Do they have sufficient quality score? How many there are?

ADD REPLY
0
Entering edit mode

And I'm back to the problem (got problems with health) :) Mutation occurs approximately in the middle of the amplicon. If i remove all reads with quality lower then 30, then SamTools finds it properly. More interesting, I;ve found that mutation occurs only in reads sequenced from left to right (12,000 out of 13,000 reads got altered nucleotide according to SamTools) when in reads, sequenced from right to left there is no it at all. So may be it is the problem of Sequencing (was performed on Ion Torrent PGM). I found even more such deletion/insertions and all are G or C. So is there mutation in heterozygote or no?????

P.S. I found that in SamTools code is written to work only with the first 8,000 reads or less. And this maximum value can not be changed with input parameters. Strange.

ADD REPLY
0
Entering edit mode

Sounds interesting, can you show us a screenshot of alignments, please?

ADD REPLY
0
Entering edit mode

If the mutation only turns up in one direction, something is wrong. I don't think you can believe that's a real indel.

ADD REPLY

Login before adding your answer.

Traffic: 2512 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