Currently, spectra are not available for access in the run object as they are memory intensive.
The following options should be added to the MzmlReader and can be chosen from the API:
1) Read but do not maintain spectra in the run object
2) Read and store all spectrum information in RAM (fastest, high RAM, minimum disk I/O, no extra disk space required)
3) Read and maintain Mzml offsets in the scan objects and provide an interface to re-read spectra as required from the MZML (slowest, low RAM, high disk I/O, no extra disk space reqd, doubled CPU from options 1 and 2)
4) Read and cache swathsto disk for later reading (medium speed, high disk I/O, high disk space usage but significantly decreased CPU time from option 3)
Currently, spectra are not available for access in the run object as they are memory intensive.
The following options should be added to the MzmlReader and can be chosen from the API:
1) Read but do not maintain spectra in the run object 2) Read and store all spectrum information in RAM (fastest, high RAM, minimum disk I/O, no extra disk space required) 3) Read and maintain Mzml offsets in the scan objects and provide an interface to re-read spectra as required from the MZML (slowest, low RAM, high disk I/O, no extra disk space reqd, doubled CPU from options 1 and 2) 4) Read and cache swathsto disk for later reading (medium speed, high disk I/O, high disk space usage but significantly decreased CPU time from option 3)