Overall V2G score calculation?

Using rs4975758 as an example, the web interface gives the V2G score for the gene IRX4 as 0.199496222.

When I get the same data from variant_gene table, I do not see this value.

Documentation provides the code, so it looks like it is calculated on-the-fly.

Question, is it possible to recalculate that Overall V2G score using data available on GBQ?

Using the weights from docs:

source_weights = {
    'vep': 1,
    'javierre2016': 0.33,
    'andersson2014': 0.33,
    'thurman2012': 0.33,
    'canonical_tss': 0.33,
    'gtex_v7': 0.66,
    'sun2018': 0.66
}

sum qtl_score_q and multiply with weight 0.66:
(0.7 + 0.4 + 0.4 + 0.1) * 0.66 = 1.056

distance_score multiply with weight 0.33:
0.000261506276150627 * 0.33 = 0.00008629707

weighted mean:
(1.056 + 0.00008629707) / (0.66 + 0.66 + 0.66 + 0.66 + 0.33) = 0.3555846118

But the number on the website is 0.199496221662468, what am I missing?

Can anyone please clarify?

Hi,

Sorry for the slow reply, your question is on the radar of our backend team. We’ll let get back to you as soon as our capacity allows to address your question.

Best,
Daniel

1 Like