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

WARNING: Skipped spectra with invalid precursor info #326

Closed
lutfia95 opened this issue May 7, 2024 · 1 comment
Closed

WARNING: Skipped spectra with invalid precursor info #326

lutfia95 opened this issue May 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@lutfia95
Copy link

lutfia95 commented May 7, 2024

Hey,

in which cases are the spectra skipped due to invalid precursor info? I have dataset which contains some not cleaned data and not sure if there is any way to clean/pre-process it.

Best,
Ahmad

@wsnoble
Copy link
Contributor

wsnoble commented May 7, 2024

Casanovo will skip spectra for two reasons:

  1. The charge state is larger than the maximum allowed charge state (as per max_charge), or

  2. The spectrum itself is misformatted and can't be parsed.

We are working on adding a threshold for the minimum number of peaks configurable here and on giving more details about the skipped spectra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants