I would like samtools mpileup to generate genotype likelihoods or what is described in the VCF FORMAT as GL. I can get PL which is fine (I know how to convert it to probabilities), but vcftools requires GL to generate the likelihood input files for Beagle.
Which option in samtools/bcftools generates the GL info per animal and genotype? Apologies if this should be obvious...
Cheers,
Hans
Here is the command I am using now:
samtools-0.1.18
samtools mpileup -r Chr29:46186560-48558888 -P ILLUMINA -guf all_UMD3.fa $files | bcftools view -bcvg - > var.test.bcf
bcftools view var.test.bcf > var.test.vcf
Which option in samtools/bcftools generates the GL info per animal and genotype? Apologies if this should be obvious...
Cheers,
Hans
Here is the command I am using now:
samtools-0.1.18
samtools mpileup -r Chr29:46186560-48558888 -P ILLUMINA -guf all_UMD3.fa $files | bcftools view -bcvg - > var.test.bcf
bcftools view var.test.bcf > var.test.vcf
Comment