This repository has been archived by the owner on Jan 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
exomeseq-03-organizedirectories.cwl
82 lines (80 loc) · 1.85 KB
/
exomeseq-03-organizedirectories.cwl
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
inputs:
fastqc_reports:
type: { type: array, items: { type: array, items: File } }
trim_reports:
type: { type: array, items: { type: array, items: File } }
hs_metrics: File[]
bams_markduplicates: File[]
raw_variants: File[]
bams_recalibrated: File[]
outputs:
fastqc_reports_dir:
type: Directory
outputSource: org_fastqc_reports/outdir
trim_reports_dir:
type: Directory
outputSource: org_trim_reports/outdir
hs_metrics_dir:
type: Directory
outputSource: org_hs_metrics/outdir
bams_markduplicates_dir:
type: Directory
outputSource: org_bams_markduplicates/outdir
raw_variants_dir:
type: Directory
outputSource: org_raw_variants/outdir
bams_recalibrated_dir:
type: Directory
outputSource: org_bams_recalibrated/outdir
steps:
org_fastqc_reports:
run: ../tools/file-pairs-to-directory.cwl
in:
name:
default: 'fastqc-reports'
file_pairs: fastqc_reports
out:
- outdir
org_trim_reports:
run: ../tools/file-pairs-to-directory.cwl
in:
name:
default: 'trim-reports'
file_pairs: trim_reports
out:
- outdir
org_hs_metrics:
run: ../tools/files-to-directory.cwl
in:
name:
default: 'hs-metrics'
files: hs_metrics
out:
- outdir
org_bams_markduplicates:
run: ../tools/files-to-directory.cwl
in:
name:
default: 'bams-markduplicates'
files: bams_markduplicates
out:
- outdir
org_raw_variants:
run: ../tools/files-to-directory.cwl
in:
name:
default: 'gvcfs'
files: raw_variants
out:
- outdir
org_bams_recalibrated:
run: ../tools/files-to-directory.cwl
in:
name:
default: 'bams-recalibrated'
files: bams_recalibrated
out:
- outdir