X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/50de1d57245ed33b7f0a563eef9da73f16e0ca6c..47e59a35d5ed9b2cdb052894d741972324058505:/doc/_includes/_run_command_foreach_example.liquid diff --git a/doc/_includes/_run_command_foreach_example.liquid b/doc/_includes/_run_command_foreach_example.liquid index 828499f51f..8e3dd713d1 100644 --- a/doc/_includes/_run_command_foreach_example.liquid +++ b/doc/_includes/_run_command_foreach_example.liquid @@ -1,3 +1,9 @@ +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + { "name":"run-command example pipeline", "components":{ @@ -15,25 +21,10 @@ { "foreach": "read_pair", "command": "$(read_pair)" - }, - "$(glob $(dir $(sample))/*_1.fastq)", - "$(glob $(dir $(sample))/*_2.fastq)" + } ], "task.stdout": "$(basename $(glob $(dir $(sample))/*_1.fastq)).sam", "task.foreach": ["sample_subdir", "read_pair"], - "reference_collection": "2463fa9efeb75e099685528b3b9071e0+438", - "samples": "df45f4be79668b6d3d974e24f78e766f+149", - "sample_subdir": "$(dir $(samples))", - "read_pair": { - "group": "sample_subdir", - "regex": "(.*)_[12]\\.fastq(\\.gz)?$" - } - } - } - } -} - - "reference_collection": { "required": true, "dataclass": "Collection" @@ -41,4 +32,15 @@ "sample": { "required": true, "dataclass": "Collection" + }, + "sample_subdir": "$(dir $(sample))", + "read_pair": { + "value": { + "group": "sample_subdir", + "regex": "(.*)_[12]\\.fastq(\\.gz)?$" + } } + } + } + } +}