BAM Collapsing
1.0.0
1.0.0
  • Introduction
  • Quickstart
  • Inputs Description
  • Tool Descriptions
  • Outputs Description
  • Github Specifications
    • Contributor Covenant Code of Conduct
    • Contributing
    • ISSUE_TEMPLATE
Powered by GitBook
On this page
  • Step 1: Clone the workflow
  • Step 2: Install Toil and cwltool
  • Step 3: Create an inputs file
  • Step 4 - Run the workflow with a CWL executor:

Was this helpful?

Quickstart

PreviousIntroductionNextInputs Description

Last updated 4 years ago

Was this helpful?

Step 1: Clone the workflow

$ git clone --recursive https://github.com/msk-access/bam_collapsing.git
$ cd bam_collapsing
$ git submodule init

Step 2: Install Toil and cwltool

$ pip install toil[cwl]==4.2.0

Note: you may use any CWL executor available, provided it works with your batch system

Step 3: Create an inputs file

As specified in:

Step 4 - Run the workflow with a CWL executor:

$ cwltool bam_collapsing.cwl inputs.json

Or, to run the workflow on a HPC cluster using toil:

$ toil-cwl-runner \
    --singularity \
    --jobStore my_jobStore \
    --batchSystem lsf \
    --workDir `pwd` \
    --outdir `pwd` \
    --logFile cwltoil.log \
    --writeLogs `pwd` \
    --logLevel DEBUG \
    --retryCount 2 \
    --disableCaching \
    --maxLogFileSize 20000000000 \
    --stats \
    bam_collapsing.cwl \
    inputs.yaml

Note: To see help for the inputs for any cwl workflow you can use:

$ cwltool bam_collapsing.cwl --help

Inputs Description