class: center, middle, inverse, title-slide #
systemPipeRdata
###
Daniela Cassol ###
University of California Riverside
###
2020/08/28 (updated: 2021-02-08)
--- layout: true background-image: url(https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/systemPipeR.png) background-position: 99% 1% background-size: 10% --- class: middle ## Outline #### Introduction #### Live Demo - Install Package - Quick Start - Directory Structure - Workflow Collection - Install Workflow Template --- class: inverse, center, middle # Introduction --- ## Introduction <i class="fas fa-hand-point-right" style="color:#00758a;"></i> [_systemPipeRdata_](http://www.bioconductor.org/packages/release/data/experiment/html/systemPipeRdata.html) is a helper package to generate with a single command workflow templates that are intended to be used by its parent package [_systemPipeR_](http://www.bioconductor.org/packages/release/bioc/html/systemPipeR.html). <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Includes sample data for testing. <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Users can create *new workflows* or change and extend existing ones. --- class: inverse, center, middle # <i class="fas fa-code"></i> Live Demo --- ## <i class="fas fa-box-open"></i> Install Package Install the **systemPipeRdata** package from [Bioconductor](http://www.bioconductor.org/packages/release/data/experiment/html/systemPipeRdata.html): ```r if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install("systemPipeRdata") ``` ### <i class="fas fa-book"></i> Load Package and Documentation <i class="fas fa-question" style="color:#00758a;"></i> Load package: ```r library("systemPipeRdata") ``` <i class="fas fa-question" style="color:#00758a;"></i> Access help: ```r library(help="systemPipeRdata") vignette("systemPipeRdata") ``` --- ## <i class="fas fa-code"></i> Quick Start <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Generate workflow template: ```r genWorkenvir(workflow="varseq") setwd("varseq") ``` <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Command-line alternative for generating workflow environments: ```bash $ Rscript -e "systemPipeRdata::genWorkenvir(workflow='varseq', mydirname=NULL, url=NULL, urlname=NULL)" ``` --- ## <i class="far fa-folder-open"></i> Directory Structure The workflow templates generated by _`genWorkenvir`_ contain the following preconfigured directory structure: <img src="directory.png" height="425px" class="center" /> --- ## <i class="fas fa-project-diagram"></i> Workflows Collection Browse pipelines that are currently available as part of the *systemPipeR* toolkit .small[ | WorkFlow | Description | Version | GitHub | CI Testing | |:-----------------------:|:----------------:|:----------------:|:--------------------:|:-------------------------------:| | [systemPipeChIPseq](https://systempiper.github.io/systemPipeChIPseq/articles/systemPipeChIPseq.html) | ChIP-Seq Workflow Template | v1.0 <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/check.png" align="center" style="width:20px;" /> | <a href="https://github.com/systemPipeR/systemPipeChIPseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeChIPseq/workflows/R-CMD-check/badge.svg) | | [systemPipeRIBOseq](https://systempiper.github.io/systemPipeRIBOseq/articles/systemPipeRIBOseq.html) | RIBO-Seq Workflow Template | v1.0 <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/check.png" align="center" style="width:20px;" /> | <a href="https://github.com/systemPipeR/systemPipeRIBOseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeRIBOseq/workflows/R-CMD-check/badge.svg) | | [systemPipeRNAseq](https://systempiper.github.io/systemPipeRNAseq/articles/systemPipeRNAseq.html) | RNA-Seq Workflow Template | v1.0 <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/check.png" align="center" style="width:20px;" /> | <a href="https://github.com/systemPipeR/systemPipeRNAseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeRNAseq/workflows/R-CMD-check/badge.svg) | | [systemPipeVARseq](https://systempiper.github.io/systemPipeVARseq/articles/systemPipeVARseq.html) | VAR-Seq Workflow Template | v1.0 <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/check.png" align="center" style="width:20px;" /> | <a href="https://github.com/systemPipeR/systemPipeVARseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeVARseq/workflows/R-CMD-check/badge.svg) | | [systemPipeMethylseq](https://github.com/systemPipeR/systemPipeMethylseq) | Methyl-Seq Workflow Template | devel <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/devel.png" align="center" style="width:25px;" /> | <a href="https://github.com/systemPipeR/systemPipeMethylseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeMethylseq/workflows/R-CMD-check/badge.svg) | | [systemPipeDeNovo](https://github.com/systemPipeR/systemPipeDeNovo) | De novo transcriptome assembly Workflow Template | devel <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/devel.png" align="center" style="width:25px;" /> | <a href="https://github.com/systemPipeR/systemPipeDeNovo"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeDeNovo/workflows/R-CMD-check/badge.svg) | | [systemPipeCLIPseq](https://github.com/systemPipeR/systemPipeCLIPseq) | CLIP-Seq Workflow Template | devel <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/devel.png" align="center" style="width:25px;" /> | <a href="https://github.com/systemPipeR/systemPipeCLIPseq"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeCLIPseq/workflows/R-CMD-check/badge.svg) | | [systemPipeMetaTrans](https://github.com/systemPipeR/systemPipeMetaTrans) | Metatranscriptomic Sequencing Workflow Template | devel <img src="https://raw.githubusercontent.com/tgirke/systemPipeR/gh-pages/images/devel.png" align="center" style="width:25px;" /> | <a href="https://github.com/systemPipeR/systemPipeMetaTrans"> <img src="https://raw.githubusercontent.com/systemPipeR/systemPipeR/gh-pages/images/GitHub-Mark-120px-plus.png" align="center" style="width:20px;" /> | ![R-CMD-check](https://github.com/systemPipeR/systemPipeMetaTrans/workflows/R-CMD-check/badge.svg) | ] --- ## <i class="fas fa-box-open"></i> Install Workflow <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Check the workflow template availability ```r availableWF(github = TRUE) # $systemPipeRdata # [1] "chipseq" "new" "riboseq" "rnaseq" "varseq" # # $github # workflow branches version html description # 1 systemPipeR/systemPipeChIPseq master release https://github.com/systemPipeR/systemPipeChIPseq Workflow Template # 2 systemPipeR/systemPipeRIBOseq master release https://github.com/systemPipeR/systemPipeRIBOseq Workflow Template # 3 systemPipeR/systemPipeRNAseq cluster, master, singleMachine release https://github.com/systemPipeR/systemPipeRNAseq Workflow Template # 4 systemPipeR/systemPipeVARseq master release https://github.com/systemPipeR/systemPipeVARseq Workflow Template # 5 systemPipeR/systemPipeCLIPseq master devel https://github.com/systemPipeR/systemPipeCLIPseq Workflow Template # 6 systemPipeR/systemPipeDeNovo master devel https://github.com/systemPipeR/systemPipeDeNovo Workflow Template # 7 systemPipeR/systemPipeMetaTrans master devel https://github.com/systemPipeR/systemPipeMetaTrans Workflow Template # 8 systemPipeR/systemPipeMethylseq master devel https://github.com/systemPipeR/systemPipeMethylseq Workflow Template ``` --- ## <i class="fas fa-box-open"></i> Install Workflow <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Install Workflow Template from [*systemPipeR* Organization](https://github.com/systemPipeR): ```r genWorkenvir(workflow="systemPipeR/systemPipeVARseq", mydirname=NULL) # [1] "Package systemPipeVARseq is successfully installed!" # [1] "The 'demo data'was successfully copied to your project." # [1] "The 'param' directory was successfully copied to your project." # [1] "Generated systemPipeVARseq directory. Next run in systemPipeR/systemPipeVARseq directory, the R code from *.Rmd template interactively. Alternatively, workflows can be exectued with a single command as instructed in the vignette." ``` <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Install Workflow Template with a specific *R Markdown* file: ```r genWorkenvir(workflow="systemPipeR/systemPipeRNAseq", mydirname="rnaseq", url = "https://raw.githubusercontent.com/systemPipeR/systemPipeRNAseq/cluster/vignettes/systemPipeRNAseq.Rmd", urlname = "rnaseq_V-cluster.Rmd") ``` --- ## <i class="fas fa-mouse-pointer"></i> Dynamic Workflow Template <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Create dynamic Workflow Templates with *RStudio* <i class="fas fa-hand-point-right" style="color:#00758a;"></i> `File -> New File -> R Markdown -> From Template` .center[ <img src="rstudio.png" height="425px" class="center" /> ] --- class: middle # Thanks! <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Browse source code at <a href="https://github.com/tgirke/systemPipeRdata/"> <i class="fab fa-github fa-2x"></i></a> <i class="fas fa-hand-point-right" style="color:#00758a;"></i> Ask a question about systemPipeRdata at Bioconductor Support Page <a href="https://support.bioconductor.org/t/systempiper/"><i class="far fa-question-circle fa-2x"></i></a> <i class="fas fa-hand-point-right" style="color:#00758a;"></i> *systemPipeRdata* at [Bioconductor](http://www.bioconductor.org/packages/release/data/experiment/html/systemPipeRdata.html) <i class="fas fa-hand-point-right" style="color:#00758a;"></i> [https://systempipe.org/](https://systempipe.org/)