SARTools is a R package dedicated to the differential analysis of RNA-seq data. It provides tools to generate descriptive and diagnostic graphs, to run the differential analysis with one of the well known DESeq2 or edgeR packages and to export the results into easily readable tab-delimited files. It also facilitates the generation of a HTML report which displays all the figures produced, explains the statistical methods and gives the results of the differential analysis. Note that SARTools does not intend to replace DESeq2 or edgeR: it simply provides an environment to go with them. For more details about the methodology behind DESeq2 or edgeR, the user should read their documentations and papers.
SARTools is distributed with two R script templates (template_script_DESeq2.r
and template_script_edgeR.r
) which use functions of the package. For a more fluid analysis and to avoid possible bugs when creating the final HTML report, the user is encouraged to use them rather than writing a new script.
In addition to the SARTools package itself, the workflow requires the installation of several packages: DESeq2, edgeR, genefilter, xtable and knitr (all available online, see the dedicated webpages). SARTools needs R version 3.3.0 or higher, DESeq2 1.12.0 or higher and edgeR 3.12.0 or higher: old versions of DESeq2 or edgeR may be incompatible with SARTools.
To install the SARTools package from GitHub, open a R session and:
- install DESeq2, edgeR and genefilter with
source("http://bioconductor.org/biocLite.R")
andbiocLite(c("DESeq2", "edgeR", "genefilter"))
(if not installed yet) - install devtools with
install.packages("devtools")
(if not installed yet) - Note: Ubuntu users may have to install some libraries (libxml2-dev, libcurl4-openssl-dev and libssl-dev) to be able to install DESeq2 and devtools
- for Windows users only, install Rtools or check that it is already installed (needed to build the package)
- load the devtools R package with
library(devtools)
- run
install_github("PF2-pasteur-fr/SARTools", build_vignettes=TRUE)
- Install miniconda2 http://conda.pydata.org/miniconda.html
- Install the SARTools R library and its dependencies using conda
conda install r-sartools
Note: if you want to set a dedicated conda environment for SARTools, use conda create -n sartools r-sartools
and follow the instructions to activate it.
A HTML vignette is available within the vignettes folder on GitHub and provides extensive information on the use of SARTools. The user can also open it with vignette("SARTools")
if it has been generated during the installation of the package.
Please read the NEWS file to see the latest improvements!
The SARTools package has been developped at PF2 - Institut Pasteur by M.-A. Dillies and H. Varet (hugo.varet@pasteur.fr). Thanks to cite H. Varet, L. Brillet-Guéguen, J.-Y. Coppee and M.-A. Dillies, SARTools: A DESeq2- and EdgeR-Based R Pipeline for Comprehensive Differential Analysis of RNA-Seq Data, PLoS One, 2016, doi: http://dx.doi.org/10.1371/journal.pone.0157022 when using this tool for any analysis published.