No project description provided
Project description
Phenotype2Phenopacket
Phenotype2Phenopacket is a command-line interface (CLI) application for the construction of phenopackets from a phenotype annotation file.
Installation
Phenotype2Phenopacket can be installed from PyPi.
pip install phenotype2phenopacket
Usages
To convert all OMIM diseases in a phenotype annotation file to disease phenopackets, where all phenotypes are retained:
p2p convert --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir
To create synthetic patient disease phenopackets, where the dataset is more variable and frequencies are taken into account and constrained noise is applied :
p2p create --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir
You can also limit the number of disease phenopackets converted/created:
p2p convert --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir --num-diseases 100
To add known gene-to-phenotype relationships to phenopackets:
p2p add-genes --phenopacket-dir /path/to/synthetic-phenopackets --disease-pg /path/to/disease.pg --hgnc-data /path/to/hgnc_complete_set.txt --output-dir /path/to/output-dir
NOTE: To add known gene-to-phenotype the Exomiser disease.pg file is expected
Project details
Release history Release notifications | RSS feed
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 phenotype2phenopacket-0.1.1.tar.gz
.
File metadata
- Download URL: phenotype2phenopacket-0.1.1.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee2587167a324d90443110ac1d591c8ee448175675631b40827919b82e9f15c |
|
MD5 | 9e628b093e930d8d3eb2fecae9d0b18d |
|
BLAKE2b-256 | 51c0e77c053c4f0995790cd7beefc079e72202f6f56c6e974510e82c2c38920b |
Provenance
File details
Details for the file phenotype2phenopacket-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: phenotype2phenopacket-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a03b10c7eb393001e6e3251655d86de3787ebb626721d6f5abcb1826fe803865 |
|
MD5 | 8c569388c2f2be1b5b0812cf96a403ff |
|
BLAKE2b-256 | 5d208ff94dc27ccb9ab15b53845a19230f501a0c430e4b10a20d7211e9e5a614 |