bcbio / bcbio-nextgen

Validated, scalable, community developed variant calling, RNA-seq and small RNA analysis
https://bcbio-nextgen.readthedocs.io
MIT License
986 stars 353 forks source link

CRAN + bioconductor dependencies list / install script #1706

Closed stephenturner closed 7 years ago

stephenturner commented 7 years ago

Small feature request: might be nice to output a list of required CRAN/bioconductor packages needed to compile the Rmd reports written out by the smallrna-seq pipeline. Better yet, a script to run the appropriate installation command, whether that's install.packages for CRAN, biocLite for bioc, or devtools::install_github(). Just grepping for library in some of the Rmd scripts shows:

library(CHBUtils)
library(DESeq2)
library(DT)
library(RColorBrewer)
library(devtools)
library(dplyr)
library(edgeR)
library(genefilter)
library(ggplot2)
library(gridExtra)
library(gtools)
library(isomiRs)
library(knitr)
library(pheatmap)
library(reshape)
library(reshape2)
library(rmarkdown)
library(scales)
library(tidyr)
library(vsn)

I'm sure there are others elsewhere when an Rmd script is written to be optionally compiled by the user.

roryk commented 7 years ago

Hi Stephen,

Thanks-- there is a script here:

https://github.com/roryk/bcbio.rnaseq/blob/master/resources/scripts/install_libraries.R

The bcbio.rnaseq that gets installed via bioconda is a little out of date. I had trouble getting all the dependencies to build in bioconda a while ago, but I will revisit it now that bioconda got more stable.

lpantano commented 7 years ago

Hi @stephenturner

I am closing this, please feel free to open an issue if you find again the problem.

thanks!