OpenMS
Loading...
Searching...
No Matches
CometNativeIDRemapper.h File Reference
Include dependency graph for CometNativeIDRemapper.h:
This graph shows which files directly or indirectly include this file:

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().