common_reports_api package
Subpackages
- common_reports_api.tests package
- Submodules
- common_reports_api.tests.test_common_reports_api module
test_autogenerate_common_report()
test_families_data_all_download()
test_families_data_all_download_no_permissions()
test_families_data_download()
test_families_data_download_no_permissions()
test_families_tags_download()
test_families_tags_download_errors_on_bad_body()
test_family_counters()
test_family_counters_download()
test_variant_reports()
test_variant_reports_full()
test_variant_reports_has_permissions()
test_variant_reports_permissions()
- Module contents
Submodules
common_reports_api.common_reports_helper module
- class common_reports_api.common_reports_helper.BaseCommonReportsHelper[source]
Bases:
GPFTool
Base class for common reports helper
- abstract get_common_report() dict[str, Any] | None [source]
Load and return common report for a study.
- abstract get_family_counter_list(group_name: str, counter_id: int) Any [source]
Return family counters as list.
- abstract get_family_counter_tsv(group_name: str, counter_id: int) list[str] [source]
Return family counters as tsv file.
- class common_reports_api.common_reports_helper.CommonReportsHelper(study: WDAEStudy)[source]
Bases:
BaseCommonReportsHelper
Build enrichment tool test.
- get_family_counter_list(group_name: str, counter_id: int) Any [source]
Return family counters as list.
- get_family_counter_tsv(group_name: str, counter_id: int) list[str] [source]
Return family counters as tsv file.
- get_full_common_report() dict[str, Any] | None [source]
Load and return full common report for a study.
- static make_tool(study: WDAEAbstractStudy) GPFTool | None [source]
common_reports_api.urls module
common_reports_api.views module
- class common_reports_api.views.FamiliesDataDownloadView[source]
Bases:
QueryBaseView
,DatasetAccessRightsView
Families data download view class.
- class common_reports_api.views.FamilyCounterDownloadView[source]
Bases:
QueryBaseView
,DatasetAccessRightsView
Family counters download view class.
- class common_reports_api.views.FamilyCounterListView[source]
Bases:
QueryBaseView
,DatasetAccessRightsView
Family couters list view class.
- class common_reports_api.views.VariantReportsFullView[source]
Bases:
QueryBaseView
,DatasetAccessRightsView
Variants report full view class.
- class common_reports_api.views.VariantReportsView[source]
Bases:
QueryBaseView
Variant reports view class.
- common_reports_api.views.create_common_reports_helper(gpf_instance: WGPFInstance, study: WDAEAbstractStudy) BaseCommonReportsHelper [source]
Create an pheno browser helper for the given dataset.