sgibb / MALDIquant

Quantitative Analysis of Mass Spectrometry Data
https://strimmerlab.github.io/software/maldiquant/
60 stars 25 forks source link

MassSpectrumOnDisk Functionality #60

Open dsammour opened 5 years ago

dsammour commented 5 years ago
dsammour commented 5 years ago

Thanks for your reply/review Sebastian.

I see your point on removing the dependency on matter. As you showed in your onDiskVec example, we just need to write and read one vector at a time. The onDiskVec should have path, offset, size and length slots to account for imzML datatype. However, if we do this, we'll lose the meta data and length method available in a matter_vec object and therefore, every time we need to do some check on length, etc. the whole vector has to be read. Is there a good solution for that for onDiskVec?