Post

MzXMLReader

Class capable of reading spectra from mzXML formatted data files.


Remarks

mzXML is a deprecated file format. Nova supports reading this format to support legacy data files. MzML formatted data is preferred.

Implements

ISpectrumFileReader


Constructors

SyntaxDescription
MzXMLReader(MSFilter filter)Initializes the MzXMLReader class and sets a spectrum filter.

Properties

IdentifierTypeDescription
FirstScanNumberintNumber of the first scan event in the file.
LastScanNumberintNumber of the last scan event in the file.
MaxRetentionTimedoubleRetention time (in minutes) of the last scan event in the file.
ScanCountintTotal number of scan events in the file.

Methods

MethodReturnsDescription
Close()voidCloses an open MS data file.
GetSpectrum(int scanNumber = -1, bool centroid = true)SpectrumReads the requested spectrum or the next spectrum if a valid scanNumber is not given. Data are returned in centroid, if possible, unless otherwise requested.
GetSpectrumEx(int scanNumber = -1, bool centroid = true)SpectrumExReads the requested spectrum or the next spectrum if a valid scanNumber is not given, and returns the data in the extended spectrum format. Data are returned in centroid, if possible, unless otherwise requested.
Open(string fileName)boolOpens an mzML file and parses the index and meta information.
GetSpectrum(int scanNumber = -1, bool centroid = true)SpectrumReads the requested spectrum or the next spectrum if a valid scanNumber is not given. Data are returned in centroid, if possible, unless otherwise requested.

Example

1
This post is licensed under CC BY 4.0 by the author.

Trending Tags