Giter Site home page Giter Site logo

Comments (4)

mwang87 avatar mwang87 commented on July 26, 2024

Yes totally possible, for example in the interactive interface you can see it here:

http://metabolomics-usi.gnps2.org/dashinterface?usi1=mzspec%3AMSV000085444%3AHui_N3_fe%3Ascan%3A500&width=10.0&height=6.0&mz_min=None&mz_max=None&max_intensity=125&annotate_precision=4&annotation_rotation=90&cosine=standard&fragment_mz_tolerance=0.1&grid=True&annotate_peaks=%5B%5B%5D%2C%20%5B%5D%5D

from spectrum_utils.

mwang87 avatar mwang87 commented on July 26, 2024

spectrum

from spectrum_utils.

HijaziHassan avatar HijaziHassan commented on July 26, 2024

Thank you for this awesome tool.
I am working with an unpublished data so the usi help me now. Actually, I was using the pa.annotate_spectrum function with backend='spectrum_utils' from pyteomics library. There, I did not find any argument that allow me to annotate such kind of fragments.
Could you please point me at any?

from spectrum_utils.

bittremieux avatar bittremieux commented on July 26, 2024

If you directly use spectrum_utils itself, you can annotate spectra using MsmsSpectrum.annotate_proforma.

In your case, you'll want to do the following:

  • For immonium ions, include "I" in the ion_types of annotate_proforma.
  • For loss of ammonio, include {"NH3": -17.026549} as neutral_losses. (Or set neutral_losses=True to consider several common losses, as described in the API documentation.)
  • By default, spectrum_utils will only display annotated peaks for standard b/y ions. See here how to customize the spectrum plotting.

from spectrum_utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.