# Applying externally generated polygenic risk scores to a VDS

**URL:** <https://discuss.hail.is/t/applying-externally-generated-polygenic-risk-scores-to-a-vds/783>\
**Category:** Hail Query & hailctl\
**Created:** [November 24, 2018, 2:32pm UTC](https://discuss.hail.is/t/applying-externally-generated-polygenic-risk-scores-to-a-vds/783 "2018-11-24T14:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesp](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@jamesp](https://discuss.hail.is/u/jamesp)\
**Post date:** [November 24, 2018, 2:32pm UTC](https://discuss.hail.is/t/applying-externally-generated-polygenic-risk-scores-to-a-vds/783/1 "2018-11-24T14:32:47Z")

</div>

I have a VDS with genetic information in a population, and a set of variant-level scores that I’d like to apply into the people in my VDS. I don’t need any clumping, etc, because that is (in effect) already handled by my external scoring tool (LDPred in this case). I just need to project the scores onto the individuals based on their genotype. Is that type of operation handled in Hail?

Also, this might be something that is handled in the docs – apologies if so – but the docs are currently down!

[https://hail.is/hail/sql.html](https://hail.is/hail/sql.html)  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/hail/original/1X/175e5525af008b43000bd507d150c4ee84a7a093.png)

---

<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:** [November 24, 2018, 4:14pm UTC](https://discuss.hail.is/t/applying-externally-generated-polygenic-risk-scores-to-a-vds/783/2 "2018-11-24T16:14:04Z")

</div>

Ah, that link is from an old build of the docs. When we moved our system over, some old links broke.

The docs are found at [https://www.hail.is/docs/0.2/](https://www.hail.is/docs/0.2/)

Here’s a bit about PRS:  
[https://hail.is/docs/0.2/guides/genetics.html#polygenic-risk-score-calculation](https://hail.is/docs/0.2/guides/genetics.html#polygenic-risk-score-calculation)
