# phizz #
Tool to query HPO and OMIM
## Installation ##
```pip install phizz```
or
```
$git clone https://github.com/moonso/phizz.git
$cd phizz
$python setup.py install
```
## Usage ##
Using command line utility:
```
Usage: phizz query [OPTIONS]
Query the hpo database.
Print the result in csv format as default.
Options:
-c, --config PATH
-h, --hpo_term TEXT Specify a hpo term
-m, --mim_term TEXT Specify a omim id
-o, --outfile FILENAME Specify path to outfile
-j, --to_json If output should be in json format
--help Show this message and exit.
```
so trying:
```
$ phizz query -m OMIM:615373
#hpo_id description
HP:0011675 Arrhythmia
HP:0001644 Dilated cardiomyopathy
HP:0001653 Mitral regurgitation
HP:0000006 Autosomal dominant inheritance
HP:0001711 Abnormality of the left ventricle
```
to json:
```
$ phizz query --hpo_term HP:0000002 --to_json
[{"hpo_term": "HP:0000002", "description": "Abnormality of body height"}]
```
Importing in python:
```
In [1]: import phizz
In [2]: phizz.query_disease(['OMIM:615373'])
Out[2]:
[{'description': u'Arrhythmia', 'hpo_term': u'HP:0011675'},
{'description': u'Dilated cardiomyopathy', 'hpo_term': u'HP:0001644'},
{'description': u'Mitral regurgitation', 'hpo_term': u'HP:0001653'},
{'description': u'Autosomal dominant inheritance', 'hpo_term': u'HP:0000006'},
{'description': u'Abnormality of the left ventricle',
'hpo_term': u'HP:0001711'}]
```
Metadata
Release files for phizz 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phizz-0.2.3.tar.gz | 14.8 MB | Without provenance | Details for phizz-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phizz-0.2.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for phizz-0.2.3-py2.py3-none-any.whl |
Total release size: 29.7 MB
Release files / phizz-0.2.3.tar.gz
| Download URL | phizz-0.2.3.tar.gz |
|---|---|
| Size | 14.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e407ca78ec0870eb11ea692e677d30ef599d91471e996be3d9111baf9f031ea
|
|
BLAKE2b-256 checksum How to use checksums |
03d115a5181b9434a962458cee5ada98f847b41b07881f6019207fc7748b00fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / phizz-0.2.3-py2.py3-none-any.whl
| Download URL | phizz-0.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 14.9 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d455850624a890d6a182a8d41239c4163e2d0545ab5366b84f9ac5f05f061e62
|
|
BLAKE2b-256 checksum How to use checksums |
96da319b56a93c1d403175ee52789aa27d968a0f6fcd3bf54bb41167324d28ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for phizz 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.