X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ff9d78bbeb09ca917f0814c6055c47db5a4e7e4a..c1ab715afeb9c095efed7e6064ce10021c067c35:/doc/_includes/_run_command_simple_example.liquid?ds=sidebyside diff --git a/doc/_includes/_run_command_simple_example.liquid b/doc/_includes/_run_command_simple_example.liquid index abd0071503..b37ae9a88b 100644 --- a/doc/_includes/_run_command_simple_example.liquid +++ b/doc/_includes/_run_command_simple_example.liquid @@ -1,29 +1,42 @@ +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + { "name":"run-command example pipeline", "components":{ - "bwa-mem": { + "bwa-mem": { "script": "run-command", "script_version": "master", "repository": "arvados", "script_parameters": { "command": [ - "bwa", + "$(dir $(bwa_collection))/bwa", "mem", "-t", "$(node.cores)", + "-R", + "@RG\\\tID:group_id\\\tPL:illumina\\\tSM:sample_id", "$(glob $(dir $(reference_collection))/*.fasta)", "$(glob $(dir $(sample))/*_1.fastq)", "$(glob $(dir $(sample))/*_2.fastq)" ], - "task.stdout": "$(basename $(glob $(dir $(sample))/*_1.fastq)).sam", "reference_collection": { "required": true, "dataclass": "Collection" }, + "bwa_collection": { + "required": true, + "dataclass": "Collection", + "default": "39c6f22d40001074f4200a72559ae7eb+5745" + }, "sample": { "required": true, "dataclass": "Collection" - } + }, + "task.stdout": "$(basename $(glob $(dir $(sample))/*_1.fastq)).sam" } } }