Skip to content

Script to update OpenMS' internal HMDB database

Notifications You must be signed in to change notification settings

OpenMS/updateHMDB

Repository files navigation

This script updates the Human Metabolites Database (HMDB) files for OpenMS

It generates a HMDBMappingFile.tsv and a HMDB2StructMapping.tsv that is used by the AccurateMassSearch tool

Steps to do:

  1. git clone this repo
  2. Download "All Metabolites" files as XML from http://www.hmdb.ca/downloads
    image
  3. extract into any folder, e.g, default: /your/path/hmdb_metabolites
  4. delete hmdb_metabolites.xml unless it is the only file
  5. execute python script:
python generateHMDBFilesForOpenMS.py /your/path/hmdb_metabolites/
  1. double-check
  2. create a pull request to the OpenMS/OpenMS repository

Requires:

  • python 3.6+
  • lxml

About

Script to update OpenMS' internal HMDB database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages