Unable to install SNPhylo in ubuntu
2
0
Entering edit mode
7.2 years ago
sukesh1411 ▴ 30

Hi

I am trying to generate phylogenetic tree for 40 genome rice varieties using SNPhylo program . I could not install SNPhylo program successfully in ubuntu. I could install all the dependent programs except R packages (gdsfmt, SNPRelate). When i try installing these packages manually the packages are saving in temp directory. During SNPhylo installation i need to mention the path where each software is installed. SNPhylo software could not detect the R package which is installed in temp directory. Is it possible for me to select the desired directory for installing the R packages. I tried several options, it might be simple mistake, please help me to install SNPhylo program

phylogenetics • 3.2k views
ADD COMMENT
0
Entering edit mode
7.2 years ago
leeandroid ▴ 130

I don't know if I fully understand what you mean but I believe that the problem is the R installation. Can you run R? If so, when installing SNPhylo you just have to give the full path to the R binary file, usually at /bin directory.

Hope it helps.

ADD COMMENT
0
Entering edit mode

Thanks for your reply. I tried but it could not find necessary R packages when installing SNPhylo. Please check the error. ![[1]: https://imgur.com/a/6oCpO][1]

ADD REPLY
0
Entering edit mode
7.2 years ago
leeandroid ▴ 130

You should install them by opening R and paste (one at a time) the following:

install.packages("getopt", repos="http://cran.r-project.org")

install.packages("phangorn", repos="http://cran.r-project.org")

source("http://bioconductor.org/biocLite.R")

biocLite("gdsfmt")

biocLite("SNPRelate")

ADD COMMENT

Login before adding your answer.

Traffic: 2614 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6