~/$USER/crunch_scripts$ cd ~
-~$ cat >the_pipeline <<EOF
-{
- "name":"My md5 pipeline",
- "components":{
- "do_hash":{
- "script":"hash.py",
- "script_parameters":{
- "input":{
- "required": true,
- "dataclass": "Collection"
- }
- },
- "repository":"$USER",
- "script_version":"master",
- "output_is_persistent":true,
- "runtime_constraints":{
- "docker_image":"arvados/jobs-java-bwa-samtools"
- }
- }
- }
-}
-EOF
-
+~$ arv create pipeline_template
~$ arv pipeline_template create --pipeline-template "$(cat the_pipeline)"
-
-