7.1.1.3.1.1. cobramod.parsing.bigg¶
Data parsing for BiGG
This module handles the retrieval of data from BiGG into a local directory. The possible type of data that can be downloaded:
Metabolites: Normally, simple names.
Reactions: Mostly abbreviations.
Genes: It is included in the Reactions. Names and gene-reaction-rule is also
acquired
They change identifiers depending on the model given. BiGG have multiple models
7.1.1.3.1.1.1. Attributes¶
7.1.1.3.1.1.2. Functions¶
|
Tries to find a valid URL for the API of BIGG. It will return a |
|
Return a dictionary of cross-references, where the keys are the |
|
|
|
7.1.1.3.1.1.3. Module Contents¶
- cobramod.parsing.bigg.debug_log¶
- cobramod.parsing.bigg.find_url(model_id, query)¶
Tries to find a valid URL for the API of BIGG. It will return a
requests.Responseif URL is valid. object- Parameters:
- Returns:
- A valid request Response followed by the database
Version.
- Return type:
(Response,str)
- Raises:
HTTPError – If identifier is not found in BIGG database.
- cobramod.parsing.bigg.build_reference(json_data)¶
Return a dictionary of cross-references, where the keys are the cross-references and values the their identifiers.
- cobramod.parsing.bigg.parse_reaction_attributes(data, entry)¶
- cobramod.parsing.bigg.parse_metabolite_attributes(data)¶