memote.support.gpr_helpers

Helper classes and functions for analyzing GPR associations.

Module Contents

Functions

find_top_level_complex(gpr) Find unique elements of both branches of the top level logical AND.
memote.support.gpr_helpers.find_top_level_complex(gpr)[source]

Find unique elements of both branches of the top level logical AND.

Parameters:
gpr : str

The gene-protein-reaction association as a string.

Returns:
int

The size of the symmetric difference between the set of elements to the left of the top level logical AND and the right set.