FEV_KEGG.KEGG.NUKA module

class FEV_KEGG.KEGG.NUKA.NUKA[source]

Bases: object

This is a hypothetical ‘complete’ organism - NUKA - which possesses all EC numbers known to all metabolic KEGG pathways.

Conversions to other graph types are not possible, because as a hypothetical organism, NUKA has no genes.

Variables:self.nameAbbreviation (str) –
_SubstanceReactionGraph2SubstanceEcGraph(speciesSubstanceReactionGraph: FEV_KEGG.Graph.SubstanceGraphs.SubstanceReactionGraph) → FEV_KEGG.Graph.SubstanceGraphs.SubstanceEcGraph[source]

Converts NUKA’s substance-reaction graph into a substance-EC graph. Uses pathway information embedded into the graph object.

Parameters:speciesSubstanceReactionGraph (SubstanceReactionGraph) – NUKA’s substance-reaction graph.
Returns:NUKA’s substance-EC graph.
Return type:SubstanceEcGraph

Warning

This function is special to NUKA and MUST NOT be used anywhere else!

substanceEcGraph

NUKA’s substance-EC graph.

Returns:

Contains all substrates/products and all EC numbers known to KEGG’s metabolic pathways.

Return type:

SubstanceEcGraph

Raises:
  • HTTPError – If any underlying organism, pathway, or gene does not exist.
  • URLError – If connection to KEGG fails.
substanceReactionGraph

NUKA’s substance-reaction graph.

Returns:

Contains all substrates/products and all reactions known to KEGG’s metabolic pathways.

Return type:

SubstanceReactionGraph

Raises:
  • HTTPError – If any underlying organism, pathway, or gene does not exist.
  • URLError – If connection to KEGG fails.

Note

This SubstanceReactionGraph can NOT be converted into a SubstanceGeneGraph, as the pathways do not contain gene information!