![]() |
OpenMS
|
The protein occurrences of the sequences of a search's hits (peptide:protein_mapping = index). More...
#include <OpenMS/ANALYSIS/ID/PROSE/ProSEAlgorithm.h>
Public Member Functions | |
| Size | find (std::string_view sequence) const |
The entry of sequence, or sequences.size() if there is none. | |
Public Attributes | |
| std::vector< std::string_view > | sequences |
| The unmodified hit sequences (views into the database), one entry each. | |
| std::vector< std::vector< std::pair< UInt32, UInt32 > > > | occurrences |
| Per entry: its occurrences {protein index, position}, ascending (PeptideIndexing's evidence order) | |
| std::vector< std::unordered_map< std::string_view, Size > > | entries |
| Sequence -> entry, in SHARDS hash tables. | |
| std::string | fallback_reason |
| Why PeptideIndexing has to run instead; empty if the mapping applies. | |
Static Public Attributes | |
| static constexpr Size | SHARDS = 64 |
| Number of hash tables that sequences are spread over (by their hash), so that they are filled in parallel. | |
The protein occurrences of the sequences of a search's hits (peptide:protein_mapping = index).
buildProteinMapping_() collects them while the fragment index exists, applyProteinMapping_() writes what PeptideIndexing::run() writes. PeptideIndexing (without mismatches and I/L equivalence; missed cleavages ignored; the initial methionine and the residue after it may be cleaved off) maps an unmodified hit sequence S to every (protein, position) at which S occurs, where up to aaa_max ambiguous residues (B, J, Z, X) of the protein may stand for residues of S, and isValidProduct() accepts the span. These are:
|
inline |
The entry of sequence, or sequences.size() if there is none.
| std::vector<std::unordered_map<std::string_view, Size> > entries |
Sequence -> entry, in SHARDS hash tables.
| std::string fallback_reason |
Why PeptideIndexing has to run instead; empty if the mapping applies.
Per entry: its occurrences {protein index, position}, ascending (PeptideIndexing's evidence order)
| std::vector<std::string_view> sequences |
The unmodified hit sequences (views into the database), one entry each.
|
staticconstexpr |
Number of hash tables that sequences are spread over (by their hash), so that they are filled in parallel.