@@ -8,6 +8,7 @@ task GetInputs {
88 String dss_url
99 Int retry_seconds
1010 Int timeout_seconds
11+ String pipeline_tools_version
1112
1213 command <<<
1314 # Force the binary layer of the stdout and stderr streams to be unbuffered.
@@ -24,7 +25,7 @@ task GetInputs {
2425 CODE
2526 >>>
2627 runtime {
27- docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:v0.21.0"
28+ docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:" + pipeline_tools_version
2829 }
2930 output {
3031 String sample_id = read_string ("inputs.tsv" )
@@ -35,6 +36,7 @@ task GetInputs {
3536task inputs_for_submit {
3637 Array [Array [File ]] fastq_inputs
3738 Array [Object ] other_inputs
39+ String pipeline_tools_version
3840
3941 command <<<
4042 # Force the binary layer of the stdout and stderr streams to be unbuffered.
@@ -66,7 +68,7 @@ task inputs_for_submit {
6668 >>>
6769
6870 runtime {
69- docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:v0.21.0"
71+ docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:" + pipeline_tools_version
7072 }
7173
7274 output {
@@ -79,6 +81,7 @@ task outputs_for_submit {
7981 Array [Array [File ]] umi_metrics
8082 Array [Array [File ]] duplicate_metrics
8183 Array [File ] other_outputs
84+ String pipeline_tools_version
8285
8386 command <<<
8487 # Force the binary layer of the stdout and stderr streams to be unbuffered.
@@ -106,7 +109,7 @@ task outputs_for_submit {
106109 >>>
107110
108111 runtime {
109- docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:v0.21.0"
112+ docker : "quay.io/humancellatlas/secondary-analysis-pipeline-tools:" + pipeline_tools_version
110113 }
111114
112115 output {
@@ -139,14 +142,16 @@ workflow AdapterOptimus {
139142
140143 # Set runtime environment such as "dev" or "staging" or "prod" so submit task could choose proper docker image to use
141144 String runtime_environment
145+ String pipeline_tools_version = "v0.22.0"
142146
143147 call GetInputs as prep {
144148 input :
145149 bundle_uuid = bundle_uuid ,
146150 bundle_version = bundle_version ,
147151 dss_url = dss_url ,
148152 retry_seconds = retry_seconds ,
149- timeout_seconds = timeout_seconds
153+ timeout_seconds = timeout_seconds ,
154+ pipeline_tools_version = pipeline_tools_version
150155 }
151156
152157 call Optimus .Optimus as analysis {
@@ -184,7 +189,8 @@ workflow AdapterOptimus {
184189 "name" : "ref_genome_fasta" ,
185190 "value" : ref_genome_fasta
186191 }
187- ]
192+ ],
193+ pipeline_tools_version = pipeline_tools_version
188194 }
189195
190196 call outputs_for_submit {
@@ -197,7 +203,8 @@ workflow AdapterOptimus {
197203 analysis .matrix ,
198204 analysis .matrix_summary ,
199205 analysis .picard_metrics
200- ]
206+ ],
207+ pipeline_tools_version = pipeline_tools_version
201208 }
202209
203210 Array [Object ] inputs = read_objects (inputs_for_submit .inputs )
@@ -217,6 +224,7 @@ workflow AdapterOptimus {
217224 retry_seconds = retry_seconds ,
218225 timeout_seconds = timeout_seconds ,
219226 runtime_environment = runtime_environment ,
220- use_caas = use_caas
227+ use_caas = use_caas ,
228+ pipeline_tools_version = pipeline_tools_version
221229 }
222230}
0 commit comments