An open API service indexing awesome lists of open source software.

https://github.com/openms/updatehmdb

Script to update OpenMS' internal HMDB database
https://github.com/openms/updatehmdb

Last synced: 3 months ago
JSON representation

Script to update OpenMS' internal HMDB database

Awesome Lists containing this project

README

        

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](hmdb_download.png)
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/
```
6. double-check
7. create a pull request to the OpenMS/OpenMS repository

Requires:
=========

- python 3.6+
- lxml