Closed m-jahn closed 4 years ago
Latest commit 354f5c7 contains the function get_bigg_annotation()
that retrieves annotation from Bigg for metabolites and reactions. It stores those in two separate *.json
pseudo model files that can be imported again by update_bigg_annotation()
. Both functions work for reactions and metabolites.
Currently the complete Bigg annotation for all available reactons and metabolites is downloaded every time the model is updated. It would be much more useful to store are downloaded data locally in a
data/
folder. Reference metabolites and reactions downloaded from Bigg could be stored in a plain text format such as ansbml
,json
, or text file.The model_upgrade script would then first look locally for annotation, and then download all missing reaction annotations from Bigg, add it to the local reference and save it under
data
. The new function to do that will beget_bigg_annotation.py
.