goatools.godag.relationship_combos module

Work with combinations of relationships, like part_of and regulates

class goatools.godag.relationship_combos.RelationshipCombos(godag)[source]

Bases: object

Work with combinations of relationships, like part_of and regulates

get_relationship_combos()[source]

Get all combinations of all lengths of relationship lists

chk_relationships_all()[source]

Check that the list of relationships in consts is same as found in GODAG

get_set(relationships_arg)[source]

Return a set of relationships found in all subset GO Terms.