Comments (2)
My interpretation is that any record returned in the query corresponds to at minimum a file that is present on disk. So a status of "PEAK UNAVAILABLE" does not mean the same thing as a 404. A 404 means the MS run (i.e. file) isn't there at all. Any record returned, regardless of status, is by definition not a 404.
In the case of peak list files in open format (e.g. mzML) we can easily read the file to verify that the requested spectrum is indeed present and extract its peaks. This is what I interpret a status of "READABLE" to mean. The file is there AND we can validate/extract the actual spectrum from it.
However, sometimes a spectrum query/USI matches a raw file, which we can technically "read" in a file system sense but which we cannot (at least easily) open up to extract the actual spectrum. This is what "PEAK UNAVAILABLE" means. The MS run you asked for is there, we assume the specific spectrum you asked for may be in that file, but we can't actually give you its peaks.
I am honestly not sure if this is the best interpretation. But this is how I read the current specification.
from proxi-schemas.
the PEAK UNAVAILABLE was instroduced by @nuno because is something needed in MassIVE when the usi is there but they can't read the mzML because of RAW file conversion problem or other types of issues.
from proxi-schemas.
Related Issues (20)
- do we really stipulate a max pageSize? HOT 1
- Massive data files do not exist
- /peptidoforms still labeled getPeptides
- inconsistent count* in Peptidoform
- What should the compact form of /peptidoforms return? HOT 2
- Add 500 to the list?
- msrun and filename HOT 8
- species as query parameter? HOT 2
- Error status should contain only error code HOT 1
- In the PSM object the score should be plural HOT 7
- Develop JSON Schema validator HOT 3
- Error status for multiple providers HOT 1
- PRIDE PROXI spectra returning mzs not in order HOT 3
- PRIDE USI without interpretation not working? HOT 1
- No attributes for spectra at PRIDE? HOT 2
- update specification and schemas
- Validator of the PROXI APIs implementations
- Improve documentation of the entry points in the swagger.yaml file
- Precursor m/z
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxi-schemas.