# Gnomad allele frequency query

**URL:** <https://discuss.hail.is/t/gnomad-allele-frequency-query/1890>\
**Category:** Hail Query & hailctl\
**Created:** [January 14, 2021, 2:31pm UTC](https://discuss.hail.is/t/gnomad-allele-frequency-query/1890 "2021-01-14T14:31:33Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kvn95ss](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/kvn95ss/32/541_2.png) [@kvn95ss](https://discuss.hail.is/u/kvn95ss)\
**Post date:** [March 3, 2021, 4:55am UTC](https://discuss.hail.is/t/gnomad-allele-frequency-query/1890/9 "2021-03-03T04:55:04Z")

</div>

Hello @nawatts and @tpoterba ,

I tried this command

```auto
 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("gnomad_v211_genome_counts.tsv")

```

and it worked without issue, but the locus and alleles are printed as

```auto
chr1:10067 ["T","TAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCC"]

```

Could I get them in this format?

```auto
chr\tStart\tEnd\tRef\tAlt\tAC\Homozygotes

```

Since I need the end positions, I would rather try to get the output from hail itself, rather than parsing this file myself.

---

_[View the full topic](https://discuss.hail.is/t/gnomad-allele-frequency-query/1890)._
