Skip to content

panoptes-organization/snakemake_example_workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

Snakemake example workflow to test panoptes

Installation

The workflow relies on conda dependencies to run, so we recommend to first install miniconda. You can find instructions here:

https://docs.conda.io/en/latest/miniconda.html

Then you need to install a custom snakemake in a virtual environment. The following instructions are based on virtualenv and pip.

# clone snakemake
git clone https://github.com/snakemake/snakemake
cd snakemake
# create a virtual environment
virtualenv -p `which python3` venv_snakemake_develop
# activate
source venv_snakemake_develop/bin/activate
# install
pip install .
cd ..
# clone snakemake example workflow
git clone https://github.com/panoptes-organization/snakemake_example_workflow.git

Run workflow

Activate the virtual environment with snakemake (in case it's not activated) and enter the snakemake example workflow directory

source snakemake/venv_snakemake_develop/bin/activate # run this if the virtual environment is not active
cd snakemake_example_workflow

Create the dag

bash create_dag.sh

Run workflow

bash run_local.sh

Note: Make sure that the correct IP and port via --wms-monitor is specified in the run_local.sh script

About

Example workflow using snakemake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published