Closed complexgenome closed 3 years ago
Further updates:
I exited conda environment, again logged in. As I got error for cget I ran following commands
conda install -n root -c conda-forge cget
conda install -c conda-forge zlib
conda activate Condainhouse_R-4.0
R
.libPaths()
.libPaths(c("/home/ss5505/libraries_R/CONDAR_inhouse4.0",.libPaths()))
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) ## https://github.com/r-lib/remotes/issues/434#issuecomment-721450164
devtools::install_github("weizhouUMICH/SAIGE")
These also didn't work as errors persist.
I found issue: https://github.com/weizhouUMICH/SAIGE/issues/272 Followed steps and it worked fine:
conda config --add channels bioconda
conda config --add channels conda-forge
conda create -n saige -c bioconda r-saige=0.44.5
conda activate saige
step1_fitNULLGLMM.R --help
step2_SPAtests.R --help
createSparseGRM.R --help
All works fine now.
conda config --add channels bioconda conda config --add channels conda-forge
conda create -n saige -c bioconda r-saige=0.44.5 conda activate saige
SAIGE]$ conda create -n saige -c bioconda r-saige=0.44.5 Collecting package metadata (current_repodata.json): failed
Traceback (most recent call last):
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 704, in fetch_repodata_remote_request
resp.raise_for_status()
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/current_repodata.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Parastor300s_G30S/zhangjj/software/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1114, in __call__
return func(*args, **kwargs)
...
$ /Parastor300s_G30S/zhangjj/software/miniconda3/bin/conda create -n saige -c bioconda r-saige=0.44.5
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers?
Upload successful.
Hello @weizhouUMICH
I am interested to use SAIGE-gene.
I try to install saige using two methods:
conda
anddevtools
. With both approaches I get errors related to installation of SKAT.Step 1
MetaSKAT has been archived from CRAN https://cran.r-project.org/web/packages/MetaSKAT/index.html
Step two: I already had R conda environment v4.0
Please see below log for installation error:
I was able to install MetaSKAT by bypassing errors with
Sys.setenv
However, I cannot still install Saige on R4.0
Best,