Question: Can't install TopmedPipeline Package
0
gravatar for winstondunnmd
3 months ago by
winstondunnmd0 wrote:

I am a student of SISG Module 17. We learned about the TopmedPipeline functions during the module. This is an extremely useful package but I have only been able to run this through the DataStage and not my own computer. I am simply not able to install TopmedPipeline.

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/winst/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘topmedpipeline’ is not available (for R version 3.6.0)

topmedpipeline • 137 views
ADD COMMENTlink modified 3 months ago by shepherl ♦♦ 1.7k • written 3 months ago by winstondunnmd0
Answer: Can't install TopmedPipeline Package
0
gravatar for shepherl
3 months ago by
shepherl ♦♦ 1.7k
United States
shepherl ♦♦ 1.7k wrote:

This support site is for Bioconductor maintained packages. TopmedPipeline is not a Bioconductor maintained package and you might have better luck on StackOverflow or Biostars.

For What Its worth. It does not look like TopmedPipeline is an official CRAN or Bioconductor package. Without it being an official CRAN package it will not install directly from install.packages. The reference I found to TopmedPipeline is a Github repository. If this is what you are looking for, you can install this package through BiocManager or devtools

install.packages("BiocManager")
BiocManager::install("UW-GAC/analysis_pipeline/TopmedPipeline/")

or

install.packages("devtools")
install_github("UW-GAC/analysis_pipeline/TopmedPipeline/")
ADD COMMENTlink written 3 months ago by shepherl ♦♦ 1.7k

Thank you for you help Shepherl,

With BiocManager I got this error message: Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 (2019-04-26) Installing github package(s) 'remotes UW-GAC/analysis_pipeline/TopmedPipeline/' Error: Failed to install 'unknown package' from GitHub: attempt to set an attribute on NULL

With devtools I got his error message: Error in installgithub("UW-GAC/analysispipeline/TopmedPipeline/") : could not find function "install_github"

ADD REPLYlink written 3 months ago by winstondunnmd0

try devtools::install_github("UW-GAC/analysispipeline/TopmedPipeline/")

ADD REPLYlink written 3 months ago by shepherl ♦♦ 1.7k

Thank you again Shepherl,

Got a short run with this error message:

Installing package into ‘C:/Users/winst/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'TopmedPipeline' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called 'jomo'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'TopmedPipeline'
* removing 'C:/Users/winst/Documents/R/win-library/3.6/TopmedPipeline'
Error: Failed to install 'TopmedPipeline' from GitHub:
  (converted from warning) installation of package ‘C:/Users/winst/AppData/Local/Temp/RtmpGEHmlD/file505815da1f3d/TopmedPipeline_2.5.0.tar.gz’ had non-zero exit status
ADD REPLYlink written 3 months ago by winstondunnmd0
install.packages("jomo")
# if that is successful than try again:
devtools::install_github("UW-GAC/analysispipeline/TopmedPipeline/")
ADD REPLYlink written 3 months ago by shepherl ♦♦ 1.7k

Thank you Shepherl, it worked.

In summary, the installation code for TopmedPipeline is: install.packages("devtools") install.packages("jomo") devtools::installgithub("UW-GAC/analysispipeline/TopmedPipeline/")

ADD REPLYlink written 3 months ago by winstondunnmd0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 203 users visited in the last hour