Is there any way to parse HMDB version 5.0 for AccurateMassSearch node? I tried this https://github.com/epoyraz/updateHMDB but it is not working or maybe the structure of HMDB folders in https://hmdb.ca/downloads has changed. According to this link I download the XML of “All Metabolites” and unzipped it. But then, it says to delete it and the point is that there is no other file left in the downloaded folder. Any ideas?
Hi!
Thank you very much for your answer! I tried it but it seems that the new XML from HMDB most likely has some small mistakes concerning the tags:
File “generateHMDB2StructMapping.py”, line 28, in
for event, elem in context:
File “src/lxml/iterparse.pxi”, line 209, in lxml.etree.iterparse.next
File “hmdb_metabolites/hmdb_metabolites.xml”, line 18163858
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: kiNd line 65535 and kind, line 18163858, column 37