Closed MarieLataretu closed 2 years ago
Test results:
no FORMAT/GT , no --sample |
FORMAT/GT , no --sample |
FORMAT/GT , --sample |
|
---|---|---|---|
-I |
IUPAC REF + all ALT |
IUPAC REF + all ALT |
IPUAC GT *) |
-H I |
REF |
na | IPUAC GT *) |
*) of respective sample
-> -I
/-H I
makes no difference, if there is also --sample {name}
I'd rather switch to -H I
though, because it's more explicit for what we want
Current parameter:
bcftools consensus [...] --sample {name} -I
VCF withFORMAT/GT
and exactly one sampleDifferences
-I
/-H I
:-I
applies REF+ALT regardless of the genotype-H I
usesFORMAT/GT
(https://github.com/samtools/bcftools/issues/1708#issuecomment-1114804855, https://github.com/samtools/bcftools/issues/1400#issuecomment-777286784)
Should we use
--sample {name} -H I
instead of--sample {name} -I
, becauseFORMAT/GT
is not considered?Related issues: https://github.com/samtools/bcftools/issues/1516 https://github.com/samtools/bcftools/issues/1400 https://github.com/samtools/bcftools/issues/1708
Manual: http://samtools.github.io/bcftools/bcftools.html#consensus