17.1.1.4.1.1. cobra.manipulation.annotate

17.1.1.4.1.1.1. Module Contents

17.1.1.4.1.1.1.1. Functions

add_SBO(model)

adds SBO terms for demands and exchanges

cobra.manipulation.annotate.add_SBO(model)[source]

adds SBO terms for demands and exchanges

This works for models which follow the standard convention for constructing and naming these reactions.

The reaction should only contain the single metabolite being exchanged, and the id should be EX_metid or DM_metid