invokeCarboseqworkflow.Rd
Invoke 'CarboSeqRun' workflow into a history with an input data.
invokeCarboseqworkflow(
input_data_info,
chunck_size,
workflow_id,
server,
api_key
)
invocation_id Id of workflow invocation
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'