Latest documentation: flow-r.github.io/flowr
Flowr framework allows you to design and implement complex pipelines, and deploy them on your institution’s computing cluster. This has been built keeping in mind the needs of bioinformatics workflows. However, it is easily extendable to any field where a series of steps (shell commands) are to be executed in a (work)flow.
install.packages("flowr")
)## Official stable release from CRAN (updated every other month)
## visit flow-r.github.io/flowr/install for more details
install.packages("flowr", repos = "http://cran.rstudio.com")
# or a latest version from DRAT, provide cran for dependencies
install.packages("flowr", repos = c(CRAN="http://cran.rstudio.com", DRAT="http://sahilseth.github.io/drat"))
library(flowr) ## load the library
setup() ## copy flowr bash script; and create a folder flowr under home.
# Run an example pipeline
# style 1: sleep_pipe() function creates system cmds
=sleep_pipe platform=local execute=TRUE
flowr run x
# style 2: we start with a tsv of system cmds
# get example files
--no-check-certificate http://raw.githubusercontent.com/sahilseth/flowr/master/inst/pipelines/sleep_pipe.tsv
wget --no-check-certificate http://raw.githubusercontent.com/sahilseth/flowr/master/inst/pipelines/sleep_pipe.def
wget
# submit to local machine
=sleep_pipe.tsv def=sleep_pipe.def platform=local execute=TRUE
flowr to_flow x# submit to local LSF cluster
=sleep_pipe.tsv def=sleep_pipe.def platform=lsf execute=TRUE flowr to_flow x
Example pipelines inst/pipelines
This package is under active-development, you may watch for changes using the watch link above.
Please feel free to raise a github issue with questions and comments.