Giter VIP home page Giter VIP logo

rsempipeline's Introduction

Build Status Coverage Status

rsempipeline

rsempipeline is a pipeline for analyzing GEO data using RSEM. The typical analysis process is as follows:

The input to the pipeline are mainly from two resources,

  • soft files for all Series (aka. GSE)
  • A GSE_species_GSM.csv file which contains a list of all interested samples (aka. GSM) to be processed

There are three steps included in this pipeline:

  1. Download the sra files for all GSMs from GEO website using aspc from Aspera or wget (in case when aspc fails). aspc and wget use different urls which are linked to copies of the same file.
  2. sra files are converted to fastq.gz files using fastq-dump from SRA Toolkit
  3. Run rsem-calculate-expression from RSEM package with all fastq.gz files for all GSMs

The pipeline is designed to run the first two steps (computationally cheap) on a localhost. Step 3 (computationally expensive) is run on a HPC cluster (e.g. genesis, westgrid cluster).

Typically, about 100 GSEs and a few thousands of GSMs are picked by our collaborators and grouped into a batch. Step 1 and 2 are done in a sub-batch-by-sub-batch fashion where all GSMs of a sub-batch are processed in parallel until finished. Each sub-batch of GSMs are selected based on their file sizes (estimated from sizes of sra and its resultant fastq.gz files) and how much disk space available on the localhost as specified in a configuration file (rp_config.yml). At the end of the second step, a submission script will be generated for each GSM, and at Step 3 a new job will be submitted to the cluster for processing the GSM using RSEM. A control mechanism has also been implemented to avoid overuse of the cluster resources such as compute nodes and disk space. The first two steps are run by the command rp-run while the generation of the submission script and job submission are handled by the command rp-transfer.

For installation and usage instructions, please refer to INSTALL.rst and USAGE.rst.

If you have found any bugs, questions, comments, please contact Zhuyi Xue ([email protected]).

rsempipeline's People

Contributors

zyxue avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

xtmgah zyxue

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.