Hi,
I can’t see how to use the genotype probabilities, instead of the hard call, when importing a vcf.
ds = hl.import_vcf('22.vcf.bgz', call_fields=["GP"], skip_invalid_loci=True)
Hail version: 0.2-3b08196a75cb
Error summary: HailException: Can only convert a header line with typeString' to a call type. Found
Float’.
ds.describe()
Global fields:
None
Column fields:
‘s’: str
Row fields:
‘locus’: locus
‘alleles’: array
‘rsid’: str
‘qual’: float64
‘filters’: set
‘info’: struct {
AC: array,
AN: int32,
RefPanelAF: array,
TYPED: bool,
INFO: float64
}
Entry fields:
‘GT’: call
‘ADS’: array
‘DS’: float64
‘GP’: array
Column key: [‘s’]
Row key: [‘locus’, ‘alleles’]
I couldn’t find anything about using genotype probabilities in Hail 0.2, help please.
Stephane