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 during conditional analysis #129

Open
mohasal12 opened this issue Dec 11, 2023 · 0 comments
Open

Error during conditional analysis #129

mohasal12 opened this issue Dec 11, 2023 · 0 comments

Comments

@mohasal12
Copy link

I am getting the following error

Error: vector::_M_range_check: __n (which is 2538) >= this->size() (which is 2538)
Execution halted

when we reach the chunck number 41, without conditioning the code works fine.

My code

/usr/bin/time -v Rscript ${saigepath}step2_SPAtests.R \
  --vcfFile=${vcfpath}CHR6_PID112437_colon.vcf.gz \
  --vcfFileIndex=${vcfpath}CHR6_PID112437_colon.vcf.gz.csi \
  --vcfField=DS \
  --LOCO=FALSE \
  --chrom=6 \
  --minMAF=0 \
  --minMAC=3 \
  --is_fastTest=TRUE \
  --GMMATmodelFile=${outpath}out_s1_0.125_2000.rda \
  --varianceRatioFile=${outpath}out_s1_0.125_2000.varianceRatio.txt \
  --SAIGEOutputFile=${outpath}out_6:32651477:A:T.txt \
  --is_output_moreDetails=TRUE \
  --sparseGRMFile=${outpath}sparseGRM_relatednessCutoff_0.125_2000_randomMarkersUsed.sparseGRM.mtx \
  --sparseGRMSampleIDFile=${outpath}sparseGRM_relatednessCutoff_0.125_2000_randomMarkersUsed.sparseGRM.mtx.sampleIDs.txt \
  --relatednessCutoff=0.125 \
  --condition=6:32651477:A:T

Could you provide any feedback on this issue.

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