-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md.jinja
26 lines (18 loc) · 994 Bytes
/
README.md.jinja
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# snakemake-workflow-ref_genomes ({{ species.replace("_", " ").upper() }})
A Snakemake workflow to download various files from Ensembl for a given reference genome and create a STAR aligner index.
**Creation Date:** {{ date }}
**Species:** {{ species.replace("_", " ").upper() }}
## Getting Started
```shell
mkdir /media/user/data/genomes
docker volume create --opt type=none --opt o=bind --opt device=/media/user/data/genomes genomes
mkdir /media/user/data/conda-envs
docker volume create --opt type=none --opt o=bind --opt device=/media/user/data/conda-envs conda-envs
# Build the workflow image
docker compose build workflow
# Run Snakemake within the workflow service to automatically run the workflow
docker compose run --rm -it workflow snakemake --use-conda -c2 -p -n
# The rules that would be run if it wasn't in dry mode should show up
# If everything looks, good, remove the -n flag and run it for real...
docker compose run --rm -it workflow snakemake --use-conda -c2 -p
```