Note: the most recent version of this vignette can be found here and a short overview slide show here.

1 Introduction

systemPipeRdata is a helper package to generate with a single command NGS workflow templates that are intended to be used by its parent package systemPipeR(Girke 2014). The latter is an environment for building end-to-end analysis pipelines with automated report generation for next generation sequence (NGS) applications such as RNA-Seq, Ribo-Seq, ChIP-Seq, VAR-Seq and many others. The directory structure of the workflow templates and the sample data used by systemPipeRdata are described here.

2.2 Loading package and documentation

2.3 Generate workflow template

Load one of the available NGS workflows into your current working directory. The following does this for the varseq template. The name of the resulting workflow directory can be specified under the mydirname argument. The default NULL uses the name of the chosen workflow. An error is issued if a directory of the same name and path exists already.

genWorkenvir(workflow="varseq", mydirname=NULL)
setwd("varseq")

On Linux and OS X systems the same can be achieved from the command-line of a terminal with the following commands.

2.4 Run workflows

Next, run from within R the chosen sample workflow by executing the code provided in the corresponding *.Rnw template file. If preferred the corresponding *.Rmd or *.R versions can be used instead. Alternatively, one can run an entire workflow from start to finish with a single command by executing from the command-line 'make -B' within the workflow directory (here 'varseq'). Much more detailed information on running and customizing systemPipeR workflows is available in its overview vignette here. This vignette can also be opened from R with the following command.

library("systemPipeR") # Loads systemPipeR which needs to be installed via biocLite() from Bioconductor