-
Notifications
You must be signed in to change notification settings - Fork 2
/
Snakefile
39 lines (29 loc) · 976 Bytes
/
Snakefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
# pylint:disable=syntax-error
import pandas as pd
import yaml
from snakemake.utils import min_version
min_version("5.3")
shell.prefix("set -euo pipefail;")
params = yaml.safe_load(open("params.yml", "r"))
features = yaml.safe_load(open("features.yml", "r"))
samples = pd.read_csv("samples.tsv", sep="\t")
MAX_THREADS = params["max_threads"]
singularity: "docker://continuumio/miniconda3:4.4.10"
ASSEMBLY = samples.assembly[0]
GENE_TO_TRANS_MAP = samples["gene_to_trans_map"][0]
snakefiles = "src/snakefiles/"
include: snakefiles + "generic.smk"
include: snakefiles + "folders.smk"
include: snakefiles + "clean.smk"
include: snakefiles + "raw.smk"
include: snakefiles + "download.smk"
include: snakefiles + "db.smk"
include: snakefiles + "transdecoder.smk"
include: snakefiles + "trinotate.smk"
rule all:
input:
# rules.raw.input,
# rules.download.input,
# rules.db.input,
# rules.transdecoder.input,
rules.trinotate.input