AuReMe / metage2metabo

From annotated genomes to metabolic screening in large scale microbiotas
https://metage2metabo.readthedocs.io
GNU Lesser General Public License v3.0
53 stars 7 forks source link

When using `--pwt-xml`, the xml files extracted from Pathway Tools can be incompatible with python-libsbml. #60

Closed ArnaudBelcour closed 8 months ago

ArnaudBelcour commented 10 months ago

Some XML files created by Pathway Tools (and taken by m2m when using the --pwt-xml option) have incorrect IDs for SBML format . Indeed some metabolite IDs can begin with a number which is forbidden in SBML format leading to error when these files are read by python-libsbml, for example when creating the target files from the addedvalue.

A fix is to rename all of these IDs by prefixing them with M_ just after the reconstruction.

ArnaudBelcour commented 8 months ago

Fixed in #61.