bcbio / bcbioR

R package with well defined templates for most common pipelines
https://bcbio.github.io/bcbioR/
Other
4 stars 1 forks source link

bcbioR

R-CMD-check

The goal of bcbioR is to create guidelines for NGS data interpretation based on the experience of the Harvard Chan Bioinformatics Core and everybody who contributes to this package.

Installation

You can install the development version of bcbioR from GitHub with:

# install.packages("devtools")
devtools::install_github("bcbio/bcbioR")
devtools::install_github("bcbio/bcbioR",ref = "devel")

Quick start

Set base project

use setwd() to set your current directory to the place where you want to work. The bcbioR functions will automatically write to whatever directory you have set.

setwd("/path/to/analysis/folder")

The following code will pop up a Rmd template will populate that folder with HCBC data structure guidelines

path="/path/to/analysis/folder"
bcbio_templates(type="base", outpath=path)
bcbio_templates(type="rnaseq", outpath=path)
bcbio_templates(type="singlecell", outpath=path)

Set RNAseq report folder

This code will populate the folder with HCBC data structure guidelines and Rmd code: You do not need to create a reports folder prior to running this code. This will create and populate the reports folder.

bcbio_templates(type="rnaseq", outpath="/path/to/analysis/folder/reports")

Supported analyses

Discover more…

Go to the vignette to know more vignette("bcbioR_quick_start", package="bcbioR")

How to Contribute

Open an issue

Modify the code

Some best practices when developing:

Contributors