Entering edit mode
7.0 years ago
samtools command
samtools mpileup -u -f /usr/lib/cgi-bin/GenomaticMYELOID/ReferenceGenome/hg19/hg19.fa /home/anopperl6/Exomesoft/bam/sample_sort.bam | bcftools call -vmO z -o - > outputstudy.vcf.gz
Platypus command
python Platypus.py callVariants --bamFiles=/home/anopperl6/Exomesoft/bam/sample_sort.bam --output=/home/anopperl6/Exomesoft/bam/sample_sort.vcf --refFile=/usr/lib/cgi-bin/GenomaticMYELOID/ReferenceGenome/hg19/hg19.fa --logFileName=log_platypus --nCPU=4 --minFlank=0 --filterDuplicates=0 --maxVariants=20
I don't think this is a software error. This is exactly as expected. It would be a miracle if two variant calling tools presumably using a different algorithm produce exactly the same result.
platypus can call this variant :
but samtools can't
why ?
the variant in platypus is already 'bad' anyway because platypus set the FILTER : alleleBias
thanks Pierre Lindenbaum and WouterDeCoster,
so what you mean by bad variant ? could you explain ?
GATK also call this variant.
chr11 32417945 0 T C 11998.81 LowVariantFreq BaseQRankSum=7.009;DP=4998;DS;Dels=0.00;FS=0.000;HRun=1;HaplotypeScore=309.8281;MQ=50;MQ0=0;MQRankSum=0.371;QD=2.40;ReadPosRankSum=-1.931;SB=-0.01 GT:AD:DP:GQ:PL:MQ:GQX:VF 0/1:4317,669:4998:99:11999,0,159236:50:99:0.134
the variant was FILTERED (==use with caution) with alleleBias (7th column). I don't know the platypus fields but it should be declared in the VCF header...
Same for your second example: its a FILTERED with LowVariantFreq
Thank you so much Pierre Lindenbaum
thanks Pierre Lindenbaum,
i have one problem regarding above discussion , i have been finding somatic variant(AML) with single bam file. but alleleBias or LowVariantFreq variant can be present in finding somatic variant in vcf file.
so how to find somatic variant with single bam file by samtools ?
thanks in advance
Next generation sequencing data is full of error and variant callers, thus, rarely agree.
If you want to try to call this variant with SAMtools/BCFtools, try
-c / --consensus-caller
and-m, --multiallelic-caller
separately with yourBCFtools call
command.You can also try modifying