Code Monkey home page Code Monkey logo

organic-box-factory's Introduction

License: MIT

Logo

Organic Box Factory

https://iosonofabio.github.io/organic-box-factory/

High-throughput sequencing applications often involve computationally costly operations that cannot be performed on a local computer (e.g. a laptop); instead, they require a cluster of computers that work in parallel. Two cluster architectures are common in 2017: physical clusters, for instance Stanford's Sherlock, and cloud-based services such as Amazon Web Services and Google Computing Engine. Either way, access to high-throughput clusters is restricted, and installing and configuring all necessary software on every different platform can be (and typically is) a time-consuming and frustrating task. Thanks to light virtualization technologies like Docker, preconfigured images can be prepared and tested ahead of time. Whereas cloud systems virtualize the hardware and give customers superuser access to their computing instances and can run Docker without issues, physical clusters typically distribute only non-priviledged accounts and require a different virtualization scheme, a need that was recently filled by Singularity.

This repository offers access to a number of Docker and Singularity images to execute high-throughput sequencing pipelines as they are typically done in the Quake lab at Stanford, eliminating the need to install and configure the single programs and software libraries every time. Moreover, the repository tries to standardize and expose the common recipe used to build simultaneously both a Docker and a Singularity image, so each pipeline can be lifted to the cloud or grounded to a local cluster without any further configuration. Finally, each recipe is built and validated via continuous integration (CI) using Travis CI, to guarantee that the software works as planned.

At the moment the following pipelines are available - each pipeline is a different branch (the master branch is just an empty skeleton):

  • Build Status singlecell: scRNA-Seq on full-length transcripts (e.g. via SmartSeq2 libraries)
  • Build Status singlecell-10X: scRNA-Seq on 3'-end of transcripts using 10X Genomics libraries and cellranger software
  • Build Status cell-free RNA-Seq: cell-free RNA including picard-tools (for duplicate removal) and fastqc.
  • metagenomics: environmental samples including non-culturable organisms

Usage

If you are a user that would like to run a pipeline without bothering about operating systems, clusters, et al., just install the image from docker-hub or singularity-hub and run it.

Install an image

  • Docker: docker pull iosonofabio/organic-box-factory:<branch name>
  • Singularity: singularity pull shub://iosonofabio/organic-box-factory:<branch name>

where <branch name> is the name of the git branch/pipeline you want to install.

NOTE: you may need a development version of singularity to use the command pull.

Run software on the image

After installing an image:

  • Docker: docker run -v $(pwd)/projectdata:/data/projectdata --name imagename --rm iosonofabio/organic-box-factory:<branch name> <command>
  • Singularity: singularity exec <img filename> <command>

Run the default pipeline

Some images (e.g. singlecell) ship with a default pipeline command:

  • Docker: docker run -v $(pwd)/projectdata:/data/projectdata --name imagename --rm iosonofabio/organic-box-factory:<branch name> pipeline --help
  • Singularity: singularity exec <img filename> pipeline --help

Contributing/developers

If you are a developer searching for working examples of a pipeline, clone the repo and start coding away from the Dockerfile and .travis.yml! If you want to contribute to this repo, just open an issue on github.

organic-box-factory's People

Contributors

iosonofabio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.