Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating sparseGRM using 200k WES #427

Open
ajlee21 opened this issue May 25, 2023 · 0 comments
Open

Error creating sparseGRM using 200k WES #427

ajlee21 opened this issue May 25, 2023 · 0 comments

Comments

@ajlee21
Copy link

ajlee21 commented May 25, 2023

I am trying to run SAIGE on UKB 200k WES data using just 2 chromosomes (chr 21 and chr 22). I am following the steps provided in the tutorial: https://saigegit.github.io/SAIGE-doc/docs/UK_Biobank_WES_analysis.html

docker run -v <local file path>:/test wzhou88/saige:1.1.9 createSparseGRM.R      \
    --plinkFile=../test/ukb_cal_chr21_22_merged_pruned \
    --nThreads=72  \
    --outputPrefix=${test_saige}       \
    --numRandomMarkerforSparseKin=5000      \
    --relatednessCutoff=0.05

I'm getting the following error message:

Error in .sparse2g(x) : negative length vectors are not allowed
Calls: createSparseGRM ... sum -> sum -> callGeneric -> eval -> eval -> .sparse2g
Execution halted

I'm using cloud instance with 140GB of memory and 72 CPUs, which I selected based on the tutorial since they mentioned they used an instance with 35GB of RAM and 72 CPUs to analyze 450K WES data.

I appreciate any insight and help you can provide. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant