sage icon indicating copy to clipboard operation
sage copied to clipboard

[Feature Request] Sage output as a pepXML file

Open sciordia opened this issue 10 months ago • 3 comments

I would like to import the results obtained with Sage into the Trans Proteomic Pipeline (TPP). I want to create a spectral library from the results but I would need the Sage output as a pepXML file. Would it be possible to add this export option in Sage, please?.

Thank you very much.

Best regards, Sergio

sciordia avatar Apr 20 '24 09:04 sciordia

Hi Sergio,

I'm not really interested in supporting any additional XML based formats (it's 2024) directly in Sage. It should be possible to write an adaptor in python/R that takes the existing output files and maps them to whatever format you need!

lazear avatar Apr 20 '24 16:04 lazear

Thank you very much for your answer @lazear, maybe you are right but pepXML is still a very common format and almost all programs work with it. It is the usual format for TPP, mokapot, etc. In any case, as you say, I will try to convert the TXT output file from Sage in R to pepXML, I hope to get it.

Thanks again for your time.

Best regards, Sergio

sciordia avatar Apr 21 '24 21:04 sciordia

I'm happy to add a link to your tool in the Sage README if you put it on Github!

lazear avatar Apr 21 '24 22:04 lazear

I hacked something very quick and dirty to convert Sage output to mzIdentML to work with some of the TPP and other tools that consume mzIdentML. It is not 100% schema-valid mzIdentML, but then again, this is true for most software that produce output in this format.

magnuspalmblad avatar Jul 10 '24 13:07 magnuspalmblad

Thanks - I can add a link to it. There is an old branch in this codebase for producing mzIdentML (could probably be revived), but it's a quite tricky format and can take a long time/lot of space to generate... and I also found issues in that some consumers of mzIdentML actually reject the standards-compliant version (tested against the reference tool) that I produced.

lazear avatar Jul 11 '24 15:07 lazear