Dear all!
I plan to use SciClone to analyze cancer metastasis, but have problems while installation it. I have Ubuntu 16.04 and R version 3.3.3.
I tried to follow instructions from https://github.com/genome/sciclone/blob/master/README.md and the error happens while installation package devtools: "Warning messages: 1: In install.packages("devtools") : installation of package ‘curl’ had non-zero exit status 2: In install.packages("devtools") : installation of package ‘openssl’ had non-zero exit status 3: In install.packages("devtools") : installation of package ‘git2r’ had non-zero exit status 4: In install.packages("devtools") : installation of package ‘httr’ had non-zero exit status 5: In install.packages("devtools") : installation of package ‘devtools’ had non-zero exit status"
When trying to build sciclone manually the problem starts just when installation IRanges and rgl. What I got for IRanges is "Warning message: package ‘IRanges’ is not available (for R version 3.3.3)"
Does anyone have experience in installation SciClone in this R version? Could anyone give any ideas how to deal with these problems?
Guys, thank you very much! Now using your advice I successfully moved to the last step of installation: install_github("genome/sciClone"). Currently it seems that the main problem is with rgl package:
installing source package ‘rgl’ ... package ‘rgl’ successfully unpacked and MD5 sums checked checking for gcc... gcc -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for gcc... (cached) gcc -std=gnu99 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -std=gnu99 accepts -g... (cached) yes checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed checking for libpng-config... yes configure: using libpng-config configure: using libpng dynamic linkage checking for X... no configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package ‘rgl’ removing ‘/usr/local/lib/R/site-library/rgl’ Error: Command failed (1)
Interesting, that I have successfully installed this package by "sudo apt-get install r-cran-rgl" and now I am able to do "library(rgl)" in R, but SciClone installation still wants to install rgl itself...
It's surprising that Ubuntu 16.04 has X11 not installed by default! Anyway, try these commands and it should be fine
Ubuntu might be installing RGL to some obscure location, which SciClone installer is not able to verify.
Santosh, I apologize for late response and thank you very much again for your help! But unfortunately even if i install X11 by the way you said, SciClone still doesn't see. It still has the same error with rgl and X11... So as I understood the possible solution is to try another R version... Older one.
Normally, after the installation of X11, you need a reboot to make a systemwide effect. And if the other version of SciClone also depends upon X11 (check requirements from their site), then you are anyway not going to solve using different R. X11 is the GUIing/Windowing system of your OS (Linux), it doesn't depend on R.