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

Unintuitive behaviour of the 'precursor_charge' setting in the .json config. #137

Closed
MatteoLacki opened this issue May 23, 2024 · 1 comment

Comments

@MatteoLacki
Copy link

Hi!

First of all: thanks for the great work you do: without your search engine my projects would be completely stuck.

I have noticed that at least in v.0.14.7 (but might be earlier) the precursor_charge setting has a bit unintuitive behavior.
The problem is, that whenever mgf spectra contain charge info, this setting is neglected. This behavior is in fact documented, nevertheless it is a bit cumbersome: a user that actually wants precursor_charge to be used needs to modify his MGF and it is simply inconvenient. I was rather expecting that in this cases SAGE would neglect the charge state provided in MGFs, but this is not how it works.

In order not to break up the current behavior, I would suggest from some next version to add an additional parameter to the config, such as neglect_mgf_charges by default set to false. Would that be an option?

With very best wishes,

Matteo Lacki

@lazear
Copy link
Owner

lazear commented May 23, 2024

Hi Matteo,

I think this is a good feature - shouldn't be too difficult to add in either. I'm about to go on vacation for 2 weeks, so if you want something soon, I can give some pointers on how to build this feature for testing

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

No branches or pull requests

2 participants