HUPO-PSI / proxi-schemas

ProXI: Schema definitions for the Proteomics eXpression Interface
3 stars 3 forks source link

Comments on current form of Spectrum class #25

Closed edeutsch closed 4 years ago

edeutsch commented 5 years ago

Regarding the current schema: https://raw.githubusercontent.com/HUPO-PSI/proxi-schemas/master/specs/swagger.yaml

Here is a toy example of a Spectrum object as defined by the current schema: http://www.peptideatlas.org/api/proxi/v0/spectra/238293 UI: http://www.peptideatlas.org/api/proxi/v0/ui/

ypriverol commented 5 years ago

@edeutsch both urls provided are broken.

ypriverol commented 5 years ago

A new field has been included lsi

I have change the name to precursor_charge and to an int type.

Precursor mz has been changed to precursor_mz .

Done

This is possible, an in mzML is supported but we need to think if we want to support 1 precursor 1 MS2 or the other relation. We can discuss this in a meeting.

Good suggestion @edeutsch . I have included this in the present version.

Good suggestion. Removed in the present version.

edeutsch commented 5 years ago

excellent progress! The two URLs are back up with the new schema: spectra toy test: http://www.peptideatlas.org/api/proxi/v0/spectra/238293 UI: http://www.peptideatlas.org/api/proxi/v0/ui/

Note that /spectra is not returning a real spectrum yet, just a toy example for discussion.