Skip to content

Virtual metabolism Network Annotation Propagation

Notifications You must be signed in to change notification settings

lfnothias/vm-NAP

Repository files navigation

Virtual Metabolism Network Annotation Propagation (vm-NAP)

This script downloads results of spectral annotations from classical molecular networking or feature-based molecular networking job from GNPS [http://gnps.ucsd.edu] and generate virtual metabolites either with SyGMa and/or BioTransformer. The resulting candidates can be used for Network Annotation Propagation on GNPS or with SIRIUS.

Running vm-NAP

vm-NAP web-app (cloud-based)

Click on the following link to launch the vm-NAP web-app https://vm-nap-415d4471c20c.herokuapp.com/. Note that this is a temporary instance with limited ressources. For better performance or larger projects, please install and use it locally.

Local installation

Install locally in conda with:

Download the present repository: Use git clone or download manually.

In the terminal, navigate to the repository folder.

Install the environment with: conda env create --file environment_local.yml

Initiate the environment: conda activate vm-NAP

vm-NAP web-app locally

For using the same interface as the website, use the Streamlit web-app locally with the following steps:

Be sure the app is installed localy and you are in the repository folder.

Start the streamlit app with:

streamlit run vm_NAP_streamlit.py --server.port 8501 --server.address 0.0.0.0

or

streamlit run vm_NAP_streamlit.py --server.port 8501 --server.address localhost

vm-NAP commandline:

Representative command for the python script:

python src/vm_NAP_processing.py --job_id=bbee697a63b1400ea585410fafc95723 --run_sygma --run_biotransformer --sirius_input_file=input/compound_identifications.tsv --debug --max_compounds_debug=3

For help in how to use it, run:

python src/vm_NAP_processing.py --help

Using vm-NAP with Network Annotation Propagation

See the documentation for custom database in NAP and how to run Network Annotation Propagation (NAP) on GNPS https://ccms-ucsd.github.io/GNPSDocumentation/nap/#structure-database.

Using vm-NAP With SIRIUS

See the documentation to generate the SIRIUS custom database here.

Spectral library requirement

IMPORTANT: Note that only spectral annotations that have a valid InChI or SMILES identifier will be considered downstream. If the annotations you are interested in don't have an identifier in the library, go back to the GNPS library entry, update the entry by adding an identifier, and rerun your GNPS job

About

Virtual metabolism Network Annotation Propagation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages