Conservancy
The Conservancy (Epitope Conservancy Analysis) tool calculates the fraction of protein sequences in a set that contain a given epitope at or above a chosen identity level. Identity is the percent of epitope positions that match the aligned protein sub-sequence.
Counting matches below the threshold instead gives variability. Conserved epitopes are candidates for vaccines, since they are present across strains or species. Variable epitopes are candidates for diagnostics, since they distinguish one strain from another.
Methods
For each epitope and each protein, the tool finds the best gapless alignment of the full epitope within the protein. It then reports the fraction of proteins in which that alignment meets the identity threshold.
Linear epitopes. A protein of length n is divided into every sub-sequence of length m, the epitope length, giving n - m + 1 candidates. Identity for each candidate is the percent of positions holding the same residue as the epitope. The candidate with the highest identity is the reported alignment. When two candidates tie, for example in a repeat region, the first occurrence in the protein is reported. Each epitope and protein pair produces one alignment.
Discontinuous epitopes. A discontinuous epitope such as A1, B3, C6 is expanded into the continuous pattern A X B X X C, where X matches any residue and the number of X characters equals the gap between defined positions. The pattern is aligned as a linear epitope, with identity scored over the defined residues only. The reported Length of a discontinuous epitope is the number of defined residues; the span of the pattern is not reported. A discontinuous epitope with fewer than three defined residues is accepted but scores zero for every protein (see the warning under Epitope sequences).
Reference: Bui HH, Sidney J, Li W, Fusseder N, Sette A. 2007. Development of an epitope conservancy analysis tool to facilitate the design of epitope-based diagnostics and vaccines. BMC Bioinformatics 8:361. [PMID: 17897458]
Input Data

The form has two input boxes: epitope sequences on the left and protein sequences on the right. Each box accepts typed or pasted text or a file uploaded through the button above it. The epitope box accepts up to 10,000 characters and the protein box up to 500,000. An indicator beneath each box shows the detected format and the character count. After a run is submitted, the download button returns the input as JSON, FASTA, or Original.
Both boxes accept two formats, detected automatically:
FASTA: a description line beginning with
>, followed by lines of sequence data. The description is used as the name in all results tables.Plain: one sequence per line, no names. The form reports this format as
Un-named White Spaceand names the entriessequence_1,sequence_2, and so on.
Epitope sequences
Epitopes are entered as linear or discontinuous sequences, and the format must match the Analysis type parameter.
| Epitope type | How it is written | Example |
|---|---|---|
| Linear | Amino acid single-letter code | MSASKEVKSFLWTQS |
| Discontinuous | Alphanumeric residues separated by commas, each giving a residue and its position | S1,C4,S5,I7,K8 |
Discontinuous epitopes need at least three residues
A discontinuous sequence with fewer than three identified residues is accepted but not scored. The run completes without an error or warning and reports 0 matched proteins and 0% for both Min and Max Identity, even when the residues are present in the proteins. Use at least three residues.
For discontinuous input, the format indicator under the epitope box reads Error | 0 characters. This is a display issue only, and the run proceeds when the analysis type is set to discontinuous.
Protein sequences
Protein sequences must be linear amino acid sequences in single-letter code. Discontinuous notation is rejected as an invalid character. For a linear analysis, each epitope must be no longer than the shortest protein in the set. A longer epitope is rejected before the run starts, and the error message names the epitope.
>58643 Lassa NP
MSASKEVRSFLWTQSLRRELSGYCSNIKLQVVKDAQALLHGLDFSEVSNVQRLMRKQ
All percentages in the results are calculated against this set, so its composition determines what the percentages represent. For best results, build the protein set so that redundant sequences are removed and different substrains and serotypes are represented in balance.
Parameter Selection

Three settings control the calculation, and none of them opens additional fields.
Analysis type
Linear sequence conservancy: epitopes entered as amino acid sequences.
Discontinuous sequence conservancy: epitopes entered as comma-separated residue and position pairs.
This setting determines how the epitope box is parsed and must match the format entered there.
Identity Threshold (%)
The threshold has two controls: a comparison operator and a slider from 0 to 100. The default is >= at 100%.
>=counts a protein as a match when the epitope aligns at or above the threshold, which reports conservancy.<counts a protein as a match when the epitope aligns below the threshold, which reports variability.
At >= 100%, only exact occurrences count. Lower thresholds also count proteins in which the best alignment contains substitutions. At any threshold, each protein contributes only its best alignment for each epitope.
Duplicate handling
Remove duplicated protein sequences removes identical sequences from the protein set before the calculation. It is off by default, and while it is off each duplicate is counted separately in # Total Proteins and in the percentages.
Results
Results appear in four tabs.
This tab has one row per input epitope and reports the conservancy value. The table opens sorted by % Protein Matches, highest first.
| Column | Description | Example |
|---|---|---|
| Epitope Name | Name from the FASTA description line. | NP 421 |
| Epitope Sequence | The epitope as parsed. | LKQFKQDAKYSHGID |
| # Matched Proteins | Proteins meeting the identity threshold. | 63 |
| # Total Proteins | Size of the protein set, the denominator. | 64 |
| % Protein Matches | The conservancy value, # Matched / # Total. |
98.44 |
| Min Identity (%) | Lowest best-alignment identity across the protein set. | 93.33 |
| Max Identity (%) | Highest best-alignment identity across the protein set. | 100 |
| Epitope # | Position in the input. Hidden by default; show it with Display Columns. | 22 |
| Epitope Length | Residue count, or the number of defined residues for a discontinuous epitope. Hidden by default. | 15 |
This tab has one row for each epitope and protein pair that met the threshold, with the protein sub-sequence the epitope aligned to. The table opens sorted by Epitope # and then by % Identity. Because Epitope # is hidden by default, only the 2 badge on % Identity is visible until that column is shown (see Sort Order Badges).
| Column | Description | Example |
|---|---|---|
| Epitope Name | Name of the epitope. | NP 1 |
| Epitope Sequence | The epitope as submitted. | MSASKEVKSFLWTQS |
| Match Sequence | The protein sub-sequence it aligned to. Differs from the epitope wherever identity is below 100%. | MSASKEVRSFLWTQS |
| Protein Name | Protein the match was found in. | 58643 Lassa NP |
| n Matches | Residues identical between the two, out of the epitope length. | 14 |
| % Identity | n Matches as a percent of epitope length. |
93.33 |
| Epitope # | Position in the input. Hidden by default; the primary sort key. | 1 |
| Match Start | 1-based start of the aligned window in the protein. Hidden by default. | 1 |
| Match End | 1-based end of the aligned window in the protein. Hidden by default. | 15 |
The example row is from a run with the threshold below 100%. At the default >= 100%, n Matches equals the epitope length and Match Sequence is identical to Epitope Sequence in every row.
This tab lists the epitope set as parsed. Use it to confirm that names and sequences were read as intended.
| Column | Description | Example |
|---|---|---|
| Epitope # | Position in the input. | 1 |
| Name | Name assigned to the entry. | NP 1 |
| Sequence | The sequence as parsed. | MSASKEVKSFLWTQS |
| Length | Residue count. | 15 |
This tab lists the protein set as parsed, after duplicate removal if that option was selected.
| Column | Description | Example |
|---|---|---|
| Protein # | Position in the input. | 1 |
| Name | Name assigned to the entry. | 58643 Lassa NP |
| Sequence | The sequence as parsed. | MSASKEVRSFLWTQSLRRELS... |
| Length | Residue count. | 570 |
The row count equals # Total Proteins on the Epitopes tab, the denominator for every percentage in the results.
Above each table, Download exports the results, Reset Table clears sorting and filters, Display Columns chooses which columns are shown, and Save Table State keeps the current layout. Each column header carries its own filter and sort controls.
Interpreting Results
% Protein Matches is the conservancy value: the fraction of the protein set in which the epitope aligns at or above the threshold.
Min Identity and Max Identity are calculated over the whole protein set and do not depend on the threshold. In the example run, epitope NP 281 matched 0 of 64 proteins at >= 100% while its Max Identity is 93.33%, so the epitope is present in at least one protein with a single substitution. A low % Protein Matches with a high Max Identity indicates near-matches that the threshold excludes. Rerunning with a lower threshold counts them.