# Difference in variant and variant\_gene files

**URL:** <https://community.opentargets.org/t/difference-in-variant-and-variant-gene-files/1090>\
**Category:** General\
**Tags:** genetics-portal\
**Created:** [22 May 2023 15:05 UTC](https://community.opentargets.org/t/difference-in-variant-and-variant-gene-files/1090 "2023-05-22T15:05:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitris\_Zisis](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/dimitris_zisis/32/399_2.png) [@Dimitris\_Zisis](https://community.opentargets.org/u/Dimitris_Zisis)\
**Post date:** [22 May 2023 15:05 UTC](https://community.opentargets.org/t/difference-in-variant-and-variant-gene-files/1090/1 "2023-05-22T15:05:54Z")

</div>

I was wondering how to explain the main difference between **variants** and **v2g** files?  
In variants there are geneIDs retrieved and most\_severe\_consequence to explain what are those genes and gene distance.  
How those genes are related to the variants ? Is it just the nearest protein coding genes based on distance or there is another reason of associating each variant to each gene in variant file ? I understand that this is completely different from the v2g file in which there are genes retrieved after the application of v2g pipeline.

---

<div class="post-metadata">

**Author:** ![Xiangyu](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@Xiangyu](https://community.opentargets.org/u/Xiangyu)\
**Post date:** [24 May 2023 16:01 UTC](https://community.opentargets.org/t/difference-in-variant-and-variant-gene-files/1090/2 "2023-05-24T16:01:02Z")

</div>

Hi Dimitris,

The geneIDs and most\_severe\_consequence from the variants table are derived from the Variant Effect Predictor ([VEP](https://www.ensembl.org/info/docs/tools/vep/index.html)), most of the time, the geneIDs directly overlaps the SNPs, and the effects are in-silico predictions of the consequences of the SNPs, these predictions are based entirely on the DNA sequence alone and does not taken into account any additional functional data (which is what v2g does).

Best wishes,  
Xiangyu

---

<div class="post-metadata">

**Author:** ![Dimitris\_Zisis](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/dimitris_zisis/32/399_2.png) [@Dimitris\_Zisis](https://community.opentargets.org/u/Dimitris_Zisis)\
**Post date:** [25 May 2023 09:10 UTC](https://community.opentargets.org/t/difference-in-variant-and-variant-gene-files/1090/3 "2023-05-25T09:10:35Z")

</div>

Thank you very much for the clarification
