Sorry, my earlier example incorrectly included the locus
and alleles
key fields in the select. It should have been:
ht.select(
gnomad_ac=ht.freq[0].AC,
gnomad_af=ht.freq[0].AF,
gnomad_an=ht.freq[0].AN,
gnomad_homozygote_count=ht.freq[0].homozygote_count,
).export("/path/to/export.tsv")