meowcat / MSnio

3 stars 3 forks source link

Collect parser and writer #4

Open michaelwitting opened 5 years ago

michaelwitting commented 5 years ago

Hi all.

I think we could start to collect some parsers and writers for the formats, if they are already in place, and then update them to a common structure. I personally currently work on a reader and writer for the Agilent .cef format due to personal interest.

Best regards,

Michael

jorainer commented 5 years ago

Suggestion: it would be nice if you could also put an example file for each format to the package. That would enable to implement unit tests for the parsers.

michaelwitting commented 5 years ago

Already there in case of the Agilent files. I also have a first version of the parser ready.

Treutler commented 5 years ago

Please find examples here: https://github.com/meowcat/MSnio/tree/master/inst/spectra

jorainer commented 5 years ago

I might also at some point add some parser(s) - I have one for HMDB in CompoundDb. Would be nice to have all these in one central place: here.

jorainer commented 5 years ago

Would be nice if we could define here an API for the parsers, i.e. define what the input is and what the output is supposed to be. Did you already define one?