Create BridgeDB Identity Mapping files for HMDB
This groovy script is loosly build on code developed by Martina Kutmon [1] and creates a Derby file for BridgeDB [2] for use in PathVisio, etc.
The script has been tested with HMDB 3.0 [3] data from January 2013.
License
This repository: New BSD.
Derby License -> http://db.apache.org/derby/license.html BridgeDB License -> http://www.bridgedb.org/browser/trunk/LICENSE-2.0.txt
Run the script
- add the jars to your classpath, e.g. on Linux with:
export CLASSPATH=`ls -1 *.jar | tr '\n' ':'`
-
make sure the HMDB data file is saved as hmdb_metabolites.zip
-
run the script with Groovy:
groovy hmdb2derby.groovy
- open the file in PathVisio