# List of Trait Categories in PheWAS

**URL:** https://community.opentargets.org/t/list-of-trait-categories-in-phewas/1031
**Category:** Data Access
**Tags:** genetics-portal
**Created:** [31 March 2023 23:26 UTC](https://community.opentargets.org/t/list-of-trait-categories-in-phewas/1031 "2023-03-31T23:26:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lucia\_Zhang](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/lucia_zhang/32/402_2.png) [@Lucia\_Zhang](https://community.opentargets.org/u/Lucia_Zhang)
#### Post date: [31 March 2023 23:26 UTC](https://community.opentargets.org/t/list-of-trait-categories-in-phewas/1031/1 "2023-03-31T23:26:25Z")

</div>

I’m doing an analysis with several hundred lists, each of 500 SNPs. I want to compare how many of those SNPs are associated with each trait category – is there a way I can get a full list of all the trait categories? Each individual SNP only gives the trait categories for that specific SNP.

---

<div class="post-metadata">

### Author: ![irene](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/irene/32/50_2.png) [@irene](https://community.opentargets.org/u/irene)
#### Post date: [3 May 2023 16:14 UTC](https://community.opentargets.org/t/list-of-trait-categories-in-phewas/1031/2 "2023-05-03T16:14:01Z")

</div>

Hello @Lucia_Zhang and welcome to our community!

Sorry for the late reply. Did you manage to sort it? If I understand correctly, you want to have a full list of all the possible therapeutical categories to annotate your lists.  
This information can be found in our variant to disease dataset, that you can download from here: [Index of /pub/databases/opentargets/genetics/latest/v2d](http://ftp.ebi.ac.uk/pub/databases/opentargets/genetics/latest/v2d/)

Here you have a table of variant to trait relationships. From the `trait_category` field, you can extract all the unique elements to obtain what you’re looking for.

Best,  
Irene
