GithubHelp home page GithubHelp logo

mahgoub2020's Introduction

Mahgoub et al. 2020 (zcwpw1) nextflow pipeline :

This nextflow pipeline is configured to work on a SLURM-based HPC with modules. It can be relatively easily configured to run on other systems (see nextflow documentation : https://www.nextflow.io/).

Requirements:

Tools / programs :

  • bedtools 2.27.1
  • deeptools 3.0.1
  • macs 2.1.2
  • meme 5.0.1
  • minimap2 2.17
  • nextflow 0.30.2
  • picard 2.9.2
  • R 3.5.2
  • samtools 1.9
  • sratoolkit 2.9.2
  • ucsc 388

NOTE: These are the recommended (and tested) version of each tool, however newer / older versions will work in most cases. One exception is older versions of nextflow, which will not work.

Global variables required:

$SLURM_JOBID : Specifies the temporary subfolder to use (see Temp folder requirements below)

Temp folder requirements

The pipeline requires a high-level temporary folder called /lscratch. On a SLURM-based HPC, each job is assigned a global id ($SLURM_JOBID) and this is appended to the temp folder name for each process. This is currently hard-coded. Thus, there is a requirement for :

/lscratch folder for temporary files SLURM_JOBID global variable for each HPC job.

Pipeline execution

RUN ON SLURM CLUSTER

nextflow run -c accessoryFiles/nxfConfig/nextflow.config \
    Zcwpw1_CutNRunPipe.nf \
    --outdir output \
    --getData \
    --projectdir `pwd` \
    -with-report Zcwpw1Pipeline.nxfReport.html \
    -with-trace Zcwpw1Pipeline.nxfTrace.html \
    -with-timeline Zcwpw1Pipeline.nxfTimeline.html

RUN ON LOCAL MACHINE

nextflow run -c accessoryFiles/nxfConfig/nextflow.local.config \
    Zcwpw1_CutNRunPipe.nf \
    --outdir output \
    --getData \
    --projectdir `pwd` \
    -with-report Zcwpw1Pipeline.nxfReport.html \
    -with-trace Zcwpw1Pipeline.nxfTrace.html \
    -with-timeline Zcwpw1Pipeline.nxfTimeline.html

mahgoub2020's People

Contributors

kevbrick 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.