odelaneau / shapeit4

Segmented HAPlotype Estimation and Imputation Tool
MIT License
90 stars 18 forks source link

how to reduce the RAM when phasing a large cohort (~1200) of whole genome sequencing data with about 10Mb? #70

Open xinkaitong opened 2 years ago

xinkaitong commented 2 years ago

This command consumed about 60G RAM. But it phased only 10Mb area. I still left about 2500Mb area to phase. how can I reduce the RAM when phasing a large cohort (~1200) of whole-genome sequencing data?

${shapeit4} --input chr18.vcf.gz \ --region 18:1-10000000 \ --thread 10 \ --sequencing \ --scaffold chr18_1-10000000-scaffold.vcf.gz \ --use-PS 0.0001 \ --log phased.log \ --output chr18_1-10000000.phased.vcf

odelaneau commented 2 years ago

Multiple advice:

Hope this helps,

Olivier