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 --genes-to-disease /path/to/genes_to_disease.txt --hgnc-data /path/to/hgnc_complete_set.txt --output-dir /path/to/output-dir

NOTE: To add known gene-to-phenotype the genes_to_disease.txt is expected. It can be downloaded here.

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phenotype2phenopacket-0.6.3.tar.gz
Algorithm Hash digest
SHA256 8838616f3e3eb050b6862262dc0e448f21015d9cbba3c0abcdf08bc81e54888f
MD5 0579e9f11eecb6c7122a4e575178a7bb
BLAKE2b-256 9f9b437391a22c4ec59cd39b468cc84efaeac433488b38f7f56e8628cb4dd6e5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for phenotype2phenopacket-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 285a00ec88774b0ca4c25a636c9b2e5756037112246c4262845f62a8e879b970
MD5 66338f2252809ed4f51bf9ae62ef86ce
BLAKE2b-256 0f790b6387bd88f3e1f3bb03a2f8c8913cd1b1b1599af7351d7c0710fe3bc991

See more details on using hashes here.

Provenance

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