Invoke 'CarboSeqRun' workflow into a history with an input data.

invokeCarboseqworkflow(
  input_data_info,
  chunck_size,
  workflow_id,
  server,
  api_key
)

Arguments

input_data_info

Input data information. input_data_info contains input data id and history id.

chunck_size

Input parameter (Integer given as str). Value should be adapted to input_data_info size.

workflow_id

'CarboSeqRun' workflow id

server

Siwaa server url

api_key

Available Siwaa API KEY

Value

invocation_id Id of workflow invocation

Details

Return the workflow invocation id, that will be useful to survey/follow progression of the workflow invocation (step before being able to identify the output data id, then survey/follow progression and finally download the result file (when ready)).

Important : specific of 'CarboSeqRun' workflow. Code written for the case of a workflow with 'same' main inputs than it.

2 inputs have to be prepared : 'main_input' dataset (zip) and 'chunck_size' parameter (integer)

Note : Code allowing to identify inputs indexes : url = paste(SERVER, "/api/workflows/", WORKFLOW_ID, sep="") headers=c("x-api-key"=API_KEY) r <- httr::GET(url=url, httr::add_headers(.headers=headers)) wf = httr::content(r) #print(wf) #print(wf$'inputs') # => indexes main_input:'0' chunck_size:'1'