-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtumor_deconvolution_process_workflow.cwl
135 lines (111 loc) · 3.1 KB
/
tumor_deconvolution_process_workflow.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
requirements:
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
inputs:
- id: submissionId
type: int
- id: synapseConfig
type: File
- id: submission_file_id
type: string
outputs:
- id: file
type: File
outputSource: process_prediction_file/annotation_json
- id: file2
type: File
outputSource: process_prediction_file/results_json
- id: status
type: string
outputSource: process_prediction_file/status
- id: annotation_string
type: string
outputSource: process_prediction_file/annotation_string
- id: invalid_reason_string
type: string
outputSource: process_prediction_file/invalid_reason_string
steps:
- id: get_submission_attributes
run: get_submission_attributes.cwl
in:
- id: submissionid
source: submissionId
- id: synapse_config
source: synapseConfig
out:
- id: userid
- id: name
- id: evaluationid
- id: get_evaluation_attributes
run: get_evaluation_attributes.cwl
in:
- id: evaluationid
source: get_submission_attributes/evaluationid
- id: synapse_config
source: synapseConfig
out:
- id: name
- id: get_evaluation_parameters
run: get_evaluation_parameters.cwl
in:
- id: evaluationid
source: get_submission_attributes/evaluationid
out:
- id: gold_standard_id
- id: docker_input_directory
- id: docker_param_directory
- id: score_submission
- id: cores
- id: ram
- id: download_goldstandard
run: https://raw.githubusercontent.com/Sage-Bionetworks/synapse-client-cwl-tools/v0.1/synapse-get-tool.cwl
in:
- id: synapseid
source: get_evaluation_parameters/gold_standard_id
- id: synapse_config
source: synapseConfig
out:
- id: filepath
- id: download_submission
run: https://raw.githubusercontent.com/Sage-Bionetworks/synapse-client-cwl-tools/v0.1/synapse-get-tool.cwl
in:
- id: synapseid
source: submission_file_id
- id: synapse_config
source: synapseConfig
out:
- id: filepath
- id: process_prediction_file
run: process_prediction_file.cwl
in:
- id: submission_file
source: download_submission/filepath
- id: validation_file
source: download_goldstandard/filepath
- id: score_submission
source: get_evaluation_parameters/score_submission
- id: fail_missing
valueFrom: $(false)
out:
- id: annotation_json
- id: results_json
- id: status
- id: annotation_string
- id: invalid_reason_string
# - id: annotate_submission
# run: https://raw.githubusercontent.com/Sage-Bionetworks/ChallengeWorkflowTemplates/v2.3/annotate_submissio#n.cwl
# in:
# - id: submissionid
# source: submissionId
# - id: annotation_values
# source: process_prediction_file/annotation_json
# - id: to_public
# valueFrom: $(true)
# - id: force_change_annotation_acl
# valueFrom: $(true)
# - id: synapse_config
# source: synapseConfig
# out: []