~/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"
}
},
"script_version":"you:master"
},
"filter":{
"script":"0-filter.py",
"script_parameters":{
"input":{
"output_of":"do_hash"
}
},
"script_version":"you:master"
}
}
}
EOF
* @"output_of"@ indicates that the @input@ of the @do_hash@ component is connected to the @output@ of @filter@. This is a _dependency_. Arvados uses the dependencies between jobs to automatically determine the correct order to run the jobs.
Now, use @arv pipeline_template create@ tell Arvados about your pipeline template: