X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e74cd2fb8d2863e3c40febd5b71a24a1bf945ec5..f4707d4ab4a998a2af2a489141393fc4e793ee89:/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)?$" + } } + } + } + } +}