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 create pipeline_template@ to create an empty template. This will open the template record in an interactive text editor (as specified by $EDITOR or $VISUAL, otherwise defaults to @nano@).
15 <pre><code>~$ <span class="userinput">arv create pipeline_template</span>
19 Replace the empty fields with the following content:
21 <notextile>{% code 'tutorial_bwa_pipeline' as javascript %}</notextile>
23 Your new pipeline template will appear on the Workbench "Pipeline templates":https://{{ site.arvados_workbench_host }}/pipeline_templates page.
25 For more information and examples for writing pipelines, see the "pipeline template reference":{{site.baseurl}}/api/schema/PipelineTemplate.html