Skip to content

Add run ms2query#6

Merged
niekdejonge merged 26 commits into
refactor_spectrum_setfrom
add_run_ms2query
Jul 3, 2026
Merged

Add run ms2query#6
niekdejonge merged 26 commits into
refactor_spectrum_setfrom
add_run_ms2query

Conversation

@niekdejonge

@niekdejonge niekdejonge commented Mar 20, 2026

Copy link
Copy Markdown
Collaborator

Added the ReferenceLibrary class. This makes creating all files for MS2Query easy and allows for running MS2Query.

The tutorial notebook shows how a library can be generated. Input needed is a spectrum file + ms2ds model.

Don't get scared by all the file changes, they are only moving and renaming files ;)
I cleanly separated my code from the database code, but also split the code needed for running the final MS2Query from the code needed for the experimenting fase.

Now the core MS2Query is just 5 classes:

  • AnnotatedSpectrumSet
  • Embeddings
  • Fingerprints
  • ReferenceLibrary
  • TopKTanimotoScores

@niekdejonge niekdejonge merged commit 95873a6 into refactor_spectrum_set Jul 3, 2026
1 check passed
@niekdejonge niekdejonge deleted the add_run_ms2query branch July 3, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants