How to use the pyopencga.rest_clients._parent_rest_clients._ParentAnnotationSetRestClient function in pyopencga

To help you get started, we’ve selected a few pyopencga examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opencb / opencga / opencga-client / src / main / python / pyOpenCGA / pyopencga / rest_clients / cohort_client.py View on Github external
from pyopencga.rest_clients._parent_rest_clients import _ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient

class Cohorts(_ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient):
    """
    This class contains method for Cohorts ws (i.e, update, create)
    """

    def __init__(self, configuration, session_id=None, login_handler=None, *args, **kwargs):
        _category = 'cohorts'
        super(Cohorts, self).__init__(configuration, _category, session_id, login_handler, *args, **kwargs)


    def aggregation_stats(self, **options):
        """
        Fetch catalog cohort stats
        URL: /{apiVersion}/cohorts/aggregationStats

        :param study: Study [[user@]project:]study where study and project can be either the id or alias
        :param type: Type
github opencb / opencga / opencga-client / src / main / python / pyOpenCGA / pyopencga / rest_clients / file_client.py View on Github external
from pyopencga.rest_clients._parent_rest_clients import _ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient

class Files(_ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient):
    """
    This class contains methods for the Files webservices
    """

    def __init__(self, configuration, session_id=None, login_handler=None, *args, **kwargs):
        _category = 'files'
        super(Files, self).__init__(configuration, _category, session_id, login_handler, *args, **kwargs)


    def aggregation_stats(self, **options):
        """
        Fetch catalog file stats
        URL: /{apiVersion}/files/aggregationStats

        :param study: study [[user@]project:]study where study and project can be either the id or alias
        :param name: name
github opencb / opencga / opencga-client / src / main / python / pyOpenCGA / pyopencga / rest_clients / sample_client.py View on Github external
from pyopencga.rest_clients._parent_rest_clients import _ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient

class Samples(_ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient):
    """
    This class contains method for Samples webservice
    """

    def __init__(self, configuration, session_id=None, login_handler=None, *args, **kwargs):
        _category = 'samples'
        super(Samples, self).__init__(configuration, _category, session_id, login_handler, *args, **kwargs)


    def aggregation_stats(self, **options):
        """
        Fetch catalog sample stats
        URL: /{apiVersion}/samples/aggregationStats

        :param study: study [[user@]project:]study where study and project can be either the id or alias
        :param source: Source
github opencb / opencga / opencga-client / src / main / python / pyOpenCGA / pyopencga / rest_clients / family_client.py View on Github external
from pyopencga.rest_clients._parent_rest_clients import _ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient

class Families(_ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient):
    """
    This class contains methods for the Families websevices
    """

    def __init__(self, configuration, session_id=None, login_handler=None, *args, **kwargs):
        _category = 'families'
        super(Families, self).__init__(configuration, _category, session_id, login_handler, *args, **kwargs)


    def aggregation_stats(self, **options):
        """
        Fetch catalog family stats
        URL: /{apiVersion}/families/aggregationStats

        :param study: study [[user@]project:]study where study and project can be either the id or alias
        :param creationYear: creation year
github opencb / opencga / opencga-client / src / main / python / pyOpenCGA / pyopencga / rest_clients / individual_client.py View on Github external
from pyopencga.rest_clients._parent_rest_clients import _ParentBasicCRUDClient, _ParentAclRestClient,  _ParentAnnotationSetRestClient

class Individuals(_ParentBasicCRUDClient, _ParentAclRestClient, _ParentAnnotationSetRestClient):
    """
    This class contains methods for the Individuals webservices
    """

    def __init__(self, configuration, session_id=None, login_handler=None, *args, **kwargs):
        _category = 'individuals'
        super(Individuals, self).__init__(configuration, _category, session_id, login_handler, *args, **kwargs)


    def aggregation_stats(self, **options):
        """
        Fetch catalog individual stats
        URL: /{apiVersion}/individuals/aggregationStats

        :param study: study [[user@]project:]study where study and project can be either the id or alias
        :param hasFather: has father (Bool, default=None)