Comments (1)
Thanks Lev. I'm much indebted to Pyteomics, I always use it together with spectrum_utils.
The problem was that if max_ion_charge
isn't set, by default all fragments with a charge up to the precursor minus one are annotated (as detailed in the docstring). However, when the charge is 1, the minus one would result in 0, leading to the error. I've updated it now so that the minimum charge considered is 1.
The bugfix is available in spectrum_utils version 0.3.4 from pip, and will be available from Bioconda shortly as well.
from spectrum_utils.
Related Issues (20)
- Milestones for next release HOT 3
- M1 Mac installation
- how to import mass data pymzml package HOT 1
- loading spectrum by usi can't find m/z HOT 1
- Version when installing using conda
- Integration with IO packages
- Alternative dependency for fastobo? HOT 3
- [Feature request] Diagnostic information when a wrong mass mode is used HOT 1
- [Bug] Unpinned matplotlib version leads to unexpected results HOT 4
- Urlencode USI
- Unable to install in python 3.11 HOT 1
- Fix annotation of fragments with isotopic peaks
- 'MsmsSpectrumJit' object has no attribute 'annotate_proforma' HOT 2
- Update GNPS USI resolver to GNPS2 HOT 2
- function: noise peak removal HOT 1
- ValueError: Unknown precursor m/z from USI. Specify the precursor m/z directly. HOT 2
- Matplotlib Version HOT 2
- Manual fragment annotation (in version 0.4.2) HOT 2
- Can't successfully plot an annotated spectrum HOT 1
- annotate using custom fragment list HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spectrum_utils.