cbcrg/grape-nf

Name: grape-nf

Owner: Notredame Lab

Description: Yet another Grape RNA-Seq analyses pipeline

Created: 2013-06-27 12:52:49.0

Updated: 2016-01-28 13:01:16.0

Pushed: 2015-01-01 23:50:37.0

Homepage:

Size: 69279

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Grape-NF

Yet another Grape pipeline implementation

Quick start

Make sure you have all the required dependencies listed in the last section.

Install the Nextflow runtime by running the following command:

$ curl -fsSL get.nextflow.io | bash

When done, you can launch the pipeline execution by entering the command shown below:

$ nextflow run cbcrg/grape-nf

By default the pipeline is executed against the provided example dataset. Check the Pipeline parameters section below to see how enter your data on the program command line.

Pipeline parameters

–genome

–annotation

–primary

–secondary

–quality

–cpus

–output

–mapper

Run with Docker

Grape-NF dependecies are also distributed by using a Docker container which frees you from the installation and configuration of all the pieces of software required by Grape-NF.

The Grape-NF Docker image is published at this address https://registry.hub.docker.com/u/cbcrg/grape-nf/

If you have Docker installed in your computer pull this image by entering the following command:

$ docker pull cbcrg/grape-nf

After that you will be able to run Grape-NF using the following command line:

$ nextflow run cbcrg/grape-nf -with-docker --mapper tophat2

Note: currently Docker based installation only support Tophat.

Cluster support

Grape-NF execution relies on Nextflow framework which provides an abstraction between the pipeline functional logic and the underlying processing system.

Thus it is possible to execute it on your computer or any cluster resource manager without modifying it.

Currently the following clusters are supported:

By default the pipeline is parallelized by spanning multiple threads in the machine where the script is launched.

To submit the execution to a SGE cluster create a file named nextflow.config, in the directory where the pipeline is going to be launched, with the following content:

task {
  processor='sge'
  queue='<your queue name>'
}

In doing that, tasks will be executed through the qsub SGE command, and so your pipeline will behave like any other SGE job script, with the benefit that Nextflow will automatically and transparently manage the tasks synchronisation, file(s) staging/un-staging, etc.

Alternatively the same declaration can be defined in the file $HOME/.nextflow/config.

To lean more about the avaible settings and the configuration file read the Nextflow documentation http://www.nextflow.io/docs/latest/config.html

Dependencies

When using Tophat as mapper


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.