Skip to main content

phenoapt

https://img.shields.io/pypi/v/phenoapt.svg https://img.shields.io/travis/phenoapt/phenoapt.svg

Phenotype-based Gene Prioritization, modelled using Graph Embedding techniques

This project contains the python client API library.

Installation

You install phenoapt with pip:

pip install phenoapt

Or, if you prefer, clone the git repo and install from source:

git clone https://github.com/phenoapt/phenoapt.git
cd phenoapt
python setup.py install

Features

  • Rank by genes or diseases

  • Optional phenotype weights can be supplied

Command line usage

An example of top 10 gene rankings given phenotypes and weights:

$ phenoapt rank-gene -p 'HP:0001193,HP:0001231,HP:0002999,HP:0003621' -w '1,2,2,1' -n 10
  rank    score  entrez_id    gene_symbol
------  -------  -----------  -------------
     1  72.5097  EZ:8200      GDF5
     2  73.8103  EZ:2697      GJA1
     3  79.5231  EZ:51360     MBTPS2
     4  85.5202  EZ:2316      FLNA
     5  86.5767  EZ:10682     EBP
     6  86.7231  EZ:8481      OFD1
     7  86.9275  EZ:4010      LMX1B
     8  87.2089  EZ:3930      LBR
     9  91.1848  EZ:4000      LMNA
    10  92.2059  EZ:2273      FHL1

and similarly, disease rankings can be obtained like this:

$ phenoapt rank-disease -p 'HP:0001193,HP:0001231,HP:0002999,HP:0003621' -w '1,2,2,1' -n 10
  rank    score  disease_id    disease_name
------  -------  ------------  -------------------------------------------------------------------------------
     1  63.2341  OMD:228900    FIBULAR HYPOPLASIA AND COMPLEX BRACHYDACTYLY
     2  66.2116  OMD:215140    GREENBERG DYSPLASIA; GRBGD
     3  66.3988  OMD:161200    NAIL-PATELLA SYNDROME; NPS
     4  71.6026  OMD:308205    IFAP SYNDROME WITH OR WITHOUT BRESHECK SYNDROME
     5  73.3633  OMD:302960    CHONDRODYSPLASIA PUNCTATA 2, X-LINKED DOMINANT; CDPX2
     6  73.3904  OMD:135900    COFFIN-SIRIS SYNDROME 1; CSS1
     7  74.5251  OMD:228930    FIBULAR APLASIA OR HYPOPLASIA, FEMORAL BOWING AND POLY-, SYN-, AND OLIGODACTYLY
     8  75.0786  OMD:611816    TEMPLE-BARAITSER SYNDROME; TMBTS
     9  75.1829  OMD:228520    FIBROCHONDROGENESIS 1; FBCG1
    10  78.0241  OMD:609945    OMD:609945

For more information about tool usage, run phenoapt with –help.

Code usage

See jupyter notebook example

History

0.1.0 (2020-09-06)

  • First release on PyPI.

Metadata

Release files for phenoapt 0.1.6

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

Source distribution (sdist)

Source distribution for phenoapt 0.1.6
File Size Uploaded
phenoapt-0.1.6.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phenoapt 0.1.6
File Interpreter ABI Platform
phenoapt-0.1.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 19.4 kB

Release files / phenoapt-0.1.6.tar.gz

Download URL phenoapt-0.1.6.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
61e7c88259974c085d5d341c2b45f76ac53415a8956bfc2c2afcb28d98bb2db2
BLAKE2b-256 checksum
How to use checksums
1772bbac09ffb9d6015ae170bee435a0d2c8652ae70e50e2026c87b4de376118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.1

Release files / phenoapt-0.1.6-py2.py3-none-any.whl

Download URL phenoapt-0.1.6-py2.py3-none-any.whl
Size 7.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1bd737bb7e13c5d57e495a0944c79bf94ebdd849ccdf8a2c843d11b4b38f02a4
BLAKE2b-256 checksum
How to use checksums
7bf8741b080b3a8f6a6e978090b709eed4eca6573ac7df4035377c3997def2c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.1

2 release files

0.1.0

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