Git Product home page Git Product logo

Comments (5)

weizhouUMICH avatar weizhouUMICH commented on August 23, 2024

Hello,

Could you please share a more detailed log file. e.g. what is the format of the your dosage file?

Thanks,
Wei

from saige.

momo1210 avatar momo1210 commented on August 23, 2024

from saige.

weizhouUMICH avatar weizhouUMICH commented on August 23, 2024

Hi Min-Lee,

Thank you for letting me know about the error. A bug was found in the savvy library for reading vcf and sav dosages and has now been fixed. You may try the new version 0.29.4 on vcf files and please let me know if you have any other question.

Thanks,
Wei

from saige.

momo1210 avatar momo1210 commented on August 23, 2024

Wei, Thanks!
After re-install 0.29.4, I still got the same error message for step2.

library(SAIGE)
SPAGMMATtest(

  • vcfFile= "genotype_10markers.vcf.gz",
  • vcfFileIndex="genotype_10markers.vcf.gz.tbi",
  • vcfField="GT",
  • chrom=1,
  • minMAF=0.0001,
  • minMAC=5,
  • sampleFile="sampleIDindosage.txt",
  • GMMATmodelFile="example.rda",
  • varianceRatioFile="example.varianceRatio.txt",
  • SAIGEOutputFile="example.SAIGE.vcf.dosage.out.txt",
  • numLinesOutput=2,
  • IsOutputAFinCaseCtrl=TRUE,
  • )
    1000 samples have been used to fit the glmm null model
    obj.glmm.null$LOCO: FALSE
    Leave-one-chromosome-out option is not applied
    variance Ratio is 1
    1000 sample IDs are found in sample file
    [1] 1000 4
    [1] "IID" "IndexInModel" "IndexDose.x" "IndexDose.y"
    1000 samples were used in fitting the NULL glmm model and are found in sample file
    minMAC: 5
    minMAF: 1e-04
    Minimum MAF of markers to be testd is 0.0025
    Analysis started at 1537563549 Seconds
    terminate called after throwing an instance of 'std::length_error'
    what(): basic_string::_M_create
    Abort (core dumped)

Could you please check it again?
Thanks!
Min-Lee

from saige.

jinshaw16 avatar jinshaw16 commented on August 23, 2024

Dear Wei and Min-Lee,

I was running into similar problems but think I resolved it by putting the chromosome number in quotation marks e.g. chrom="1" rather than chrom=1.

Hopefully this resolves it for you, too.

Best wishes,

Jamie

from saige.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.