Closed jingydz closed 1 year ago
extdata]$ Rscript step1_fitNULLGLMM.R \
--plinkFile=./input/nfam_100_nindep_0_step1_includeMoreRareVariants_poly_22chr \ --phenoFile=./input/pheno_1000samples.txt_withdosages_withBothTraitTypes.txt \ --phenoCol=y_binary \ --covarColList=x1,x2,a9,a10 \ --qCovarColList=a9,a10 \ --sampleIDColinphenoFile=IID \ --traitType=binary \ --outputPrefix=./output/example_binary \ --nThreads=24 \ --IsOverwriteVarianceRatioFile=TRUE
Loading required package: optparse R version 3.6.1 (2019-07-05) Platform: x86_64-conda_cos6-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)
Matrix products: default BLAS/LAPACK: /xxx/anaconda3/envs/RSAIGE/lib/R/lib/libRblas.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] optparse_1.6.4 SAIGE_0.45.1
loaded via a namespace (and not attached): [1] compiler_3.6.1 Matrix_1.5-4.1 Rcpp_1.0.1 getopt_1.20.3 [5] grid_3.6.1 RcppParallel_4.4.4 lattice_0.20-38 Error in parse_args(parser, positional_arguments = 0) : Error in getopt(spec = spec, opt = args) : long flag "qCovarColList" is invalid Execution halted
extdata]$ less cmd.sh extdata]$ Rscript step1_fitNULLGLMM.R \
--plinkFile=./input/nfam_100_nindep_0_step1_includeMoreRareVariants_poly \ --phenoFile=./input/pheno_1000samples.txt_withdosages_withBothTraitTypes.txt \ --phenoCol=y_binary \ --covarColList=x1,x2 \ --sampleIDColinphenoFile=IID \ --traitType=binary \ --outputPrefix=./output/example_binary_includenonAutoforvarRatio \ --nThreads=4 \ --LOCO=FALSE \ --minMAFforGRM=0.01
Loading required package: optparse R version 3.6.1 (2019-07-05) Platform: x86_64-conda_cos6-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)
Matrix products: default BLAS/LAPACK: /xxx/anaconda3/envs/RSAIGE/lib/R/lib/libRblas.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] optparse_1.6.4 SAIGE_0.45.1
loaded via a namespace (and not attached): [1] compiler_3.6.1 Matrix_1.5-4.1 Rcpp_1.0.1 getopt_1.20.3 [5] grid_3.6.1 RcppParallel_4.4.4 lattice_0.20-38 $plinkFile [1] "./input/nfam_100_nindep_0_step1_includeMoreRareVariants_poly"
$phenoFile [1] "./input/pheno_1000samples.txt_withdosages_withBothTraitTypes.txt"
$phenoCol [1] "y_binary"
$traitType [1] "binary"
$invNormalize [1] FALSE
$covarColList [1] "x1,x2"
$sampleIDColinphenoFile [1] "IID"
$tol [1] 0.02
$maxiter [1] 20
$tolPCG [1] 1e-05
$maxiterPCG [1] 500
$nThreads [1] 4
$SPAcutoff [1] 2
$numRandomMarkerforVarianceRatio [1] 30
$skipModelFitting [1] FALSE
$memoryChunk [1] 2
$tauInit [1] "0,0"
$LOCO [1] FALSE
$traceCVcutoff [1] 0.0025
$ratioCVcutoff [1] 0.001
$outputPrefix [1] "./output/example_binary_includenonAutoforvarRatio"
$IsOverwriteVarianceRatioFile [1] FALSE
$IsSparseKin [1] FALSE
$numRandomMarkerforSparseKin [1] 2000
$isCateVarianceRatio [1] FALSE
$relatednessCutoff [1] 0.125
$cateVarRatioMinMACVecExclude [1] "0.5,1.5,2.5,3.5,4.5,5.5,10.5,20.5"
$cateVarRatioMaxMACVecInclude [1] "1.5,2.5,3.5,4.5,5.5,10.5,20.5"
$isCovariateTransform [1] TRUE
$isDiagofKinSetAsOne [1] FALSE
$useSparseSigmaConditionerforPCG [1] FALSE
$useSparseSigmaforInitTau [1] FALSE
$useSparseGRMtoFitNULL [1] FALSE
$minMAFforGRM [1] 0.01
$minCovariateCount [1] -1
$includeNonautoMarkersforVarRatio [1] FALSE
$FemaleOnly [1] FALSE
$MaleOnly [1] FALSE
$sexCol [1] ""
$FemaleCode [1] "1"
$MaleCode [1] "0"
$noEstFixedEff [1] FALSE
$help [1] FALSE
tauInit is 0 0 cateVarRatioMinMACVecExclude is 0.5 1.5 2.5 3.5 4.5 5.5 10.5 20.5 cateVarRatioMaxMACVecInclude is 1.5 2.5 3.5 4.5 5.5 10.5 20.5 Markers in the Plink file with MAF >= 0.01 will be used to construct GRM 4 threads are set to be used Error in fitNULLGLMM(plinkFile = opt$plinkFile, phenoFile = opt$phenoFile, : WARNING: The variance ratio file ./output/example_binary_includenonAutoforvarRatio.varianceRatio.txt already exists. The new variance ratios will be output to ./output/example_binary_includenonAutoforvarRatio.varianceRatio.txt. In order to avoid overwriting the file, please remove the ./output/example_binary_includenonAutoforvarRatio.varianceRatio.txt or use the argument outputPrefix_varRatio to specify a different prefix to output the variance ratio(s). Otherwise, specify IsOverwriteVarianceRatioFile=TRUE so the file will be overwritten with new variance ratio(s) Execution halted
I have successfully installed the software.
$ R
library(SAIGE)
Command
SAIGE]$ R CMD INSTALL SAIGE
Command
I have tried two installation methods to install SAIGE-GENE+, but the installation failed. Does anyone know why?