<p><em>Answer from @llrs, converted from comment:</em></p>
<p>I found <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3695771/" rel="nofollow noreferrer">an article</a> where they said that they could do GWAS in 6000 samples in 6 hours in a regular user computer. But I couldn't find any other explanation about how does it take with other kind of data. It wasn't with plink too and I think it was a bit outdated.</p>
<p><em>Answer from @christopher-chang, converted from comment:</em></p>
<p>Incidentally, you may want to use plink 2.0 rather than 1.9 for this. It automatically makes good use of all your cores; in contrast, you’d need to start ~24 copies of plink 1.9 to saturate a 24-core machine.</p>

CC BY-SA 4.0
2021-07-04T04:52:32.073Z
2021-07-04T04:52:32.073Z
gringer
<p>One of my dissertation papers is going to involve a GWAS. I have never actually run a GWAS before, and do not know how to estimate the computing resources I need for it. I asked someone on my committee who said "it's all guesswork" but I don't even know how to come up with a reasonable guess!</p>

<p>I need to put some estimate of how much cluster time I will need (XX cores for YY hours) in order to do a dissertation grant. I've tried Googling and searching literature for how to do an estimate of this, but I'm not finding much.</p>

<p>Details:</p>

<ul>
<li>GWAS, total n=350,000, 10-15% cases</li>
<li>Already imputed by the time I get it, will have about 96 million variants</li>
<li>Will be using Plink</li>
<li>Cluster nodes have 24 cores, and jobs can use up to 4 gigs of RAM per core. If Plink can handle being spread across nodes, I can use up to 100 cores at once.</li>
<li>Time is billed in core-hours, using 20 cores for one hour is equal to using one core for 20 hours</li>
<li>We may want to do a few smaller GWAS where we restrict by age (eg. one of all cases and controls under 25, and one of all cases and controls who are 65+)</li>
<li>Need to come up with an estimate of cluster time needed for each GWAS that we might run (XX cores for YY hours)</li>
</ul>

<p>Can you please advise me on how to estimate something like this?</p>

CC BY-SA 3.0
2018-04-05T22:57:02.133Z
Is it possible for you to do a trial run on ~1/1000 to 1/10000 of your dataset?  Runtime should just scale linearly in the # of variants.
Christopher Chang
<gwas>
Estimating computing resources needed for a GWAS?
# Estimating computing resources needed for a GWAS?

(Asked by: username_0 on 2018-04-03)

One of my dissertation papers is going to involve a GWAS. I have never actually run a GWAS before, and do not know how to estimate the computing resources I need for it. I asked someone on my committee who said "it's all guesswork" but I don't even know how to come up with a reasonable guess!

I need to put some estimate of how much cluster time I will need (XX cores for YY hours) in order to do a dissertation grant. I've tried Googling and searching literature for how to do an estimate of this, but I'm not finding much.

Details:

* GWAS, total n=350,000, 10-15% cases
* Already imputed by the time I get it, will have about 96 million variants
* Will be using Plink
* Cluster nodes have 24 cores, and jobs can use up to 4 gigs of RAM per core. If Plink can handle being spread across nodes, I can use up to 100 cores at once.
* Time is billed in core-hours, using 20 cores for one hour is equal to using one core for 20 hours
* We may want to do a few smaller GWAS where we restrict by age (eg. one of all cases and controls under 25, and one of all cases and controls who are 65+)
* Need to come up with an estimate of cluster time needed for each GWAS that we might run (XX cores for YY hours)

Can you please advise me on how to estimate something like this?

**Tags:** gwas
> **Comments:**
> **username_1**: Is it possible for you to do a trial run on ~1/1000 to 1/10000 of your dataset?  Runtime should just scale linearly in the # of variants.  

---

## 1 answers

### Answer by username_2 on 2021-07-04. Score: 0

*Answer from @llrs, converted from comment:*

I found [an article](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3695771/) where they said that they could do GWAS in 6000 samples in 6 hours in a regular user computer. But I couldn't find any other explanation about how does it take with other kind of data. It wasn't with plink too and I think it was a bit outdated.

*Answer from @christopher-chang, converted from comment:*

Incidentally, you may want to use plink 2.0 rather than 1.9 for this. It automatically makes good use of all your cores; in contrast, you’d need to start ~24 copies of plink 1.9 to saturate a 24-core machine.


---

