This tool is meant to be able to show USIs from various sources. It will achieve the following goals:
- Enable creation of embeddable images in publications that will link out to viewable/interactable spectrum plots.
- 3rd party embedding for visualization of spectra that exist in repositories (e.g. MassIVE, PRIDE, PeptideAtlas).
- 3rd party embedding of QR code.
Supported USI Types:
- GNPS Molecular Networking Clustered Spectra
- GNPS Spectral Libraries
- ProteoXchange Repository Data
- MS2LDA Reference Motifs
- MassBank Library Spectra
- MetaboLights Dataset Spectra
- Metabolomics Workbench Dataset Spectra
⚠️ These identifiers are based on draft USI and draft Metabolomics USI identifiers. Thus, they are subject to change, and so for the moment, they will be specified asmzdraft
instead ofmzspec
in the first block. Thank you for your patience and working with us!
mzspec:MS2LDA:TASK-190:accession:43062
mzspec:MOTIFDB::accession:171163
mzspec:GNPS:TASK-c95481f0c53d42e78a61bf899e9f9adb-spectra/specs_ms.mgf:scan:1943
mzspec:GNPS:TASK-c95481f0c53d42e78a61bf899e9f9adb-spectra:scan:1943
mzspec:MassIVE:TASK-c95481f0c53d42e78a61bf899e9f9adb-spectra/specs_ms.mgf:scan:1943
mzspec:MassIVE:TASK-c95481f0c53d42e78a61bf899e9f9adb-spectra:scan:1943
mzspec:GNPS:GNPS-LIBRARY:accession:CCMSLIB00005436077
mzspec:MASSBANK::accession:SM858102
mzspec:PXD000561:Adult_Frontalcortex_bRP_Elite_85_f09:scan:17555
mzspec:MSV000079514:Adult_Frontalcortex_bRP_Elite_85_f09:scan:17555
mzspec:MSV000078547:120228_nbut_3610_it_it_take2:scan:389
mzspec:MSV000085444:Hui_N3_fe:scan:500
mzspec:MSV000082791:(-)-epigallocatechin:scan:2
mzspec:MSV000082680:iPSC-T1R1:scan:3
mzspec:MASSBANK::accession:<MassBank Accession>
mzspec:GNPS:TASK-<GNPS Task ID>-<File name in task>:scan:<scan number>
mzspec:MOTIFDB::accession:<Motif DB accession>
mzspec:GNPS:<GNPS library name (ignored)>:accession:<GNPS Library Accession>
mzspec:<MetaboLights MSV identifier>:<Filename>:scan:<Scan Number>
mzspec:<Metabolomics Workbench MSV identifier>:<Filename>:scan:<Scan Number>
Decrease Label Minimum Intensity
Mirror Match with Intensity Scaling
mz_min
: Minimum m/z value.mz_max
: Maximum m/z value.annotate_peaks
: Defines which peaks in which spectrum (top or bottom) will be annotated. The parameters is a list of lists of m/z values of the peaks to be annotated. For a single spectrum plot it should be a single nested list (i.e.[[m1, m2]]
), for a mirror plot it should be two nested lists for the top spectrum and the bottom spectrum (i.e.[[s1m1,s1m2],[s2m1,s2m2]]
).plot_title
: Custom plot title, omit to use default
- /png/
- /svg/
- /json/
- /proxi/v0.1/spectra
- /csv/
- /qrcode/
- /spectrum/
- /mirror/
- /svg/mirror
- /png/mirror
To run unit tests
export PYTHONPATH=${PYTHONPATH}:.
pytest -v -n 4 ./test/