# Call stats aggregator

**URL:** <https://discuss.hail.is/t/call-stats-aggregator/66>\
**Category:** Updates\
**Created:** [October 25, 2016, 9:53pm UTC](https://discuss.hail.is/t/call-stats-aggregator/66 "2016-10-25T21:53:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [October 25, 2016, 9:53pm UTC](https://discuss.hail.is/t/call-stats-aggregator/66/1 "2016-10-25T21:53:28Z")

</div>

It’s now easier than ever to recompute info field annotations like AC and AF! We’ve added an aggregator to compute the following metrics all at once:

AC: Allele count per allele, including reference  
AF: Allele frequency per allele, including reference  
AN: Total number of called alleles  
GC: Genotype count per possible genotype

Sample usage to compute population-specific call stats:

```auto
  annotatevariants expr -c 'va.EUR_stats = gs.filter(g => sa.pop == "EUR").callStats(g => v)'

```

See more here: [https://hail.is/reference.html](https://hail.is/reference.html)
