-
Notifications
You must be signed in to change notification settings - Fork 58
/
pvacseq.cwl
238 lines (237 loc) · 7.53 KB
/
pvacseq.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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
label: "Workflow to run pVACseq from detect_variants and rnaseq pipeline outputs"
requirements:
- class: SubworkflowFeatureRequirement
inputs:
detect_variants_vcf:
type: File
secondaryFiles: ['.tbi']
sample_name:
type: string?
default: 'TUMOR'
normal_sample_name:
type: string?
default: 'NORMAL'
rnaseq_bam:
type: File
secondaryFiles: ['.bai']
reference_fasta:
type: string
readcount_minimum_base_quality:
type: int?
readcount_minimum_mapping_quality:
type: int?
gene_expression_file:
type: File
transcript_expression_file:
type: File
expression_tool:
type: string?
default: 'kallisto'
alleles:
type: string[]
prediction_algorithms:
type: string[]
epitope_lengths:
type: int[]?
binding_threshold:
type: int?
allele_specific_binding_thresholds:
type: boolean?
minimum_fold_change:
type: float?
peptide_sequence_length:
type: int?
top_score_metric:
type:
- "null"
- type: enum
symbols: ["lowest", "median"]
additional_report_columns:
type:
- "null"
- type: enum
symbols: ["sample_name"]
fasta_size:
type: int?
downstream_sequence_length:
type: string?
exclude_nas:
type: boolean?
phased_proximal_variants_vcf:
type: File?
secondaryFiles: ['.tbi']
maximum_transcript_support_level:
type:
- "null"
- type: enum
symbols: ["1", "2", "3", "4", "5"]
normal_cov:
type: int?
tdna_cov:
type: int?
trna_cov:
type: int?
normal_vaf:
type: float?
tdna_vaf:
type: float?
trna_vaf:
type: float?
expn_val:
type: int?
net_chop_method:
type:
- "null"
- type: enum
symbols: ["cterm", "20s"]
net_chop_threshold:
type: float?
netmhc_stab:
type: boolean?
variants_to_table_fields:
type: string[]?
default: [CHROM,POS,ID,REF,ALT]
variants_to_table_genotype_fields:
type: string[]?
default: [GT,AD,AF,DP,RAD,RAF,RDP,GX,TX]
vep_to_table_fields:
type: string[]?
default: [HGVSc,HGVSp]
outputs:
annotated_vcf:
type: File?
outputSource: add_transcript_expression_data_to_vcf/annotated_expression_vcf
annotated_tsv:
type: File
outputSource: add_vep_fields_to_table/annotated_variants_tsv
mhc_i_all_epitopes:
type: File?
outputSource: pvacseq/mhc_i_all_epitopes
mhc_i_filtered_epitopes:
type: File?
outputSource: pvacseq/mhc_i_filtered_epitopes
mhc_i_ranked_epitopes:
type: File?
outputSource: pvacseq/mhc_i_ranked_epitopes
mhc_ii_all_epitopes:
type: File?
outputSource: pvacseq/mhc_ii_all_epitopes
mhc_ii_filtered_epitopes:
type: File?
outputSource: pvacseq/mhc_ii_filtered_epitopes
mhc_ii_ranked_epitopes:
type: File?
outputSource: pvacseq/mhc_ii_ranked_epitopes
combined_all_epitopes:
type: File?
outputSource: pvacseq/combined_all_epitopes
combined_filtered_epitopes:
type: File?
outputSource: pvacseq/combined_filtered_epitopes
combined_ranked_epitopes:
type: File?
outputSource: pvacseq/combined_ranked_epitopes
steps:
tumor_rna_bam_readcount:
run: ../subworkflows/bam_readcount.cwl
in:
vcf: detect_variants_vcf
sample: sample_name
reference_fasta: reference_fasta
bam: rnaseq_bam
min_base_quality: readcount_minimum_base_quality
min_mapping_quality: readcount_minimum_mapping_quality
out:
[snv_bam_readcount_tsv, indel_bam_readcount_tsv, normalized_vcf]
add_tumor_rna_bam_readcount_to_vcf:
run: ../subworkflows/vcf_readcount_annotator.cwl
in:
vcf: tumor_rna_bam_readcount/normalized_vcf
snv_bam_readcount_tsv: tumor_rna_bam_readcount/snv_bam_readcount_tsv
indel_bam_readcount_tsv: tumor_rna_bam_readcount/indel_bam_readcount_tsv
data_type:
default: 'RNA'
sample_name: sample_name
out:
[annotated_bam_readcount_vcf]
add_gene_expression_data_to_vcf:
run: ../tools/vcf_expression_annotator.cwl
in:
vcf: add_tumor_rna_bam_readcount_to_vcf/annotated_bam_readcount_vcf
expression_file: gene_expression_file
expression_tool: expression_tool
data_type:
default: 'gene'
sample_name: sample_name
out:
[annotated_expression_vcf]
add_transcript_expression_data_to_vcf:
run: ../tools/vcf_expression_annotator.cwl
in:
vcf: add_gene_expression_data_to_vcf/annotated_expression_vcf
expression_file: transcript_expression_file
expression_tool: expression_tool
data_type:
default: 'transcript'
sample_name: sample_name
out:
[annotated_expression_vcf]
pvacseq:
run: ../tools/pvacseq.cwl
in:
input_file: add_transcript_expression_data_to_vcf/annotated_expression_vcf
sample_name: sample_name
alleles: alleles
prediction_algorithms: prediction_algorithms
epitope_lengths: epitope_lengths
normal_sample_name: normal_sample_name
minimum_fold_change: minimum_fold_change
peptide_sequence_length: peptide_sequence_length
top_score_metric: top_score_metric
additional_report_columns: additional_report_columns
fasta_size: fasta_size
downstream_sequence_length: downstream_sequence_length
exclude_nas: exclude_nas
phased_proximal_variants_vcf: phased_proximal_variants_vcf
maximum_transcript_support_level: maximum_transcript_support_level
normal_cov: normal_cov
tdna_cov: tdna_cov
trna_cov: trna_cov
normal_vaf: normal_vaf
tdna_vaf: tdna_vaf
trna_vaf: trna_vaf
expn_val: expn_val
net_chop_method: net_chop_method
net_chop_threshold: net_chop_threshold
netmhc_stab: netmhc_stab
out:
[
mhc_i_all_epitopes,
mhc_i_filtered_epitopes,
mhc_i_ranked_epitopes,
mhc_ii_all_epitopes,
mhc_ii_filtered_epitopes,
mhc_ii_ranked_epitopes,
combined_all_epitopes,
combined_filtered_epitopes,
combined_ranked_epitopes,
]
variants_to_table:
run: ../tools/variants_to_table.cwl
in:
reference: reference_fasta
vcf: add_transcript_expression_data_to_vcf/annotated_expression_vcf
fields: variants_to_table_fields
genotype_fields: variants_to_table_genotype_fields
out:
[variants_tsv]
add_vep_fields_to_table:
run: ../tools/add_vep_fields_to_table.cwl
in:
vcf: add_transcript_expression_data_to_vcf/annotated_expression_vcf
vep_fields: vep_to_table_fields
tsv: variants_to_table/variants_tsv
out: [annotated_variants_tsv]