|
| static void | resolve (FeatureMap &features, bool keep_matching=false) |
| | Resolves ambiguous annotations of features with peptide identifications. The the filtered identifications are added to the vector of unassigned peptides and also reduced to a single best hit.
|
| |
| static void | resolve (ConsensusMap &features, bool keep_matching=false) |
| | Resolves ambiguous annotations of consensus features with peptide identifications. The the filtered identifications are added to the vector of unassigned peptides and also reduced to a single best hit.
|
| |
| static void | resolveAllHitRankAggregation (FeatureMap &features) |
| | Resolves ambiguous annotations of features with peptide identifications using rank aggregation.
|
| |
| static void | resolveAllHitRankAggregation (ConsensusMap &features) |
| | Resolves ambiguous annotations of consensus features with peptide identifications using rank aggregation.
|
| |
| static void | resolveBetweenFeatures (FeatureMap &features) |
| | In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear. This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities.
|
| |
| static void | resolveBetweenFeatures (ConsensusMap &features) |
| | In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear. This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities.
|
| |
| static UnresolvedIdentifications | reduceToOnePerSpectrum (PeptideIdentificationList &ids) |
| | Reduce identifications a quantification workflow cannot tell apart to one per spectrum.
|
| |
Resolves ambiguous annotations of features with peptide identifications.
The peptide identifications are filtered so that only one identification with a single hit (with the best score) is associated to each feature. (If two IDs have the same best score, either one of them may be selected.)
Reduce identifications a quantification workflow cannot tell apart to one per spectrum.
Quantification tools measure one value per (spectrum, peptidoform, charge). Where the input carries several identifications of that same triple - e.g. two search engines that agree, concatenated rather than combined - only one of them can own the measurement, and keeping all of them counts one measurement several times.
This keeps the best-scoring identification of each such group and removes the rest. That is a tie-break on scores something upstream already assigned, not a scoring decision: combining scores from different engines is ConsensusIDAlgorithm's job and is deliberately not done here.
Identifications are keyed on the top hit as stored; hits are never re-sorted, so the key matches what the exporters and quantifiers read. Surviving identifications keep their original relative order.
- Parameters
-
| [in,out] | ids | One identification run's peptide identifications. |
- Returns
- What was found and removed; see UnresolvedIdentifications.
| static void resolveAllHitRankAggregation |
( |
ConsensusMap & |
features | ) |
|
|
static |
Resolves ambiguous annotations of consensus features with peptide identifications using rank aggregation.
For each consensus feature, peptide hits across all identifications are aggregated by rank. Each unique sequence is assigned a rank in every identification in which it appears (rank 0 = best hit, 1 = second best, etc.). Sequences not found in an identification receive a penalty rank equal to the maximum number of considered hits. The aggregate score for each sequence is computed as:
1.0 - (sum_of_ranks + penalty_for_missing_runs) / (max_hits * n_runs)
The sequence with the highest aggregate score is selected as the winner and the corresponding best-scoring identification is kept with only that hit. All other identifications are moved to the unassigned list.
- Parameters
-
| static void resolveAllHitRankAggregation |
( |
FeatureMap & |
features | ) |
|
|
static |
Resolves ambiguous annotations of features with peptide identifications using rank aggregation.
For each feature, peptide hits across all identifications are aggregated by rank. Each unique sequence is assigned a rank in every identification in which it appears (rank 0 = best hit, 1 = second best, etc.). Sequences not found in an identification receive a penalty rank equal to the maximum number of considered hits. The aggregate score for each sequence is computed as:
1.0 - (sum_of_ranks + penalty_for_missing_runs) / (max_hits * n_runs)
The sequence with the highest aggregate score is selected as the winner and the corresponding best-scoring identification is kept with only that hit. All other identifications are moved to the unassigned list.
- Parameters
-
| static void resolveBetweenFeatures |
( |
ConsensusMap & |
features | ) |
|
|
static |
In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear. This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities.
| static void resolveBetweenFeatures |
( |
FeatureMap & |
features | ) |
|
|
static |
In a single (feature/consensus) map, features with the same (possibly modified) sequence and charge state may appear. This filter removes the peptide sequence annotations from features, if a higher-intensity feature with the same (charge, sequence) combination exists in the map. The total number of features remains unchanged. In the final output, each (charge, sequence) combination appears only once, i.e. no multiplicities.