-
-~/arvados/doc/user/cwl/bwa-mem$ arvados-cwl-runner --create-template bwa-mem.cwl
+~/arvados/doc/user/cwl/bwa-mem$ arvados-cwl-runner --create-template bwa-mem.cwl
arvados-cwl-runner 1.0.20160628195002, arvados-python-client 0.1.20160616015107, cwltool 1.0.20160629140624
2016-07-01 12:21:01 arvados.arv-run[15796] INFO: Upload local files: "bwa-mem.cwl"
2016-07-01 12:21:01 arvados.arv-run[15796] INFO: Uploaded to 3d0ga-4zz18-7e0hedrmkuyoei3
@@ -122,8 +121,7 @@ arvados-cwl-runner 1.0.20160628195002, arvados-python-client 0.1.20160616015107,
You can provide a partial input file to set default values for the Workflow input parameters:
-
-~/arvados/doc/user/cwl/bwa-mem$ arvados-cwl-runner --create-template bwa-mem.cwl bwa-mem-template.yml
+~/arvados/doc/user/cwl/bwa-mem$ arvados-cwl-runner --create-template bwa-mem.cwl bwa-mem-template.yml
arvados-cwl-runner 1.0.20160628195002, arvados-python-client 0.1.20160616015107, cwltool 1.0.20160629140624
2016-07-01 14:09:50 arvados.arv-run[3730] INFO: Upload local files: "bwa-mem.cwl"
2016-07-01 14:09:50 arvados.arv-run[3730] INFO: Uploaded to 3d0ga-4zz18-0f91qkovk4ml18o
@@ -136,8 +134,6 @@ h2. Making workflows directly executable
You can make a workflow file directly executable (@cwl-runner@ should be an alias to @arvados-cwl-runner@) by adding the following line to the top of the file:
-*bwa-mem.cwl*
-
#!/usr/bin/env cwl-runner
@@ -165,11 +161,9 @@ arvados-cwl-runner 1.0.20160628195002, arvados-python-client 0.1.20160616015107,
You can even make an input file directly executable the same way with the following two lines at the top:
-*bwa-mem-input.yml*
-
#!/usr/bin/env cwl-runner
-cwl:tool: bwa-mem.cwl
+cwl:tool: bwa-mem.cwl
@@ -195,15 +189,14 @@ arvados-cwl-runner 1.0.20160628195002, arvados-python-client 0.1.20160616015107,
h2. Developing workflows
-For an introduction and and detailed documentation about writing CWL, see the "User Guide":http://commonwl.org/draft-3/UserGuide.html and the "Specification":http://commonwl.org/draft-3 .
+For an introduction and and detailed documentation about writing CWL, see the "User Guide":http://commonwl.org/draft-3/UserGuide.html and the "Specification":http://commonwl.org/draft-3.
To run on Arvados, a workflow should provide a @DockerRequirement@ in the @hints@ section.
When developing a workflow, it is often helpful to run it on the local host to avoid the overhead of submitting to the cluster. To execute a workflow only on the local host (without submitting jobs to an Arvados cluster) you can use the @cwltool@ command. Note that you must also have the input data accessible on the local host. You can use @arv-get@ to fetch the data from Keep.
-
-~/arvados/doc/user/cwl/bwa-mem$ arv-get 2463fa9efeb75e099685528b3b9071e0+438/ .
+~/arvados/doc/user/cwl/bwa-mem$ arv-get 2463fa9efeb75e099685528b3b9071e0+438/ .
156 MiB / 156 MiB 100.0%
~/arvados/doc/user/cwl/bwa-mem$ arv-get ae480c5099b81e17267b7445e35b4bc7+180/ .
23 MiB / 23 MiB 100.0%