You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a VCF without genotypes or FORMAT column. The ALT field can have multiple alleles. Example:
#CHROM POS ID REF ALT QUAL FILTER INFOtest 1478 . C T,A 3232 PASS DP=36715;AF=0.120142;SB=132;DP4=103,159,2782,1629
Is it possible to apply all ALT alleles but not the REF allele to a consensus with IUPAC? I tried bcftools consensus -f ref.fna --iupac-codes test.vcf.gz but I'm getting an H at this position instead of W. I also tried --haplotype but it did not appear to impact behaviour as missing the sample info.
Thanks!
The text was updated successfully, but these errors were encountered:
Currently not. An easy workaround would be to add the FORMAT/GT column referring to the alternate alleles and run with -H I. I'll mark it as enhancement
I have a VCF without genotypes or FORMAT column. The ALT field can have multiple alleles. Example:
Is it possible to apply all ALT alleles but not the REF allele to a consensus with IUPAC? I tried
bcftools consensus -f ref.fna --iupac-codes test.vcf.gz
but I'm getting anH
at this position instead ofW
. I also tried--haplotype
but it did not appear to impact behaviour as missing the sample info.Thanks!
The text was updated successfully, but these errors were encountered: