Pathway analysis for MR BACOn.
1. Map metabolites with their HMDB (and KEGG) ids using the Chemical Translation Service.
Provided by the West Coast Metabolomics Center.
2. Obtain the complete metabolite xml file from the Human Metabolome Database.
./parse_pathways.pl xmlfile.xml
4. Get a list of metabolites that are in the same pathways as the user-defined metabolite-of-interest.
get_metabolites_from_pathway.R