Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design a generic API for MS libary search plugins #18

Open
uly55e5 opened this issue Mar 27, 2023 · 0 comments
Open

Design a generic API for MS libary search plugins #18

uly55e5 opened this issue Mar 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@uly55e5
Copy link
Collaborator

uly55e5 commented Mar 27, 2023

It should be possible to perform spectral library search with various search algortithms by providing a generic plugin API. Due to the fact, that a spectral search can be slow, the service should run asynchronously. The service should also accept a batch of spectra.

Asynchronous service

  • a job queue to handle multiple requests with limited resources
  • possibility to cancel
  • max. lifetime of a result
  • timeout for a job
  • limited requests from single source(?)

Input Data for spectral search:

  • MS Spectrum/Spectra (m/z, rel. intensity)
  • Parameters (basic, advanced)

Return

  • a handle to the current status or result
  • Result: Scores/Probabilities, possibly multiple values per spectrum (with rendering hints for frontends)
  • information about the search algorithm and the search (algorithm name, citations, parameters, statistics, considered spectra, runtime information ... )

Actions performed by the plugin

  • spectral search (request -> status -> result)
  • get update notification if MassBank data changes (to perform training, cache invalidation, binning, precalculation of values ...)
  • provide information on plugin and algorithm
  • parameter description with rendering hints for frontends
@uly55e5 uly55e5 added the enhancement New feature or request label Mar 27, 2023
@uly55e5 uly55e5 changed the title Design an API for MS libary search plugins Design a generic API for MS libary search plugins Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant