"""GO-DAG constants."""

__copyright__ = "Copyright (C) 2010-2018, DV Klopfenstein, H Tang, All rights reserved."
__author__ = "DV Klopfenstein"


# pylint: disable=too-few-public-methods
class Consts(object):
    """Constants commonly used in GO-DAG operations."""

    NAMESPACE2NS = {
        'biological_process' : 'BP',
        'molecular_function' : 'MF',
        'cellular_component' : 'CC'}

    RELATIONSHIP_LIST = ['part_of', 'regulates', 'negatively_regulates', 'positively_regulates']

    def __init__(self):
        self.relationships = set(self.RELATIONSHIP_LIST)


# Copyright (C) 2010-2018, DV Klopfenstein, H Tang, All rights reserved.

"""GO-DAG constants."""

__copyright__ = "Copyright (C) 2010-2018, DV Klopfenstein, H Tang, All rights reserved."
__author__ = "DV Klopfenstein"


# pylint: disable=too-few-public-methods
class Consts(object):
    """Constants commonly used in GO-DAG operations."""

    NAMESPACE2NS = {
        'biological_process' : 'BP',
        'molecular_function' : 'MF',
        'cellular_component' : 'CC'}

    # https://owlcollab.github.io/oboformat/doc/GO.format.obo-1_4.html
    RELATIONSHIP_LIST = ['part_of', 'regulates', 'negatively_regulates', 'positively_regulates']

    def __init__(self):
        self.relationships = set(self.RELATIONSHIP_LIST)


# Copyright (C) 2010-2018, DV Klopfenstein, H Tang, All rights reserved.

Add comment with link to more info
Add comment with link to more info
