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 convert all OMIM diseases in a phenotype annotation file to lightweight disease phenopackets (without phenotypic features):

p2p convert --phenotype-annotation /path/to/phenotype.hpoa --output-dir /path/to/output-dir --skip-phenotypic-features

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phenotype2phenopacket-0.6.17.tar.gz
Algorithm Hash digest
SHA256 46c5944e39a23e9f90f64ab612419cad78424a3c25461622f11f2b7f260c51e4
MD5 93d04ee2e9c3a2de00e299f5d488e1de
BLAKE2b-256 78e3ab1abe208b71fe0a2403f228ece4c3f264ab3710a5a52cb40aa20780723b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for phenotype2phenopacket-0.6.17-py3-none-any.whl
Algorithm Hash digest
SHA256 5de7923a8b09a72addfde964c82d78932c5cd628094ce5758f72fff7b779856b
MD5 ad627ada6d75105eb3e56655d8998c55
BLAKE2b-256 720d05312aa0521eacb5f7f3800b7a9ec2ba01e177c00e3a5d485e43cd7a7592

See more details on using hashes here.

Supported by

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