-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpipeline-se.cwl
161 lines (161 loc) · 5.72 KB
/
pipeline-se.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
class: Workflow
cwlVersion: v1.0
doc: 'DNase-seq pipeline - reads: SE'
requirements:
- class: ScatterFeatureRequirement
- class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
inputs:
genome_sizes_file:
doc: Genome sizes tab-delimited file (used in samtools)
type: File
default_adapters_file:
doc: Adapters file
type: File
nthreads_quant:
doc: Number of threads required for the 05-quantification step
type: int
nthreads_peakcall:
doc: Number of threads required for the 04-peakcall step
type: int
input_fastq_files:
type: File[]
ENCODE_blacklist_bedfile:
doc: Bedfile containing ENCODE consensus blacklist regions to be excluded.
type: File
nthreads_map:
doc: Number of threads required for the 03-map step
type: int
genome_ref_first_index_file:
doc: '"First index file of Bowtie reference genome with extension 1.ebwt. \ (Note: the rest of the index files MUST be in the same folder)" '
type: File
steps:
map:
in:
genome_sizes_file: genome_sizes_file
ENCODE_blacklist_bedfile: ENCODE_blacklist_bedfile
genome_ref_first_index_file: genome_ref_first_index_file
nthreads: nthreads_map
input_fastq_files: input_fastq_files
run: 01-map-se.cwl
out:
- output_data_filtered_bam_files
- output_pbc_files
- output_bowtie_log
- output_preseq_c_curve_files
- original_fastq_read_count
- output_read_count_mapped
- output_read_count_mapped_filtered
- output_percentage_uniq_reads
quant:
in:
nthreads: nthreads_quant
input_pileup_bedgraphs: peak_call/output_extended_narrowpeak_file
input_bam_files: map/output_data_filtered_bam_files
input_peak_xls_files: peak_call/output_peak_xls_file
input_read_count_dedup_files: peak_call/output_read_in_peak_count_within_replicate
input_genome_sizes: genome_sizes_file
run: 03-quantification.cwl
out:
- bigwig_raw_files
- bigwig_norm_files
- bigwig_extended_files
- bigwig_extended_norm_files
peak_call:
in:
input_bam_format:
valueFrom: BAM
input_bam_files: map/output_data_filtered_bam_files
nthreads: nthreads_peakcall
run: 02-peakcall.cwl
out:
- output_spp_x_cross_corr
- output_spp_cross_corr_plot
- output_narrowpeak_file
- output_extended_narrowpeak_file
- output_peak_xls_file
- output_filtered_read_count_file
- output_peak_count_within_replicate
- output_read_in_peak_count_within_replicate
outputs:
quant_bigwig_raw_files:
doc: Raw reads bigWig (signal) files
type: File[]
outputSource: quant/bigwig_raw_files
quant_bigwig_extended_files:
doc: Fragment extended reads bigWig (signal) files
type: File[]
outputSource: quant/bigwig_extended_files
map_preseq_c_curve_files:
doc: Preseq c_curve output files
type: File[]
outputSource: map/output_preseq_c_curve_files
map_percentage_uniq_reads:
doc: Percentage of uniq reads from preseq c_curve output
type: File[]
outputSource: map/output_percentage_uniq_reads
peak_call_spp_x_cross_corr:
doc: SPP strand cross correlation summary
type: File[]
outputSource: peak_call/output_spp_x_cross_corr
peak_call_peak_xls_file:
doc: Peak calling report file
type: File[]
outputSource: peak_call/output_peak_xls_file
map_filtered_bam_files:
doc: Filtered BAM files (post-processing end point)
type: File[]
outputSource: map/output_data_filtered_bam_files
peak_call_extended_narrowpeak_file:
doc: Extended fragment peaks in narrowPeak file format
type: File[]
outputSource: peak_call/output_extended_narrowpeak_file
peak_call_read_in_peak_count_within_replicate:
doc: Peak counts within replicate
type: File[]
outputSource: peak_call/output_read_in_peak_count_within_replicate
quant_bigwig_extended_norm_files:
doc: Normalized fragment extended reads bigWig (signal) files
type: File[]
outputSource: quant/bigwig_extended_norm_files
map_bowtie_log_files:
doc: Bowtie log file with mapping stats
type: File[]
outputSource: map/output_bowtie_log
map_pbc_files:
doc: PCR Bottleneck Coefficient files (used to flag samples when pbc<0.5)
type: File[]
outputSource: map/output_pbc_files
map_filtered_read_count:
doc: Read counts of the mapped and filtered BAM files
type: File[]
outputSource: map/output_read_count_mapped_filtered
peak_call_peak_count_within_replicate:
doc: Peak counts within replicate
type: File[]
outputSource: peak_call/output_peak_count_within_replicate
fastq_read_count:
doc: Read counts of the (unprocessed) input fastq files
type: File[]
outputSource: map/original_fastq_read_count
peak_call_narrowpeak_file:
doc: Peaks in narrowPeak file format
type: File[]
outputSource: peak_call/output_narrowpeak_file
peak_call_spp_x_cross_corr_plot:
doc: SPP strand cross correlation plot
type: File[]
outputSource: peak_call/output_spp_cross_corr_plot
peak_call_filtered_read_count_file:
doc: Filtered read count after peak calling
type: File[]
outputSource: peak_call/output_filtered_read_count_file
map_read_count:
doc: Read counts of the mapped BAM files
type: File[]
outputSource: map/output_read_count_mapped
quant_bigwig_norm_files:
doc: Normalized reads bigWig (signal) files
type: File[]
outputSource: quant/bigwig_norm_files