genotype_browser package

Module contents

class genotype_browser.views.QueryDownloadView[source]

Bases: query_base.query_base.QueryBaseView

DOWNLOAD_LIMIT = 10000
post(request)
class genotype_browser.views.QueryPreviewSummaryVariantsView[source]

Bases: query_base.query_base.QueryBaseView

post(request)
class genotype_browser.views.QueryPreviewVariantsView[source]

Bases: query_base.query_base.QueryBaseView

MAX_SHOWN_VARIANTS = 1000
post(request)
class genotype_browser.views.QueryPreviewView[source]

Bases: query_base.query_base.QueryBaseView

post(request)
class genotype_browser.views.QuerySummaryVariantsDownloadView[source]

Bases: query_base.query_base.QueryBaseView

DOWNLOAD_LIMIT = 10000
post(request)
class genotype_browser.views.QuerySummaryVariantsView[source]

Bases: query_base.query_base.QueryBaseView

MAX_SHOWN_VARIANTS = 1000
post(request)
genotype_browser.views.handle_partial_permissions(user, dataset_id: str, request_data: dict)[source]

A user may have only partial access to a dataset based on which of its constituent studies he has rights to access. This method attaches these rights to the request as study filters in order to filter variants from studies the user cannot access.

Created on Feb 6, 2017

@author: lubo