4 title: "Writing a multi-step pipeline"
7 A pipeline in Arvados is a collection of crunch scripts, in which the output from one script may be used as the input to another script.
9 {% include 'tutorial_expectations' %}
12 First, use @arv pipeline_template create@ to create a new empty template. The @--format=uuid@ option will print out the unique identifier for the new template:
15 <pre><code>~$ <span class="userinput">arv --format=uuid pipeline_template create --pipeline-template '{}'</span>
16 qr1hi-p5p6p-wt1vdhkezgx7g2k
20 Next, use @arv edit@ to edit the template. This will open the template record in an interactive text editor (as specified by $EDITOR or $VISUAL, otherwise defaults to @nano@). Replace the empty fields with the following content:
22 <notextile>{% code 'tutorial_bwa_pipeline' as javascript %}</notextile>
25 Your new pipeline template will appear on the Workbench "Pipeline templates":https://{{ site.arvados_workbench_host }}/pipeline_templates page.
27 For more information and examples for writing pipelines, see the "pipeline template reference":{{site.baseurl}}/api/schema/PipelineTemplate.html