~/you/crunch_scripts$ cat >~/the_pipeline <<EOF
{
"name":"Filter md5 hash values",
"components":{
"do_hash":{
"script":"hash.py",
"script_parameters":{
"input":{
"required": true,
"dataclass": "Collection"
}
},
"repository":"you",
"script_version":"master",
"output_is_persistent":false
},
"filter":{
"script":"0-filter.py",
"script_parameters":{
"input":{
"output_of":"do_hash"
}
},
"repository":"you",
"script_version":"master",
"output_is_persistent":true
}
}
}
EOF
* @"output_of"@ indicates that the @output@ of the @do_hash@ component should be used as the @"input"@ parameter for the @filter@ component. Arvados determines the correct order to run the jobs when such dependencies are present.
Now, use @arv pipeline_template create@ tell Arvados about your pipeline template: