Giter Site home page Giter Site logo

nyu-bfx / nf-bio-basic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stevekm/nf-bio-basic

1.0 4.0 0.0 455 KB

Nextflow basic Bioinformatics workflow for testing and demonstration

Dockerfile 4.83% Makefile 39.29% Nextflow 31.05% Ruby 24.82%

nf-bio-basic's Introduction

Nextflow Bioinformatics Basic Workflow

A basic bioinformatics data analysis workflow for testing of Nextflow and demonstrating functionality and configurations.

Usage

Clone this repo:

git clone https://github.com/stevekm/nf-bio-basic.git
cd nf-bio-basic

Run the workflow

make run
  • NOTE: This default configuration runs with Docker in the local session.

Conda

The workflow can be run with conda instead of Docker. A fresh installation of conda will be created in the current directory, and the included env.yml file will be used to create a cona env to run the workflow with.

make run-conda

HPC Compatibility: NYU Big Purple, NYU phoenix

Singularity

The workflow can be run with Singularity instead of Docker.

Build Singularity Container

The Singularity container can be built on macOS by using Vagrant. If you dont have Vagrant on your Mac, install it with these commands:

brew cask install virtualbox
brew cask install vagrant # https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.dmg
brew cask install vagrant-manager

The container can then be built with the following command:

make singularity-container

You will have to manually transfer the output container file singularity-vm/image/nf-bio-basic.simg to your system where you intend to run the workflow (e.g. HPC cluster).

Run with Singularity

Once the Singularity container file is transfered to or created on your system, you can run the workflow with Singularity in the local session by using the following command:

make run-singularity
  • NOTE: This configuration call system module singularity/2.5.2, which is required for NYU Big Purple HPC compatibility. Remove this from nextflow.config to adjust if needed.

HPC Compatibility: NYU Big Purple

Extra run Configuration

Extra parameters can be passed to the Nextflow run command via the EP argument;

make run EP='-resume'

HPC Schedulers

To submit jobs with an HPC scheduler, use one of the following commands:

  • make run-conda-slurm (NYU Big Purple)
  • make run-singularity-slurm (NYU Big Purple)
  • make run-conda-sge (NYU phoenix)

Software

  • bash
  • Java 8 or later (for Nextflow)
  • Python
  • Docker (optional)
  • bzip2 (for conda)
  • standard GNU tools
  • Vagrant (optional)

nf-bio-basic's People

Contributors

pditommaso avatar stevekm avatar evanfloden avatar kevinsayers avatar

Stargazers

slp avatar

Watchers

Aristotelis Tsirigos avatar James Cloos avatar igor avatar  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.