PhenoApt python client API library
Project description
phenoapt
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
History
0.1.0 (2020-09-06)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file phenoapt-0.1.6.tar.gz
.
File metadata
- Download URL: phenoapt-0.1.6.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e7c88259974c085d5d341c2b45f76ac53415a8956bfc2c2afcb28d98bb2db2 |
|
MD5 | 4e391b17008a743ac3c27513bb1897db |
|
BLAKE2b-256 | 1772bbac09ffb9d6015ae170bee435a0d2c8652ae70e50e2026c87b4de376118 |
File details
Details for the file phenoapt-0.1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: phenoapt-0.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd737bb7e13c5d57e495a0944c79bf94ebdd849ccdf8a2c843d11b4b38f02a4 |
|
MD5 | 2b8f39d5905a74a632e005d1119ee471 |
|
BLAKE2b-256 | 7bf8741b080b3a8f6a6e978090b709eed4eca6573ac7df4035377c3997def2c9 |