# Annotating variants in a matrix table with 1000genomes database

**URL:** <https://discuss.hail.is/t/annotating-variants-in-a-matrix-table-with-1000genomes-database/3346>\
**Category:** Hail Query & hailctl\
**Created:** [April 20, 2023, 2:06am UTC](https://discuss.hail.is/t/annotating-variants-in-a-matrix-table-with-1000genomes-database/3346 "2023-04-20T02:06:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shengwei66](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/shengwei66/32/897_2.png) [@shengwei66](https://discuss.hail.is/u/shengwei66)\
**Post date:** [April 20, 2023, 2:06am UTC](https://discuss.hail.is/t/annotating-variants-in-a-matrix-table-with-1000genomes-database/3346/1 "2023-04-20T02:06:07Z")

</div>

Hello team,

I am trying to annotate variants in a matrix table with 1000genomes database. I would like to get the population allele frequency from 1000genomes for the matching variants in my matrix table. I was able to do this for gnomAD using the following code:

db = hl.experimental.DB(region=‘us’, cloud=‘aws’)  
ann\_mt = db.annotate\_rows\_db(mt, ‘gnomad\_genome\_sites’)

Is there a database for 1000genomes that I can plug in the above db.annotate\_rows\_db() function? Or should I use the hl.experimental.load\_dataset() if there is built-in 1000genomes dataset available?

Thanks very much for your help!
