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

Or limit for a specific OMIM disease:

p2p create --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir --omim-id OMIM:619340

Or limit for a list of OMIM IDs specified in a text file, with each ID separated by a new line:

p2p create --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir --omim-id-list /path/to/list.txt

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: phenotype2phenopacket-0.5.1.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for phenotype2phenopacket-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2a797a3047956607c123f369c4bdb0339495df28446847999d75b3035f88a4ed
MD5 bf68e7b2c1b83f0bfc4211c2d9400f5f
BLAKE2b-256 38c0e76e029c6bd6a6286b2bd9e3785c505208d4aeeefb154ac39e3fba75dfa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phenotype2phenopacket-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 358714086d7306c0566e2498845b518fc837614f6fcee71d611cbf82c7c0001a
MD5 c763f5d4883be46f4d20a99a5f54c347
BLAKE2b-256 0b02e7a279e7d26152e58bf7d4a0719a5eeb85aaeef87ec7fd92db9d37abfdfd

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