Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phenotype2phenopacket-0.2.0.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

phenotype2phenopacket-0.2.0-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file phenotype2phenopacket-0.2.0.tar.gz.

File metadata

  • Download URL: phenotype2phenopacket-0.2.0.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

Hashes for phenotype2phenopacket-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c367c50b2127d26b50ffc083ce13fb0bf2793958c7c1be90cf0d421d669a2717
MD5 263309bc5d76d7ac3ca03c3e5fa7c140
BLAKE2b-256 2de341ff8214eba93d6904cc06a49a5fb8fac1e6bab19fb804e4ac4938e6d255

See more details on using hashes here.

File details

Details for the file phenotype2phenopacket-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phenotype2phenopacket-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2490ce02a6ac12f3f98200dd3711f58fd8bd584970797c1c78a790dbbeff0d08
MD5 93f27f1498c15e3224383da5768d369f
BLAKE2b-256 1c152d16a0d0e5228781b40b21959278d421694adbf7857eee79644ed439ad2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page