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.3.0.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phenotype2phenopacket-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4016abfafafc43b4bbb9f18c4ea8d331e8534ec78023cad96b4d7d5b04a6b0d7
MD5 61b4648088b8cd45fc39ba5c149aa221
BLAKE2b-256 5522e6f62aa20a4a7ced810e937f2ddc4b82870a550b3443b0a75ca593216f95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phenotype2phenopacket-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fb89ddbe27c410ae069cb67b10e38a532b067aabdfee1530d3ce6ecaae110d6
MD5 43682d33adf4a7dd39f9951369c1d0f0
BLAKE2b-256 851c433db133959ebbcfb8c0aadfc6c30b9a3b51e43b97ef010c2d93f4753952

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