opencobra / cobrapy

COBRApy is a package for constraint-based modeling of metabolic networks.
http://opencobra.github.io/cobrapy/
GNU General Public License v2.0
467 stars 218 forks source link

Delete duplicate reactions #1311

Closed helehera closed 1 year ago

helehera commented 1 year ago

Hi, I have not found a solution for how to delete duplicate reactions in the model

Is there one that can help me with this?

cdiener commented 1 year ago

Is that a model you could already parse into a cobrapy model? That would be possible. But if those are already there in an SBML model that would be harder. You could parse the XML yourself and remove the nodes...