# Querying gnomad using hail table by gene symbol

**URL:** <https://discuss.hail.is/t/querying-gnomad-using-hail-table-by-gene-symbol/1452>\
**Category:** Hail Query & hailctl\
**Created:** [June 10, 2020, 1:44pm UTC](https://discuss.hail.is/t/querying-gnomad-using-hail-table-by-gene-symbol/1452 "2020-06-10T13:44:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 11, 2020, 8:17pm UTC](https://discuss.hail.is/t/querying-gnomad-using-hail-table-by-gene-symbol/1452/4 "2020-06-11T20:17:21Z")

</div>

ah, it’s a doubly-nested array! I think you can do:

```python
ht_pc.filter(hl.len(genes_as_hail_literal.intersection(hl.set(ht_gene_symbol))) > 0)

```

---

_[View the full topic](https://discuss.hail.is/t/querying-gnomad-using-hail-table-by-gene-symbol/1452)._
