why I used bcftools mpilup and call commond, no indel variance were genearte?
0
0
Entering edit mode
6.1 years ago
lemon • 0

I got my sequence data, and I want to call its snp and indel when reference genome exists. The command I used is as follows:

bcftools mpileup -Ou -f /annovar/Gadb/Ga.fa /annovar/Gadb/0613.bam | \
    bcftools call -Ou -mv | \
    bcftools filter -s LowQual -e '%QUAL<20 || DP>100' > 0613.flt.vcf

This is a whole genome, and it should contain indels but the results I got form this commond only contain snps , however, no indels.

Could anyone help me solve this problem?

bcftools assembly sequence SNP • 2.0k views
ADD COMMENT
0
Entering edit mode

Try running it without the LowQual filter?

ADD REPLY
0
Entering edit mode

Hello lemon ,

how have you checked that there are no indels in your vcf?

Visualize your bam file with e.g. igv to find a region where a clear insdel is. Retry the variant calling for only this region.

fin swimmer

ADD REPLY
0
Entering edit mode

thanks , when i try to use IGV, i met the same problem that indel were thought to be many snps as you can see in the following picture. it seems that actually a ''G'' was inserted

1

do u know how to deal with this problem? thank you very much.

ADD REPLY
0
Entering edit mode

Indeed this looks a bit strange. So the problem here isn't bcftools, because it rely on the alignment information. Which program and command have you used for alignment?

ADD REPLY
0
Entering edit mode

I used this command to make alignment. thanks

ADD REPLY
0
Entering edit mode

Hello and thanks for posting it.

I don't know biokanga. I would try bwa mem and see what happens then. If this works, one can go back to biokanga (if you still want/need to use it) and start finding out what's going on there.

fin swimmer

ADD REPLY

Login before adding your answer.

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