Getting Started
The Next-Generation IEDB Tools (NGT) site shares one set of input boxes, parameter controls, and result tables across its tools. This page describes those shared parts, using T cell - class I as the example. Each tool page covers only what is specific to that tool and links here for the rest.
First Prediction
The steps below run one binding prediction with default settings.
Open T cell - class I.
Paste sequences into the Input Sequence(s) box. Any format under Input Sequence Formats is accepted. The FASTA example there works as is.
Leave Peptide Length at 9. See Peptide Lengths.
Leave the MHC Allele(s) box at its default,
HLA-A*02:01. See MHC Alleles.Leave Prediction Model(s) at its default, NetMHCpan 4.1 EL. See Prediction Models.
Click Run. The button reads Cancel Run while the job runs, and the result table appears below the form when it finishes. See Running a Prediction and Tabular Results. To pass the results to another tool, see Sending Results to Another Tool.
Sending Results to Another Tool
The result table of one tool can be sent as the input of a compatible tool. Tools chained this way form a pipeline. The steps below continue the First Prediction run by sending its peptides to Cluster.
Filter the result table to the rows to send, then click Save Table State. The pipeline passes on the rows from the most recent save. Without a saved filter, every row is sent. See Passing Filtered Results to Downstream Tool.
In the Pipeline Map sidebar, click the + button under the T cell class I step. The dropdown lists the tools that accept its results.
Choose Cluster, then the column to send. Peptide sends the peptide sequences. The NetMHCpan icore columns are also offered.

The Cluster form opens with the peptides as its input. Leave the parameters at their defaults and click Run.

The same + button under the Cluster step adds a third tool. The Pipelines page covers Run All Above, the pipeline map, and saving or sharing a pipeline.
Input Sequence Formats
Most tools take protein or peptide sequences as input through a text box like the one below.

Drag and drop
Drop a file anywhere inside the input box to load its contents.
The box accepts four formats.
FASTA
FASTA is a plain-text format for
amino acid and nucleotide sequences. Each record has a descriptor line that
begins with > and holds the sequence title, followed by one or more lines of
sequence.
Example:
>seq1
LKCFGNTAVAKCNVNHDAEFCDMLRLIDYNKAALSKFKEDVESALHLFKTTVNSLISDQ
LLMRNHLRDLMGVPYCNYSKFWYLEHAKTGETSVPKCWLVTNGSYLNETHFSDQIEQEA
DNMITEMLRKDYIKRQGSTPLALMDLLMFSTSAYLVSIFLHLVKIPTHRHIKGGSCPKP
HRLTNKGICSCGAFKVPGVKTVWKRR
>seq2
YGLKGPDIYKGVYQFKSVEFDMSHLNLTMPNACSANNSHHYISMGTSGLELTFTNDSII
SHNFCNLTSAFNKKTFDHTLMSIVSSLHLSIRGNSNYKAVSCDFNNGITIQYNLTFSDA
QSAQSQCRTFRGRVLDMFRTAFGGKYMRSGWGWTGSDGKTTWCSQTSYQYLII
Whitespace-Separated
A list of sequences without titles, separated by whitespace. Peptides are the usual input in this format, but full-length proteins are accepted.
Delimiter
Any whitespace character (space, tab, or newline) separates sequences.
Newline-separated example:
LKCFGNTAVA
PYCNYSKFWY
TLMSIVSSLH
Space-separated example:
LKCFGNTAVA PYCNYSKFWY TLMSIVSSLH
Named Whitespace-Separated
Two columns separated by spaces or tabs: a sequence title in the first column and the sequence in the second.
Example:
seq1 LKCFGNTAVA
seq2 PYCNYSKFWY
seq3 TLMSIVSSLH
The title may contain only letters, digits, hyphens (-), underscores (_),
and periods (.).
Two columns always mean a title
The first column is read as the title even when it is itself a valid peptide,
so PEPTIDASE LKCFGNTAVA is the peptide LKCFGNTAVA titled PEPTIDASE. Put
each sequence on its own line to submit both as sequences.
JSON
A JSON file holding a list of objects, each with a name and a sequence
key.
Example:
[
{
"name":"seq1",
"sequence":"LKCFGNTAVA"
},
{
"name":"seq2",
"sequence":"PYCNYSKFWY"
},
{
"name":"seq3",
"sequence":"TLMSIVSSLH"
}
]
Phosphorylated Residues
Most predictors accept only the 20 standard amino acids. NetMHCphosPan is the exception: it scores phosphorylated peptides, and the phosphorylated residue is marked by writing that single letter in lowercase.
| Character | Residue |
|---|---|
s |
phosphoserine |
t |
phosphothreonine |
y |
phosphotyrosine |
S, T, Y |
the unmodified residues |
Every other character in the sequence stays uppercase. Example:
EESDPPtYK
MSSVAVLtQ
SVAVLTQEs
The first peptide carries a phosphothreonine at position 7, the second a phosphothreonine at position 8, and the third a phosphoserine at position 9.
Lowercase residues in other methods
Only NetMHCphosPan reads lowercase s, t, and y as phosphorylated
residues. Every other method converts the sequence to uppercase before
scoring and does not report the change, so SVAVLtQES and SVAVLTQES
produce the same rows.
Unsupported notations
Lowercase s, t, and y are the only accepted way to mark a phosphorylated
residue. Other conventions, such as pS, pT, pY, mass offsets like
S[+79.966], or separators like S-P, are not recognized, and neither is a
sequence typed entirely in lowercase. Any peptide containing an unrecognized
character is skipped, so the prediction completes with fewer rows than were
submitted.
Prediction Parameters
Every parameter has a default value, and most tools share the controls described here.
Peptide Lengths

The default length is 9. Each input sequence longer than the selected length
is broken into overlapping peptides of that length. For example,
RQGSTPLALMDL becomes four 9-mers: RQGSTPLAL, QGSTPLALM, GSTPLALMD,
and STPLALMDL.
The slider selects one or more lengths.

A sequence shorter than a selected length is not predicted at that length. A
9-mer such as RQGSTPLAL yields no 10-mers or 11-mers, and the tool reports a
warning when the run starts.

The as-is checkbox at the right end of the slider disables the slider and submits each sequence at its own length.

Peptide length
Most MHC class I predictors are data-driven and are retrained and benchmarked regularly. Length 9 is the class I binding default because of its importance for binding prediction accuracy. Other lengths are predicted with an approximation approach.
Nielsen and Andreatta 2016 describes how data across peptide lengths are combined in the predictions.
MHC Alleles
The MHC Allele(s) box is a search field.

Typing part of an allele name lists the matching alleles, and selecting one adds it to the box.

Allele synonyms
A suggestion may list other names beside it:

The names in parentheses are synonyms for the same allele. In the example,
HLA-A0201, HLA-A02:01, and HLA-A*020101 all refer to HLA-A*02:01.
Allele Finder
The Allele Finder button to the right of the search box opens a modal with an allele search bar on the left and Add Allele Group(s) on the right.

The search bar finds individual alleles, and each group button adds a predefined panel. The class II modal has the same controls plus the Human: 7 Allele Panel.

| Group | Class I | Class II |
|---|---|---|
| Human: 27 Allele Panel | The IEDB reference panel of 27 HLA-A and HLA-B alleles, which covers more than 97% of the human population. | The IEDB reference panel of 27 HLA-DR, DQ, and DP alleles, which covers more than 99% of the human population. |
| Human: 7 Allele Panel | Not offered. | Seven HLA-DR alleles that are common in the human population and cover a broad range of binding specificities (Paul et al. 2015). |
| Mouse: H2-b haplotype | H2-Kb, H2-Db |
H2-IAb |
| Mouse: H2-d haplotype | H2-Kd, H2-Dd, H2-Ld |
H2-IAd, H2-IEd |
The mouse panels follow the Mouse Haplotype Table.
Selected alleles are listed inside the modal.

Clear Selected Allele(s) empties the list. Submit closes the modal and adds the selection to the MHC Allele(s) box on the page.

Prediction Models
The Prediction Model(s) section selects the algorithms to run. On T cell class I, several can run against the same input in one job. The selection on page load is:

This configuration runs an MHC binding prediction with NetMHCpan 4.1 EL. The Add Another Prediction dropdown adds a model:

Each added model brings its own row of controls. For pMHC Immunogenicity, the row holds a Positions To Mask dropdown:

Further models, including additional binding algorithms, are added the same way:

The result table has one row per peptide and allele, with a set of columns for each selected model.
Method ordering
Models can be selected in any order and rearranged by dragging the handle on the left of each row. The order affects only the result table, whose columns follow the model order.
Running a Prediction
Run starts the prediction with the current inputs and parameters. A job takes from a few seconds to several hours, depending on the size of the input, the number of parameter combinations, and server load.
Returning to an Analysis
While the job runs, the blue Run button becomes a red Cancel Run button, and a loading message appears beneath it:

The job continues if the browser window is closed.
The link in the loading box opens a form for an email address. When the job completes, a link back to the page is sent to that address.
Reloading the page URL also reopens the analysis. Each URL carries a unique pipeline ID:
# domain name/pipeline/pipeline ID
https://nextgen-tools.iedb.org/pipeline/1b94715b-b191-44ca-b3f3-76733599d820
Warnings and Errors
On submission, the inputs and parameters are checked for compatibility.
Issues that prevent part of the request from running appear as warnings below the Run button. The rest of the request continues to run. Cancel Run stops it, so that the inputs or parameters can be corrected and resubmitted.

Issues that prevent the whole request from running raise an error, shown below the Run button:

Most warnings and errors appear before any prediction runs. For help interpreting one, post a topic on the Tools Discussion board.
Changing Parameters After a Prediction
After results are returned, the inputs and parameters can be changed and the
prediction rerun. Any control whose value differs from the completed run is
outlined in yellow. For example, after a run for HLA-A*02:01, adding
HLA-A*01:01 outlines the allele control:

The outline indicates that the displayed results do not match the current inputs and parameters.
Tabular Results
Most tools return their results as a table. The controls described here sort and filter rows, choose the displayed columns, save the table state, and download the data.
Sorting
Each table opens in a default sort order defined by the tool. Each column
header carries controls for sorting (
)
and filtering (
).
Clicking an arrow sorts the table by that column.
The up arrow (
) sorts in ascending order.
The down arrow (
) sorts in descending order.
For example, clicking the down arrow on netmhcpan_el score sorts that column in descending order:

A multi-sort orders the rows by more than one column. Click the arrow on the
primary column, then hold Shift and click the arrows on each further column.
A number in each sorted header shows the column’s position in the sort.
Sorting first by netmhcpan_el score, then by smmpmbec percentile,
and then by immunogenicity score gives:

Reset Table
( )
restores the default sort.
Sort Order Badges
Whenever two or more columns take part in the sort, each sorted column header shows a small numbered pill. The number is the column’s position in the sorting strategy: 1 is the primary sort key, 2 is the secondary key, and so on. Hovering over a pill shows the tooltip “number indicates sort order”.
Some tools define a multi-column default sort, so their tables open with the pills already visible before you have clicked anything. For instance, the Conservancy Alignment Details table opens sorted by Epitope # (pill 1) and then by % Identity (pill 2). A pill on a hidden column is not shown, so in that table only pill 2 is visible until Epitope # is turned on with Display Columns.
The pills are only shown while at least two columns are sorted. A plain click on
any column header, or choosing Sort A→Z / Sort Z→A from a
column’s filter menu, replaces the whole sorting strategy with that single
column, so the pills disappear. To bring them back, hold Shift while clicking
additional column headers as described above, or click Reset Table to
restore the tool’s default sort.
The following tables open with a multi-column default sort:
| Tool | Table | Default sort keys, in order |
|---|---|---|
| T cell class I binding | Peptide table | median percentile, per-method score or IC50, seq # |
| T cell class I binding, multiple methods | Consolidated peptide table | overall median percentile, global median percentile |
| T cell class II binding | Peptide table | median percentile, EL score, EL percentile, seq # |
| T cell class I processing | Peptide table | median percentile, processing score, IC50, seq # |
| B Cell sequence | Linear epitope table / Residue table | seq #, start, end / seq #, position |
| B Cell structure | Linear epitope table / Residue table | chain, start, end / chain, residue # |
| Conservancy | Alignment Details | Epitope #, % Identity |
All other tables open with a single sort key, so no pills appear until you add
a second column with Shift + click.
Filtering
The filter icon in a column header opens a menu:

The controls depend on the data type of the column. Numeric columns filter by value range, and string columns filter on specific values.
Continuing the example above, Min is set to 0.8:

After OK, rows with a value below 0.8 in that column are removed:

The cell borders turn yellow. This marks an uncommitted state change, described under Table States.
Table States
The NGT servers track the state of each analysis: its parameters, its inputs, and the state of each result table.
Applying row filters and changing the displayed columns are the two ways the state of a table changes.
Until a change is sent to the server, reloading the analysis from its URL discards it.
Uncommitted changes are shown with yellow borders around each cell of the table. Save Table State at the top of the table commits them:

After the save, the borders return to their original color, and the current filters are applied each time the URL is loaded.
Show/Hide Columns
Some predictor selections return many columns, and not all of them are displayed.
Display Columns at the top of the table changes the displayed set:

The modal lists every available column, with a short description of its contents, and marks which columns are currently displayed:

Display at the bottom right applies the selection to the table.
Select/deselect columns
Columns used by the active sort or filter cannot be hidden.
The table updates only after Display is clicked.
Default restores the initial column set.
Downloads
Download at the top of the table saves the results as TSV, CSV or JSON. The menu offers All Rows or Displayed Rows:

The two choices differ in both the rows and the columns they carry:
| Rows | Columns | |
|---|---|---|
| All Rows | The whole table, in the current sort order. Filters are ignored. | Every column, including any left hidden in Display Columns. |
| Displayed Rows | The current page only, with filters applied. The page follows the rows-per-page selector, so showing 100 rows exports 100. | Only the columns currently shown. |
Hidden columns and downloads
Because some columns are hidden by default, see Show/Hide Columns, the two downloads are not the same export at different sizes. A hidden column is present in an All Rows file whether or not it has been switched on, and absent from a Displayed Rows file unless it has. To get one page’s worth of data including a hidden column, show the column first.