Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.4 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.4 KB

CWL viral pipeline

CWL implementation of the MGnify viral pipeline.

Setup

It is possible to run the pipeline using docker/singularity or a conda env.

Conda

Install conda and create an env using the conda_env.yml file:

Rename the path in requirements/conda_env.yml to the desired env path

conda env create -f requirements/conda_env.yml

The init.sh file is meant to set some env variables needed for the execution, this script is called from virify.sh.

Docker/Singularity

After installing docker or singularity you will need some python package in you system:

pip install -r requirements/pip_requirements.txt

Databases

In order to run the pipeline the following databases are required:

Everything is packed and ready to be used from EBI FTP:

./download-databases.sh -h

Download VIRify DBs for the CWL version
* requires rsyncimgvr_blast_swf.cwl

-f Output folder [mandatory]

Running full pipeline from CLI

The pipeline users toil as the CWL execution engine.

In order to run it use the helper script (provided you adjusted the paths on it).

$ ./virify.sh -h

Structure of pipeline

Diagram

Tests

CWL tests are executed with cwltest.

Run:

cd tests
./cwltest.sh