Introduction

Omigami
A package to access Omigami services.
Installation
Omigami officially supports python 3.7 up to 3.9. Support for newer versions remains to be tested. To install it, simply:
pip install omigami-client
To be able to visualise the molecule plots, you need to install rdkit
. For Mac and Linux users, please do:
pip install "omigami-client[plots]"
For Windows users, you need to do the following:
conda install -c conda-forge rdkit
Acknowledgement
Spec2Vec
Huber F, Ridder L, Verhoeven S, Spaaks JH, Diblen F, Rogers S, et al. (2021) Spec2Vec: Improved mass spectral similarity scoring through learning of structural relationships. PLoS Comput Biol 17(2): e1008724. https://doi.org/10.1371/journal.pcbi.1008724
MS2DeepScore
Florian Huber, Sven van der Burg, Justin J.J. van der Hooft, Lars Ridder. (2021) MS2DeepScore - a novel deep learning similarity measure for mass fragmentation spectrum comparisons. bioRxiv 2021, doi: https://doi.org/10.1101/2021.04.18.440324
Motivation
Motivation We aim to support metabolomics research by providing the following :
Easy-to-use tools
Access and scalability to the newest algorithms
Maintenance, support and documentation of software, models and data
A community of metabolomics researchers via our Slack
Features
Usage
Configuration
Before start using Omigami, you will need to signup at omigami.com and verify your email to confirm your account. Then, you should configure your credentials in your working machine. You can do so by using the command line utility omigami credentials-helper
and providing the parameters --username <yourusername> --password <yourpassword>
Your encrypted credentials will be safely stored in your machine, if you want to revoke the configuration at any point, you may use omigami credentials-helper --unset
.
How it works
Spec2Vec
Save your spectra data in a MGF file locally
Create an Spec2Vec with your user token
Call
match_spectra
with the location of your mgf file.The MGF spectra data will be processed and sent to the spec2vec model that will convert it into embeddings.
These embeddings will be compared against the reference embeddings around the Precursor MZ.
The N best matches per spectrum are returned on the response as pandas dataframes.
MS2DeepScore
Save your pair of spectra data in a MGF file locally
Create an MS2DeepScore object with your user token
Call
match_spectra
with the location of your mgf file.The MGF spectra data will be processed and sent to the trained neural network that will predict the molecular structural similarity.
The prediction is returned on the response as a pandas dataframe.
Last updated
Was this helpful?