Create a pipeline in 5 minutes

Before creating the pipeline, convert all local data files into Data Assets as the same data will be used in the pipeline. Using data assets will improve the performance of the pipeline by ensuring data is passed smoothly through Nextflow channels. To learn more about data assets refer to the Data Assets Guide.

Create a data asset from sample-data.txt with the following steps:

  1. Download the sample-data.txt file to your computer

  2. Click Manage Datasets at the data folder in your file tree system

  3. Click Attach Data

  4. Click Add Dataset

  5. Select Local files

  6. Click Next

  7. Click Choose Files

  8. Select sample-data.txt file

  9. Name the dataset and default folder Sample_Data and a tag of test.

  10. Click Add dataset

Create a new Pipeline

To navigate to the Pipeline:

  1. Click Pipeline

  2. Click Add Pipeline, Create New

Add the Capsule to the Pipeline

In the Add Capsules menu, find "My First Capsule" and drag it onto the pipeline building area.

Form a Capsule Connection

To ensure that the capsule's results are saved after each run, connect the capsule to the results bucket:

  1. Click + at the bottom of the capsule

Attach the Data Asset

To attach the Sample_Data data asset to the pipeline's data folder:

  1. Click Manage Datasets at the data folder of the file tree system

  2. Click Attach Data

  3. Select the Sample_Data data asset from the dropdown menu

Passing the file to the Destination Capsule

In the current configuration of the pipeline, the capsule expects to find a sample-data.txt file in the data folder but finds a folder named Sample_Data. To correct this:

  1. Click on the gear in the middle of the data to capsule connection

  2. In the pop-up menu set the source path to data/Sample_data/sample-data.txt

3. To run the pipeline click Reproducible Run at the top right of the pipeline page

4. Once the run is complete, the contents of the result bucket can be viewed in the Timeline

This tutorial demonstrated how to create a simple single-capsule pipeline but the Visual Pipeline Builder also supports the creation of complex multi-capsule pipelines.

Last updated