libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
pappso::Enums Namespace Reference

Enumerations

enum class  TimeUnit { none , s , min , h }
enum class  PrecisionUnit {
  none , dalton , ppm , res ,
  mz , last
}
enum class  AtomIsotopeSurvey : std::int8_t {
  C , H , O , N ,
  S , P , last
}
enum class  Isotope {
  C , C13 , H , H2 ,
  O , O17 , O18 , N ,
  N15 , S , S33 , S34 ,
  S36 , P
}
enum class  MsDataFormat : std::int8_t {
  unknown = 0 , mzML = 1 , mzXML = 2 , MGF = 3 ,
  SQLite3 = 4 , xy = 5 , mz5 = 6 , msn = 7 ,
  abSciexWiff = 8 , abSciexT2D = 9 , agilentMassHunter = 10 , thermoRaw = 11 ,
  watersRaw = 12 , brukerFid = 13 , brukerYep = 14 , brukerBaf = 15 ,
  brukerTims = 16 , brukerBafAscii = 17 , mzcbor = 18 , last = 19
}
enum class  FileReaderType {
  pwiz , mzcbor , xy , bafascii ,
  tims , tims_frames , tims_ms2 , tims_dia
}
enum class  AminoAcidChar : char {
  alanine = 'A' , cysteine = 'C' , aspartic_acid = 'D' , glutamic_acid = 'E' ,
  phenylalanine = 'F' , glycine = 'G' , histidine = 'H' , isoleucine = 'I' ,
  lysine = 'K' , leucine = 'L' , methionine = 'M' , asparagine = 'N' ,
  proline = 'P' , glutamine = 'Q' , arginine = 'R' , serine = 'S' ,
  threonine = 'T' , valine = 'V' , tryptophan = 'W' , tyrosine = 'Y' ,
  selenocysteine = 'U' , pyrrolysine = 'O'
}
enum class  SortType : std::int8_t { none = 0 , x = 1 , y = 2 }
enum class  SortOrder : std::int8_t { ascending = 0 , descending = 1 }
enum class  DataCompression : std::int8_t { unset = -1 , none = 0 , zlib = 1 }
enum class  DataKind : std::int8_t { unset = -1 , rt = 0 , dt = 1 , mz = 2 }
enum class  Axis : std::int8_t { unset = 0x000 , x = 1 << 0 , y = 1 << 1 , z = 1 << 2 }
enum class  AxisScale : std::int8_t { unset = 0 , orig = 1 , log10 = 2 }
enum class  XicExtractMethod : std::int8_t { sum = 1 , max = 2 }
enum class  PeptideIon : std::int8_t {
  b = 0 , bstar = 1 , bo = 2 , a = 3 ,
  astar = 4 , ao = 5 , bp = 6 , c = 7 ,
  y = 8 , ystar = 9 , yo = 10 , z = 11 ,
  yp = 12 , x = 13
}
 Enums::PeptideIon enum defines all types of ions (Nter or Cter). More...

Enumeration Type Documentation

◆ AminoAcidChar

enum class pappso::Enums::AminoAcidChar : char
strong
Enumerator
alanine 
cysteine 
aspartic_acid 
glutamic_acid 
phenylalanine 
glycine 
histidine 
isoleucine 
lysine 
leucine 
methionine 
asparagine 
proline 
glutamine 
arginine 
serine 
threonine 
valine 
tryptophan 
tyrosine 
selenocysteine 
pyrrolysine 

Definition at line 195 of file types.h.

196{
197 alanine = 'A',
198 cysteine = 'C',
199 aspartic_acid = 'D',
200 glutamic_acid = 'E',
201 phenylalanine = 'F',
202 glycine = 'G',
203 histidine = 'H',
204 isoleucine = 'I',
205 lysine = 'K',
206 leucine = 'L',
207 methionine = 'M',
208 asparagine = 'N',
209 proline = 'P',
210 glutamine = 'Q',
211 arginine = 'R',
212 serine = 'S',
213 threonine = 'T',
214 valine = 'V',
215 tryptophan = 'W',
216 tyrosine = 'Y',
217 selenocysteine = 'U',
218 pyrrolysine = 'O',
219};

◆ AtomIsotopeSurvey

◆ Axis

enum class pappso::Enums::Axis : std::int8_t
strong
Enumerator
unset 

Definition at line 257 of file types.h.

258{
259 unset = 0x000,
260 x = 1 << 0,
261 y = 1 << 1,
262 z = 1 << 2,
263};

◆ AxisScale

enum class pappso::Enums::AxisScale : std::int8_t
strong
Enumerator
unset 
orig 
log10 

Definition at line 266 of file types.h.

267{
268 unset = 0,
269 orig = 1,
270 log10 = 2,
271};

◆ DataCompression

enum class pappso::Enums::DataCompression : std::int8_t
strong
Enumerator
unset 

not net

none 

no compression

zlib 

zlib compresssion

Definition at line 240 of file types.h.

241{
242 unset = -1, ///< not net
243 none = 0, ///< no compression
244 zlib = 1, ///< zlib compresssion
245};
@ zlib
zlib compresssion
Definition types.h:244

◆ DataKind

enum class pappso::Enums::DataKind : std::int8_t
strong
Enumerator
unset 

not set

rt 

Retention time.

dt 

Drift time.

mz 

m/z

Definition at line 248 of file types.h.

249{
250 unset = -1, ///< not set
251 rt = 0, ///< Retention time
252 dt = 1, ///< Drift time
253 mz = 2, ///< m/z
254};
@ dt
Drift time.
Definition types.h:252
@ rt
Retention time.
Definition types.h:251

◆ FileReaderType

enum class pappso::Enums::FileReaderType
strong
Enumerator
pwiz 

using libpwizlite

mzcbor 

using homemade mzcbor parser

xy 
bafascii 
tims 

TimsMsRunReader : each scan is returned as a mass spectrum.

tims_frames 

TimsFramesMsRunReader : the whole frame is merged in a single spectrum

tims_ms2 

TimsMsRunReaderMs2 : Spectrum are delivered for each precursor (MS1 or MS2)

tims_dia 

TimsMsRunReaderDia : Spectrum are delivered for DIA window (slice)

Definition at line 175 of file types.h.

176{
177 pwiz, ///< using libpwizlite
178 mzcbor, ///< using homemade mzcbor parser
179 xy,
180 bafascii,
181 tims, ///< TimsMsRunReader : each scan is returned as a mass spectrum
182 tims_frames, ///< TimsFramesMsRunReader : the whole frame is merged in a
183 ///< single spectrum
184 tims_ms2, ///< TimsMsRunReaderMs2 : Spectrum are delivered for each precursor
185 ///< (MS1 or MS2)
186
187 tims_dia, ///< TimsMsRunReaderDia : Spectrum are delivered for DIA window
188 ///< (slice)
189};
@ pwiz
using libpwizlite
Definition types.h:177
@ tims
TimsMsRunReader : each scan is returned as a mass spectrum.
Definition types.h:181

◆ Isotope

enum class pappso::Enums::Isotope
strong
Enumerator
C13 
H2 
O17 
O18 
N15 
S33 
S34 
S36 

Definition at line 125 of file types.h.

126{
127 C,
128 C13,
129 H,
130 H2,
131 O,
132 O17,
133 O18,
134 N,
135 N15,
136 S,
137 S33,
138 S34,
139 S36,
140 P
141};

◆ MsDataFormat

enum class pappso::Enums::MsDataFormat : std::int8_t
strong
Enumerator
unknown 

unknown format

mzML 

mzML

mzXML 

mzXML

MGF 

Mascot format.

SQLite3 

SQLite3 format.

xy 

(x,y) format

mz5 
msn 
abSciexWiff 
abSciexT2D 
agilentMassHunter 
thermoRaw 
watersRaw 
brukerFid 
brukerYep 
brukerBaf 
brukerTims 
brukerBafAscii 
mzcbor 
last 

Definition at line 147 of file types.h.

148{
149 unknown = 0, ///< unknown format
150 mzML = 1, ///< mzML
151 mzXML = 2, ///< mzXML
152 MGF = 3, ///< Mascot format
153 SQLite3 = 4, ///< SQLite3 format
154 xy = 5, ///< (x,y) format
155 mz5 = 6, //< MZ5 format
156 msn = 7, //< MS_MS2 format
157 abSciexWiff = 8,
158 abSciexT2D = 9,
160 thermoRaw = 11,
161 watersRaw = 12,
162 brukerFid = 13,
163 brukerYep = 14,
164 brukerBaf = 15,
165 brukerTims = 16,
166 brukerBafAscii = 17, // Baf to ascii from Bruker software
167 mzcbor = 18,
168 last = 19
169};
@ unknown
unknown format
Definition types.h:149
@ SQLite3
SQLite3 format.
Definition types.h:153
@ MGF
Mascot format.
Definition types.h:152

◆ PeptideIon

enum class pappso::Enums::PeptideIon : std::int8_t
strong

Enums::PeptideIon enum defines all types of ions (Nter or Cter).

Enumerator

Nter acylium ions.

bstar 

Nter acylium ions + NH3 loss.

bo 

Nter acylium ions + H2O loss.

Nter aldimine ions.

astar 

Nter aldimine ions + NH3 loss.

ao 

Nter aldimine ions + H2O loss.

bp 

Nter amino ions.

Cter amino ions.

ystar 

Cter amino ions + NH3 loss.

yo 

Cter amino ions + H2O loss.

Cter carbocations.

yp 

Cter acylium ions.

Definition at line 285 of file types.h.

286{
287 b = 0, ///< Nter acylium ions
288 bstar = 1, ///< Nter acylium ions + NH3 loss
289 bo = 2, ///< Nter acylium ions + H2O loss
290 a = 3, ///< Nter aldimine ions
291 astar = 4, ///< Nter aldimine ions + NH3 loss
292 ao = 5, ///< Nter aldimine ions + H2O loss
293 bp = 6,
294 c = 7, ///< Nter amino ions
295 y = 8, ///< Cter amino ions
296 ystar = 9, ///< Cter amino ions + NH3 loss
297 yo = 10, ///< Cter amino ions + H2O loss
298 z = 11, ///< Cter carbocations
299 yp = 12,
300 x = 13 ///< Cter acylium ions
301};
@ a
peak detected using a single direct MS2 observation
Definition types.h:46

◆ PrecisionUnit

enum class pappso::Enums::PrecisionUnit
strong
Enumerator
none 
dalton 
ppm 
res 
mz 
last 

Definition at line 95 of file types.h.

◆ SortOrder

enum class pappso::Enums::SortOrder : std::int8_t
strong
Enumerator
ascending 
descending 

Definition at line 230 of file types.h.

231{
232 ascending = 0,
233 descending = 1,
234};

◆ SortType

enum class pappso::Enums::SortType : std::int8_t
strong
Enumerator
none 

Definition at line 222 of file types.h.

223{
224 none = 0,
225 x = 1,
226 y = 2,
227};

◆ TimeUnit

enum class pappso::Enums::TimeUnit
strong
Enumerator
none 
min 

Definition at line 84 of file types.h.

◆ XicExtractMethod

enum class pappso::Enums::XicExtractMethod : std::int8_t
strong
Enumerator
sum 

sum of intensities

max 

maximum of intensities

Definition at line 277 of file types.h.

278{
279 sum = 1, ///< sum of intensities
280 max = 2 ///< maximum of intensities
281};
@ sum
sum of intensities
Definition types.h:279
@ max
maximum of intensities
Definition types.h:280