Pipelines
On the Next-Generation IEDB Tools (NGT) site, a pipeline chains tools so that the result of one tool becomes the input of the next. A saved pipeline can be shared with collaborators and rerun.
Building a Pipeline
A pipeline is built one step at a time. Once the tools and parameters are set, the same pipeline can run on other input datasets. Build the pipeline on a small subset of the data, then enter the full dataset at the first step and rerun.
Valid Steps
Only some fields of a step can be sent to a downstream step. The valid_steps API endpoint lists every valid next step and the fields it accepts.
To build a pipeline:
Configure and run the first tool. With a small input dataset, set the parameters and click Run.
Filter the results (optional). Use the controls in the result table header to keep only the rows to send to the next tool. See Passing Filtered Results to Downstream Tool.
Select the next tool. When the results appear, the + button in the Pipeline Map sidebar becomes active. Its dropdown lists the tools that accept the results of the current step.
Select the column to send. Each tool in the dropdown has a submenu of the columns it can take as input.
Repeat steps 1 through 4 until the pipeline is complete.
Run the pipeline. Click Run on each step, or choose Run All Above from the Run dropdown of a downstream step:

Removing a step
Only the last step can be removed, with the x button next to its name under Steps. The first step cannot be removed.
Passing Filtered Results to Downstream Tool
After a column is filtered, the result table border turns yellow and the Save Table State button becomes active.
Click Save Table State. The border clears, the button is disabled again, and the filters are saved to the pipeline.
Only the rows from the most recent save pass to the downstream tool.
To send every row after filtering, clear all filters and click Save Table State again. Then select and run the next tool.
If a downstream step already has results, Save Table State asks for confirmation first, because the new table state deletes those results. See Pipeline Lifecycle.
Pipeline Map
The Pipeline Map sidebar shows the pipeline and the controls for building it. It also holds the links for sharing a pipeline, with or without its data. See Saving/Sharing Pipelines.

<< minimizes the sidebar.
opens a dropdown with the pipeline_idandpipeline_spec_idlinks. See Saving/Sharing Pipelines.Info holds the Pipeline Name and Email fields.
Steps lists each step of the pipeline by tool name, for example T Cell Prediction - Class I.
Click the
caret
on a step to show its current input values.+ adds a tool to the pipeline. The output of the last step becomes the input of the new tool.
Icons next to a step name:
The tool is
running.
Results are
available.
Filters are
applied to the results.
Saving/Sharing Pipelines
After any step runs, the pipeline is saved in the database. The share
dropdown in the Pipeline Map offers two links to it: Link to this
pipeline (pipeline_id) and Link to pipeline configuration
(pipeline_spec_id).

Pipeline Steps with Data (pipeline_id)
# https://nextgen-tools.iedb.org/pipeline/{pipeline_id}
https://nextgen-tools.iedb.org/pipeline/6501c8cc-c362-4f98-ae64-a170fd3d3aae
The pipeline_id link reopens the tools, parameter selections, input data,
and results of the pipeline.
Pipeline Steps without Data (pipeline_spec_id)
# https://nextgen-tools.iedb.org/pipeline_spec/{pipeline_spec_id}
https://nextgen-tools.iedb.org/pipeline_spec/ce0b8758-2b5e-4ae1-a340-bef63c30e533
The pipeline_spec_id link reopens only the tools and parameter selections.
No input sequences or results are stored with a pipeline_spec.
Link access and retention
NGT has no user accounts. Anyone with a pipeline_id link can open its input
data and results, and anyone with a pipeline_spec_id link can open its tools
and parameter selections. NGT stores both indefinitely.
Pipeline Lifecycle
Run on a step that has already run deletes the results of every downstream step, after a confirmation popup.
Run All Above, in the Run dropdown of a downstream step, runs every step up to and including that step.
Cancel Run replaces Run while a step runs. Clicking it cancels the run.
A pipeline ID is created and saved whenever a step runs via Run or Run All Above, and whenever Save Table State is clicked.
The confirmation popup shows the URL that reopens the results about to be deleted:

Example Pipelines
One-Step Pipeline
To start a pipeline, select a tool from the home page or from the Tools dropdown at the top right.
In this example, the one-step pipeline is T Cell Prediction - Class I. Set the parameters and click Run:

Two-Step Pipeline
To add a second tool, click the + button. The dropdown lists the tools that accept the results, and each tool has a submenu of the columns it can take:

In this example, the two-step pipeline is T Cell Prediction - Class I and Cluster. Peptide sends the peptide sequences to Cluster. The icore columns of the NetMHCpan methods that ran are also offered.
Set the parameters and click Run:

Three-Step Pipeline
To add a third tool, click the + button under the second step. Tools already in the pipeline are disabled in the dropdown, for example T Cell Prediction - Class I:

In this example, the three-step pipeline is T Cell Prediction - Class I, Cluster, and PEPMatch. Either Peptide or Cluster Consensus can be sent to PEPMatch as its input sequences.
Set the parameters and click Run:
