Published June 9, 2026 | Version 1.0

A two-layer structural-key framework for linking compound identifiers and MS/MS evidence in spectral database curation

Authors/Creators

  • 1. ROR icon Fudan University

Description

This repo contains example code for manuscript "A two-layer structural-key framework for linking compound identifiers and MS/MS evidence in spectral database curation".

# Full Two Database Curation Workflows
This repository contains two subfolders dedicated to different parts of the workflows:
 
- `smiles_standardization/`, the manuscript's core logics of standardizing reported structures.
- `two_layer_library_curation/`, the two-layer curation workflow builds upon HMDB and MoNA MS/MS curation tables.
- `requirements.txt` contains the python packages required for the workflow.
 
## Input Data
A basic set of proline examples described in Figure3 was uploaded along with the example curation workflow. For a full curation of HMDB and MoNA, please download the source files from the database providers, detailed versions are recorded in 'Methods and Materials' section of the manuscript.
- HMDB downloads https://www.hmdb.ca/downloads
Download “All Metabolites” xml file (HMDB structure entries) and "MS-MS Spectra Files (XML) - Experimental".
- MoNA downloads https://mona.fiehnlab.ucdavis.edu/downloads
 
Place the full HMDB and MoNA files under `./two_layer_library_curation/data`, and HMDB spectra under `./two_layer_library_curation/data/hmdb_spectra`. With these files in place, the workflow can construct the two-layer structure and MS/MS curation tables from the full HMDB+MoNA inputs.

Files

FullTwoLayerCuration.zip

Files (31.0 MB)

Name Size
md5:a9f12ec5ef2d4959907de5416083069d
31.0 MB Preview Download

Additional details

Software

Programming language
Python