File tree 3 files changed +13
-10
lines changed
subworkflows/local/peach_calling
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ channels:\n\
12
12
- defaults'
13
13
14
14
RUN \
15
- conda create -y -p /env/ \
16
- 'openjdk >=8'
15
+ conda create -y -p /env/ \
16
+ 'openjdk >=8'
17
17
18
18
RUN \
19
- mkdir -p /opt/peach/ && \
20
- wget -O /opt/peach/peach.jar 'https://github.com/hartwigmedical/hmftools/releases/download/peach-v2.0.0/peach_v2.0.0.jar'
19
+ mkdir -p /opt/peach/ && \
20
+ wget -O /opt/peach/peach.jar 'https://github.com/hartwigmedical/hmftools/releases/download/peach-v2.0.0/peach_v2.0.0.jar'
21
21
22
22
RUN \
23
23
conda clean -yaf
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ process PEACH {
42
42
"""
43
43
mkdir -p peach/
44
44
45
- touch peach/${ meta.tumor_id } .peach.events.tsv
46
- touch peach/${ meta.tumor_id } .peach.gene.events.tsv
47
- touch peach/${ meta.tumor_id } .peach.haplotypes.all.tsv
48
- touch peach/${ meta.tumor_id } .peach.haplotypes.best.tsv
49
- touch peach/${ meta.tumor_id } .peach.qc.tsv
45
+ touch peach/${ meta.sample_id } .peach.events.tsv
46
+ touch peach/${ meta.sample_id } .peach.gene.events.tsv
47
+ touch peach/${ meta.sample_id } .peach.haplotypes.all.tsv
48
+ touch peach/${ meta.sample_id } .peach.haplotypes.best.tsv
49
+ touch peach/${ meta.sample_id } .peach.qc.tsv
50
50
51
51
echo -e '${ task.process} :\\ n stub: noversions\\ n' > versions.yml
52
52
"""
Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ workflow PEACH_CALLING {
34
34
]
35
35
}
36
36
.branch { meta, purple_dir ->
37
- runnable : purple_dir
37
+
38
+ def has_normal = Utils . hasNormalDna(meta)
39
+
40
+ runnable : purple_dir && has_normal
38
41
skip : true
39
42
return meta
40
43
}
You can’t perform that action at this time.
0 commit comments