odelaneau / shapeit4

Segmented HAPlotype Estimation and Imputation Tool
MIT License
89 stars 17 forks source link

easy way to estimate required memory #63

Open Shicheng-Guo opened 2 years ago

Shicheng-Guo commented 2 years ago

Hi Olivier,

Is there easy way to estimate required memory for shapeit4 in the usage?

Thanks

Shicheng

odelaneau commented 2 years ago

Hi,

Sorry, this is real hard to estimate memory usage before trying to run it as it depends on multiple factors: #samples and #variants obviously, but also heterozygosity, minor allele frequencies and missing data rate. The best way to go I guess is to run a small region as you can linearly extrapolate from there for the full dataset.

Best,

Olivier.