# Annotate variants with hom var samples

**URL:** <https://discuss.hail.is/t/annotate-variants-with-hom-var-samples/3072>\
**Category:** Hail Query & hailctl\
**Created:** [January 19, 2023, 7:52pm UTC](https://discuss.hail.is/t/annotate-variants-with-hom-var-samples/3072 "2023-01-19T19:52:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JennaHedge](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JennaHedge](https://discuss.hail.is/u/JennaHedge)\
**Post date:** [January 19, 2023, 7:52pm UTC](https://discuss.hail.is/t/annotate-variants-with-hom-var-samples/3072/1 "2023-01-19T19:52:29Z")

</div>

I am trying to annotate the rows (variants) of my matrixtable with all the IDs (mt.s) of the samples that are homozygous reference for the variant. I am not too sure how to go about it, may I get some advice please.
