opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
240 stars 305 forks source link

Updates to VMH ID generation #2259

Closed annasheehy closed 2 months ago

annasheehy commented 2 months ago

Updates to metaboAnnotator function: generateVMHMetAbbr.m

Function can now accept list of metabolites and will check to avoid generating duplicates. Function also reorders list of pre-defined metatbolite abbreviations (transl) from longest to shortest to ensure correct substitutions are made.

Lastly, small bugs fixed.

I hereby confirm that I have: