Skip to content

Add run ms2query#6

Open
niekdejonge wants to merge 23 commits intorefactor_spectrum_setfrom
add_run_ms2query
Open

Add run ms2query#6
niekdejonge wants to merge 23 commits intorefactor_spectrum_setfrom
add_run_ms2query

Conversation

@niekdejonge
Copy link
Copy Markdown
Collaborator

@niekdejonge niekdejonge commented Mar 20, 2026

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

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.

1 participant