Giter VIP home page Giter VIP logo

nextflow-example's Introduction

Nextflow Pipeline Example

This repo contains some example code for building a Nextflow pipeline. The example shows some csv defining the filepath for paired-end mates across a set of 5 samples. There are three scripts which iteratively build a pipeline which creates a channel to parse the csv, append the paired-end mates, then run fastqc in a container on the merged reads for each sample.

To Run

Install Docker and Nextflow

which nextflow && which docker

should produce something like:

/usr/local/bin/nextflow
/usr/bin/docker

Clone the repo

git clone [email protected]:jgallowa07/Nextflow-Example.git && cd Nextflow-Example

running hello-channel:

nextflow run hello-channel.nf

running hello-process:

nextflow run hello-process.nf

running hello-container:

nextflow run -c compute_config/nextflow.local.config hello-container.nf

Rhino

To run on a SLURM cluster, set up for gizmo: First, log onto to the cluster and clone the repo

git clone [email protected]:jgallowa07/Nextflow-Example.git && cd Nextflow-Example

Next, grab an interactive node

(base) rhino03 ~ » kinit
Password for [email protected]: 
(base) rhino03 ~ » grabnode
How many CPUs/cores would you like to grab on the node? [1-36] 12
How much memory (GB) would you like to grab? [240] 12
Please enter the max number of days you would like to grab this node: [1-7] 1
Do you need a GPU ? [y/N]N

Finally, run the script

./run_gizmo

nextflow-example's People

Contributors

jgallowa07 avatar

Watchers

 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.