#include <OpenMS/CONCEPT/Types.h>
#include <OpenMS/CONCEPT/Exception.h>
#include <string>
#include <vector>
#include <array>
#include <string_view>
Go to the source code of this file.
|
| OpenMS::Int64 | getAAIndex (char aa) |
| | Maps amino acid characters to 1-based token indices for PeptDeep models.
|
| |
| void | validatePeptide (const std::string &peptide) |
| | Validates a peptide sequence for PeptDeep inference. Complex character validation and modification parsing is handled downstream by AASequence.
|
| |
|
| constexpr int64_t | PEPTDEEP_MOD_ELEMENTS = 109 |
| |
| constexpr std::array< std::string_view, 109 > | ALPHAPEPTDEEP_MOD_ELEMENTS |
| | AlphaPeptDeep's exact 109-element array for modification tensor mapping. Elements missing from this list are binned into the final "Other" channel ("?"). Heavy isotopes (2H, 13C, 15N, 18O) map strictly to their dedicated channels.
|
| |