[ARVADOS] updated: 3e4b42f63c615ca1a7130f7b935d63118874d984

git at public.curoverse.com git at public.curoverse.com
Thu Oct 2 16:30:05 EDT 2014


Summary of changes:
 doc/_config.yml                                 |  1 +
 doc/_includes/_run_command_example.liquid       | 26 +++++++++++++++++++++++++
 doc/user/topics/run-command.html.textile.liquid | 14 +++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 doc/_includes/_run_command_example.liquid
 create mode 100644 doc/user/topics/run-command.html.textile.liquid

       via  3e4b42f63c615ca1a7130f7b935d63118874d984 (commit)
      from  e12e1407240e7362ae4156fe4d32599b9b5d4d8d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 3e4b42f63c615ca1a7130f7b935d63118874d984
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Oct 2 16:29:55 2014 -0400

    4042: Start working on run-command reference page.

diff --git a/doc/_config.yml b/doc/_config.yml
index 3301207..61bfb6f 100644
--- a/doc/_config.yml
+++ b/doc/_config.yml
@@ -39,6 +39,7 @@ navbar:
       - user/tutorials/tutorial-firstscript.html.textile.liquid
       - user/tutorials/tutorial-submit-job.html.textile.liquid
       - user/topics/tutorial-parallel.html.textile.liquid
+      - user/topics/run-command.html.textile.liquid
       - user/examples/crunch-examples.html.textile.liquid
     - Query the metadata database:
       - user/topics/tutorial-trait-search.html.textile.liquid
diff --git a/doc/_includes/_run_command_example.liquid b/doc/_includes/_run_command_example.liquid
new file mode 100644
index 0000000..6de156d
--- /dev/null
+++ b/doc/_includes/_run_command_example.liquid
@@ -0,0 +1,26 @@
+"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.foreach": ["samples", "pairs"],
+        "task.stdout": "$(basename $(glob $(dir $(sample))/*_1.fastq)).sam"
+        "reference_collection": {
+            "required": true,
+            "dataclass": "Collection"
+        },
+        "samples": {
+            "required": true,
+            "dataclass": "Collection"
+        },
+    }
+}
diff --git a/doc/user/topics/run-command.html.textile.liquid b/doc/user/topics/run-command.html.textile.liquid
new file mode 100644
index 0000000..1a2616b
--- /dev/null
+++ b/doc/user/topics/run-command.html.textile.liquid
@@ -0,0 +1,14 @@
+---
+layout: default
+navsection: userguide
+title: "run-command reference"
+...
+
+The @run-command@ crunch script provides a way to run a command over a dataset.  Run-command is controlled through the script_parameters section of a pipeline component.
+
+<notextile>{% code 'run_command_example' as javascript %}</notextile>
+
+The script_parameters section consists of three parts:
+* The @command@ section defining how to build the command line of task
+* Special processing directives @task.foreach@ @task.cwd@ @task.vwd@ @task.stdin@ @task.stdout@
+* User-defined parameters

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list