-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Equality of metabolites and reactions #1414
Comments
I don't disagree that better comparison methods would be useful, but can I anyway ask about your use-case? For the last part, |
I am knocking-in ractions from one "universal" model into another model that I want to simulate.
|
Apart from the difficulties in checking that the stoichiometry, genes and GPRs are the same, the annotations would be really hard I feel. What if the reactions agree in their KEGG ID but not in the ModelSEED one? Or if one misses an annotation. |
Or if one uses a deprecated id and the other the current one. I think sensibly the annotations can only be considered metadata and that stoichiometry and GPR is all that should be checked. But also even checking stoichiometry is nontrivial. |
Checklist
Problem
I want to be able to detect if metabolites or reactions are equal so i can avoid adding duplicates to my model.
Consider:
Solution
The exact details of how this would work is unclear to me.
In terms of should it require that the metabolites have same id, or should it require a deeper check that they are equal in all fields.
Should it allow different id if name is the same?
In general though we should be be able to detect if reactions are the same.
Alternatives
In general it seems like sometimes reactions are considered equal if they have the same identifier.
Except the equality operator is not implemented.
E.g.
model.add_reactions
will ignore requests to add things with same idAnything else?
No response
The text was updated successfully, but these errors were encountered: