OpenMS
Loading...
Searching...
No Matches
MzPAF.h File Reference
#include <OpenMS/CONCEPT/Exception.h>
#include <OpenMS/DATASTRUCTURES/String.h>
#include <OpenMS/CHEMISTRY/EmpiricalFormula.h>
#include <OpenMS/CHEMISTRY/AASequence.h>
#include <OpenMS/METADATA/PeptideHit.h>
#include <OpenMS/OpenMSConfig.h>
#include <iosfwd>
#include <optional>
#include <utility>
#include <vector>
Include dependency graph for MzPAF.h:

Go to the source code of this file.

Classes

struct  MzPAFNeutralLoss
 Neutral loss in an mzPAF annotation. More...
 
struct  MzPAFMassDelta
 Mass delta in an mzPAF annotation. More...
 
struct  MzPAFAnnotation
 A single mzPAF peak annotation. More...
 
struct  MzPAFPeakAnnotations
 Multiple mzPAF annotations for a single peak. More...
 
class  MzPAFParseError
 Parse error for mzPAF notation. More...
 
class  MzPAF
 Parser and writer for mzPAF (Peak Annotation Format) notation. More...
 

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 

Enumerations

enum class  MzPAFIonSeries {
  A , B , C , X ,
  Y , Z , PRECURSOR , IMMONIUM ,
  INTERNAL , REPORTER , FORMULA , NAMED ,
  UNKNOWN
}
 Ion series types for mzPAF peak annotations. More...
 
enum class  MzPAFDeltaUnit { DALTON , PPM }
 Unit for mass delta values in mzPAF annotations. More...
 
enum class  MzPAFErrorCode {
  UNEXPECTED_CHARACTER , UNCLOSED_BRACKET , INVALID_ION_SERIES , INVALID_NUMBER ,
  INVALID_FORMULA , INVALID_CHARGE , INVALID_DELTA , INVALID_CONFIDENCE ,
  EMPTY_INPUT , UNEXPECTED_END_OF_INPUT , INTERNAL_ERROR
}
 Error codes for mzPAF parsing errors. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const MzPAFAnnotation &ann)
 Output operator for MzPAFAnnotation (for testing/debugging)
 
const char * mzPAFErrorCodeToString (MzPAFErrorCode code)
 Convert error code to human-readable string.