Tools/Bio Tools

Leafcutter

변익수 2020. 8. 18. 12:37
반응형

### R-4.0.2 설치

https://biohpc.tistory.com/507

 

# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

 

# yum install gsl gsl-devel

# yum install v8-devel

 

 

### leafcutter 설치

https://davidaknowles.github.io/leafcutter/articles/Installation.html

 

# export LD_LIBRARY_PATH=/BiO/apps/gcc/4.9.4/lib:/BiO/apps/gcc/4.9.4/lib64:/cm/shared/apps/sge/2011.11p1/lib/linux-x64

# vi ~/.R/Makevars

CXX14FLAGS = -O3 -Wno-unused-variable -Wno-unused-function -fPIC

CXX14 = /BiO/apps/gcc/4.9.4/bin/g++ -std=c++1y

 

# /BiO/apps/R-4.0.2/bin/R

>install.packages("rstan")

 

>if (!require("devtools")) install.packages("devtools", repos='http://cran.us.r-project.org')

>devtools::install_github("stan-dev/rstantools")

>if (!requireNamespace("BiocManager", quietly = TRUE))

install.packages("BiocManager")

>BiocManager::install(version = "3.11")

>BiocManager::install(c("Biobase", "DirichletMultinomial"))

 

>devtools::install_github("davidaknowles/leafcutter/leafcutter")

>library("leafcutter")

 

 

반응형