![]() |
OpenMS
|
Classes | |
| struct | PeptDeepInputBatch |
| Flat tensor buffers and dimensions for a PeptDeep ONNX batch. More... | |
| class | PeptDeepInputBuilder |
| Shared featurization for PeptDeep RT, CCS, and MS2 ONNX predictors. More... | |
| struct | PeptDeepInputConfig |
| Sequence-padding policy for PeptDeep ONNX inputs. More... | |
Functions | |
| 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. | |
Variables | |
| 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. | |
| struct OpenMS::ML::PeptDeepInputBatch |
| struct OpenMS::ML::PeptDeepInputConfig |
Sequence-padding policy for PeptDeep ONNX inputs.
|
inline |
Maps amino acid characters to 1-based token indices for PeptDeep models.
Converts uppercase and lowercase letters A-Z to indices 1-26 using canonical ord-offset encoding. Non-alphabetic characters map to 0, which serves as the padding and unknown token in PeptDeep ONNX input tensors.
| aa | Amino acid character (case-insensitive) |
|
inline |
Validates a peptide sequence for PeptDeep inference. Complex character validation and modification parsing is handled downstream by AASequence.
| peptide | The raw peptide string to validate. |
|
inlineconstexpr |
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.
|
constexpr |