Comments (7)
Okay I found the method in v0.3.5 but it looks like neutral_losses
isn't implemented right?
from spectrum_utils.
Haha me again,
I guess you're working on it in master and annotate_proforma
isn't available on the version on PyPI?
if I clone master and run the install directly do you think I could get this functionality the same way through annotate_proforma
?
Thanks again!
from spectrum_utils.
I guess I can install the latest version from PyPI but my HPC setup is old and it can't build fastobo because of missing glibc 2.18.
That is annoying but maybe I can figure something out...
from spectrum_utils.
Yes, sorry. The new and more general annotation functionality is implemented through ProForma support. This is already reflected in the documentation and is present on master
, but I still need to release the new version. I got a bit side-tracked with other projects and I still need to complete some final unit tests and documentation, but I hope to release the new version that supports neutral loss annotations (among other new functionality) in the next few weeks.
Unfortunately ProForma support requires the fastobo library. I'm all too familiar with issues related to outdated glibc versions on HPC systems. Do you have more recent modules available or can you install it through conda?
from spectrum_utils.
install with conda didn't work any better.. I tried installing master
at home with python setup.py install
and the install process seems fine but I have trouble importing the modules. with import spectrum_utils.spectrum as sus
I get ModuleNotFoundError: No module named 'spectrum_utils.spectrum'
and with import spectrum_utils.spectrum_utils.spectrum as sus
I get ImportError: cannot import name 'proforma' from 'spectrum_utils' (unknown location)
from spectrum_utils.
I wouldn't recommend installing master
right now, unless you urgently need the neutral loss functionality. For the time being, standard peak annotations (a/b/c/x/y/z fragments) are available in the latest published version on PyPI and Bioconda.
If installing from master
, use pip rather than setup.py
. Your import errors seem to indicate problems with the installation and/or Python path.
from spectrum_utils.
Fixed in 6103efa.
from spectrum_utils.
Related Issues (20)
- [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
- Get a less rounded mz_delta value in ppm for annotations? HOT 1
- Annotating modified lysine Immonium NH3 neutral loss HOT 4
- Deprecated dependency
- Update XLMOD location
- Lark-Cython for faster grammar parsing
- Cross-link spectra annotation HOT 1
- fastobo make difficult to use the package outside linux 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.