-
Notifications
You must be signed in to change notification settings - Fork 152
Add ms2deepscore - for finalization #1958
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
Add ms2deepscore - for finalization #1958
Conversation
# Conflicts: # gradle/libs.versions.toml
utilities for pair processing in parallel stream
…ectra and convert everything to float (since the model only runs with the same datatype)
…2deepscore_robin # Conflicts: # mzmine-community/src/main/java/io/github/mzmine/gui/mainwindow/MainMenu.fxml # mzmine-community/src/main/java/io/github/mzmine/modules/dataprocessing/group_spectral_networking/SpectralNetworkingModule.java # mzmine-community/src/main/java/io/github/mzmine/modules/visualization/spectra/simplespectra/mirrorspectra/MirrorScanWindowController.java
|
|
||
| public static final Text mzminePaper = hyperlinkText( | ||
| "Schmid, R., Heuckeroth, S., Korf, A. et al. Nat Biotechnol 41, 447–449 (2023).", | ||
| "Schmid R, Heuckeroth S, Korf A et al. Nat Biotechnol 41, 447–449 (2023).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changing all this manually just forces us to change new citations manually as well. imo we could jsut keep the original style from the respective journal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problem was that all the citations were very different. I would prefer just a single citation style.
I chose the nature style which can be just copied from any tool like paperpile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sorry was PLOS citation style. I thought it was nature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least I think it is good to stick to one style and so far it was mixed.
...ub/mzmine/modules/dataprocessing/group_spectral_networking/MainSpectralNetworkingModule.java
Outdated
Show resolved
Hide resolved
| "Check MS2 neutral loss similarity", | ||
| "Generates a list of m/z differences and calculates cosine similarity", | ||
| new NeutralLossSimilarityParameters(), false); | ||
| // public static final OptionalModuleParameter<NeutralLossSimilarityParameters> CHECK_NEUTRAL_LOSS_SIMILARITY = new OptionalModuleParameter<>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was an old option to run spectral networking also by comparing neutral losses between signals.
Basically took the top N signals and computed the delta m/z between all of them.
I removed it because this was never really used. Also we should rethink this approach and then just add another algorithm to the options that we now have.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed the commented code now
.../dataprocessing/group_spectral_networking/ms2deepscore/MS2DeepscoreNetworkingParameters.java
Outdated
Show resolved
Hide resolved
...odules/dataprocessing/group_spectral_networking/ms2deepscore/MS2DeepscoreNetworkingTask.java
Outdated
Show resolved
Hide resolved
...odules/dataprocessing/group_spectral_networking/ms2deepscore/MS2DeepscoreNetworkingTask.java
Show resolved
Hide resolved
| } | ||
|
|
||
| /** | ||
| * TODO add documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo (and below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best if @niekdejonge adds the documentation here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added some documentation in #2014
…2deepscore_robin # Conflicts: # utils/src/main/java/io/github/mzmine/util/files/ExtensionFilters.java
|
Ready from my side and updated to master |
|
@robinschmid Thanks for finalizing the PR! |
Based on #1737
Just to finalize it