Entering edit mode
7.3 years ago
arash.iranzadeh1980
▴
30
Hi,
I have 1500 bacterial clean and sorted alignment bam file and I want to call variant and produce a multisample vcf file including 1500 samples. I am going to use GATK and bcftools and then compare results. Bacteria are haploid. In the following commands, -ploidy must be set to 1 or 1500?
bcftools call -m -v --ploidy 1 -O z -o variant.vcf.gz mpileup.bcf
java -jar $GATK -T UnifiedGenotyper -R reference.fa -I bam.list -glm BOTH -stand_call_conf 30 -ploidy 1 -o call.vcf
why you are not using HaplotypeCaller?
3.3, we recommend using HaplotypeCaller in all cases, with no exceptions.
If you use the HaplotypeCaller, you should use --ploidy 1. I assume that for bcftools the logic should be similar