X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0eb4abfca9127ad1a7a8153840f876e512c624cb..88c382d13b3d6e6f3b03ba0d5139ad9552c3c359:/doc/_includes/_run_command_simple_example.liquid diff --git a/doc/_includes/_run_command_simple_example.liquid b/doc/_includes/_run_command_simple_example.liquid index dfa14c954d..3f695934ae 100644 --- a/doc/_includes/_run_command_simple_example.liquid +++ b/doc/_includes/_run_command_simple_example.liquid @@ -1,25 +1,37 @@ -"bwa-mem": { - "script": "run-command", - "script_version": "master", - "repository": "arvados", - "script_parameters": { - "command": [ - "bwa", - "mem", - "-t", - "$(node.cores)", - "$(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" - }, - "samples": { - "required": true, - "dataclass": "Collection" - }, +{ + "name":"run-command example pipeline", + "components":{ + "bwa-mem": { + "script": "run-command", + "script_version": "master", + "repository": "arvados", + "script_parameters": { + "command": [ + "$(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)" + ], + "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" + } + } } }