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

SAIGE install fails, multiple methods (Centos 6.x) #166

Closed
jbsysadmin opened this issue Mar 23, 2020 · 15 comments
Closed

SAIGE install fails, multiple methods (Centos 6.x) #166

jbsysadmin opened this issue Mar 23, 2020 · 15 comments

Comments

@jbsysadmin
Copy link

Greetings.
The install method below fails with the output shown at bottom. gcc 8.2, R 3.6.3. Any leads?
"devtools::install_github("weizhouUMICH/SAIGE"" did not work either.
Centos 6.10
Method:
git clone --depth 1 -b master https://github.com/weizhouUMICH/SAIGE
R CMD INSTALL SAIGE

Output:

  • installing to library ‘/nfs//R-3.6.3-x86_64/lib64/R/library’
  • installing source package ‘SAIGE’ ...
    ** using staged installation
    Downloading https://github.com/statgen/savvy/archive/5cf549634d535c07f08af4e52de67ecbf960d78e.tar.gz
    [----------------------------------------------------------------------] 0%
    Download failed with error 400 for: //github.com/statgen/savvy/archive/5cf549634d535c07f08af4e52de67ecbf960d78e.tar.gz
    Failed to build package statgen/savvy
    Waf: The wscript in '/usr/local/installs/saige/SAIGE/thirdParty/bgen' is unreadable
@weizhouUMICH
Copy link
Owner

Hi,
The error is probably is probably due to some website down for downloading some dependency for savvy, which happened before. If you try again later, you may not see the error.
But note that as we develop SAIGE/SAIGE-GENE on UBUNTU, installing on Centos usually needs much more manual set up for dependent libraries. Using conda env is the easiest way to install SAIGE/SAIGE-GENE on Centos.
Could you please try that https://github.com/weizhouUMICH/SAIGE (approach 5a or 5b)?
Thanks!
Wei

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 24, 2020 via email

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 25, 2020 via email

@weizhouUMICH
Copy link
Owner

Hi @jonathonl
Have you seen this problem before? Download error while installing savvy was seen by cget but not wget. https://github.com/statgen/savvy

@jonathonl
Copy link
Contributor

I have not seen this error before. It seems a little odd that the error message prints //github.com/... and not https://github.com/. @jbsysadmin, what version of cget do you have (cget --version)? Do you get the same error when you run cget install statgen/savvy@5cf549634d535c07f08af4e52de67ecbf960d78e?

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 25, 2020 via email

@jonathonl
Copy link
Contributor

Hmm... can you run pip install --upgrade --force-reinstall cget and see if it installs with any warnings?

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 25, 2020 via email

@jonathonl
Copy link
Contributor

I just spun up a Centos 6 VM and was able to use cget to install savvy without receiving that error. Do you have pip3 installed? If so, I would try uninstalling cget and then installing with pip3 instead?

Since Centos 6 is pretty old, you may run into other issues as well. You'll need a g++ version >= v5.0 and cmake >= 3.2. The default centos 6 packages do not meet these requirements.

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 25, 2020 via email

@jonathonl
Copy link
Contributor

If your web traffic is being proxied, then that could very well be the problem you could try adding the --insecure flag to cget install in hopes that http behaves better than https (see pfultz2/cget#52).

Alternatively, you could install dependencies manually, but there are multiple layers of dependencies so this approach is quite involved.

Another option would be to build a SAIGE binary package (R CMD INSTALL --build) on a centos 6 machine that has normal access to the internet. And then install that package tarball within your destination environment.

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 25, 2020 via email

@jonathonl
Copy link
Contributor

You could try working with the cget maintainer to get this resolved (pfultz2/cget#52).

Otherwise, these are the dependencies that would need to be manually installed:
zlib
https://github.com/facebook/zstd/archive/v1.3.2.tar.gz
https://github.com/jonathonl/shrinkwrap/archive/v1.0.0-beta.tar.gz
https://github.com/samtools/htslib/releases/download/1.6/htslib-1.6.tar.bz2
https://github.com/statgen/savvy/archive/5cf549634d535c07f08af4e52de67ecbf960d78e.tar.gz

You would then need to modify the configure script in SAIGE to not run cget.

@weizhouUMICH
Copy link
Owner

We have just released a new version 1.0.0. It has computational efficiency improvements for both Step 1 and Step 2 for single-variant and set-based tests. We have created a new program github page https://github.com/saigegit/SAIGE with the documentation provided https://saigegit.github.io/SAIGE-doc/
The program will be maintained by multiple SAIGE developers there. The docker image has been updated. Please feel free to try the version 1.0.0 and report issues if any.

Thanks!
Wei

@jbsysadmin
Copy link
Author

jbsysadmin commented Mar 17, 2022 via email

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

3 participants