Installation and Usage

How to install and run the workflow

Step 1: Create a virtual environment.

Step 1: For cwltool/toil, please install using python 3.6 as done below:

Here we can use either virtualenvarrow-up-right or condaarrow-up-right. Here we will use virtualenv.

pip3 install virtualenv
python3 -m venv my_project
source my_project/bin/activate
circle-info

Once you execute the above command you will see your bash prompt something on these lines:

(my_project)[server]$

Step 2: Clone the repository

git clone --recursive https://github.com/msk-access/uncollapsed_bam_generation.git
cd standard_bam_processing
git submodule update --recursive --remote

Step 3: Install requirements using pip

We have already specified the version of cwltool and other packages in the requirements.txt file. Please use this to install.

circle-info

To see help for the inputs for cwl workflow you can use: cwltool uncollapsed_bam_generation.cwl --help

circle-info

To see help for the inputs for cwl workflow you can use: toil-cwl-runner uncollapsed_bam_generation.cwl --help

Once we have successfully installed the requirements we can now run the workflow using cwltool/toil if you have proper input file generated either in jsonarrow-up-right or yamlarrow-up-right format. Please look at Inputs Description for more details.

Here we show how to use cwltoolarrow-up-right to run the workflow on single machine

Step 4: Run the workflow with a given set of input using cwltoolarrow-up-right on single machine

circle-check

Last updated

Was this helpful?