PaulBrack / Yamato

SWATH-QC metrics
Apache License 2.0
1 stars 1 forks source link

Add options to allow reading of spectrum information without high RAM use #21

Closed PaulBrack closed 4 years ago

PaulBrack commented 5 years ago

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)

PaulBrack commented 4 years ago

Implemented 1, 2, and 4

PaulBrack commented 4 years ago

No current plan to implement 3 as 4 works well