Skip to main content

Description from GitHub readme.md:

PanelApp tools

This containts a simple class to interact with the PanelApp API. See the (PanelApp website)[https://panelapp.genomicsengland.co.uk/]

The main class is PanelApp.

This also expose a cli command panelapp_dump that can be used to download PanelApp panels to tables. By default, it will download GREEN and AMBER genes for all panels in GRCh38 version into panelapp_[currentdate] folder.

You can user arguments to change genome build, output folder and gene confidence level (see --help)

Following methods are available in the PanelApp class

  • listPanels(self, panel_id=False, name=False, disease=False) : Return pandas dataframe of panels based on the search criteria. When no criteria used returns for all panels. Search criteria work as OR.

  • getPanelId(self, name='.*', disease='.*') Return list of panels ids according to the search criteria. Search criteria work as OR.

  • getGenes(self, pid=False, name=False, disease=False, level=3, out_format="df", build="GRCh38") Return True/False (indicating if any genes found) and a pandas dataframe for the genes of interest. First search for relevant panels using the pid, name and disease, then for the resulting panels get genes informations for genes with level above the value set by level option (level 3 = GREEN genes, 2 = AMBER, 1 = RED). You can ask for GRCh38 or GRCh37 coordinates and the returned dataframe can be structure as a BED file using out_format="bed"

  • dumpPanels(self, output_dir, panels="all", level=3, build="GRCh38") Save panels to disk as tables of genes named by panel id and also save a index table describing panels for each panel id. You can pass a list of panel ids to panels or use all to save all panels. You can set the minimum level of confidence for saved genes using level and the genome build for coordinates using build.

Metadata

Release files for PanelAppAPI 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PanelAppAPI 1.1
File Size Uploaded
PanelAppAPI-1.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PanelAppAPI 1.1
File Interpreter ABI Platform
PanelAppAPI-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / PanelAppAPI-1.1.tar.gz

Download URL PanelAppAPI-1.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
da6d5df81d5d6e43ad147721f90cdd464064a0e38aa0c501eef3c5c7fd26220f
BLAKE2b-256 checksum
How to use checksums
8a379e09492f3818780a2d1125568f41d59974ee92dcf82c37f38bc8d758b04f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

Release files / PanelAppAPI-1.1-py3-none-any.whl

Download URL PanelAppAPI-1.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a30d8d790aa4e95587025b9ec03da73e71a8eccba5ab069ccdcf84f368a48a00
BLAKE2b-256 checksum
How to use checksums
1d3c39322a827ee2fff38db6a3f9e73cd858123ccfa813d281a02ae0d827eacd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page