![]() |
OpenMS
|
#include <OpenMS/DATASTRUCTURES/StringUtils.h>#include <OpenMS/KERNEL/MSExperiment.h>#include <OpenMS/METADATA/PeptideIdentification.h>#include <OpenMS/METADATA/PeptideIdentificationList.h>#include <string>#include <unordered_map>Go to the source code of this file.
Namespaces | |
| namespace | OpenMS |
| Main OpenMS namespace. | |
| namespace | OpenMS::CometNativeIDRemapper |
| Rewrite spectrum native IDs to a monotonic "index=N" form and translate PSM references back. | |
Functions | |
| Size | rewriteToIndex (MSExperiment &exp) |
| Rewrite every spectrum's native ID to "index=N" (monotonic, 0-based). | |
| void | translateReferencesBack (const MSExperiment &exp, PeptideIdentificationList &pids) |
| Translate PSM spectrum references from the rewritten "index=N" form back to the original IDs. | |
Variables | |
| const std::string | ORIGINAL_NATIVE_ID = "original_native_id" |
| MetaValue key under which the original native ID is stashed by rewriteToIndex(). | |