-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcommon.smk
43 lines (31 loc) · 1.22 KB
/
common.smk
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
40
41
42
43
from uuid import uuid4
pepfile: config["pepfile"]
samples = pep.sample_table["sample_name"]
for s in samples:
if " " in s:
raise RuntimeError(f'Spaces in samples are not supported ("{s}")')
containers = {
"hamlet-scripts": "docker://quay.io/redmar_van_den_berg/hamlet-scripts:0.3",
"multiqc": "docker://quay.io/biocontainers/multiqc:1.22.1--pyhdfd78af_0",
}
def report_files(wildcards):
files = [
"report/templates/contents_about.html.j2",
"report/templates/contents_aln.html.j2",
"report/templates/contents_basic.html.j2",
"report/templates/contents_fusion.html.j2",
"report/templates/contents_var.html.j2",
"report/templates/cover.html.j2",
"report/templates/contents.html.j2",
"report/templates/contents_itd.html.j2",
"report/templates/contents_rna.html.j2",
"report/templates/contents_overview.html.j2",
"report/assets/style.css",
"report/assets/toc.xsl",
"report/assets/img/hamlet-logo.jpg",
"report/assets/img/lumc-logo.jpg",
"report/assets/img/Myeloblast_logo.png",
]
return [workflow.source_path(fname) for fname in files]
# The version of HAMLET
PIPELINE_VERSION = "v2.3.1-dev"