Skip to main content

No project description provided

Project description

GADO Runner for PhEval

This is the GADO plugin for PhEval. With this plugin, you can leverage the gene prioritisation tool, GADO, to run the PhEval pipeline seamlessly. The setup process for running the full PhEval Makefile pipeline differs from setting up for a single run. The Makefile pipeline creates directory structures for corpora and configurations to handle multiple run configurations. Detailed instructions on setting up the appropriate directory layout, including the input directory and test data directory, can be found here.

Installation

Clone the pheval.gado repo and set up the poetry environment:

git clone https://github.com/monarch-initiative/pheval.gado.git

cd pheval.gado

poetry shell

poetry install

or install with PyPi:

pip install pheval.gado

Configuring a single run

Setting up the input directory

A config.yaml should be located in the input directory and formatted like so:

tool: GADO
tool_version: 1.0.1
variant_analysis: False
gene_analysis: True
disease_analysis: False
tool_specific_configuration_options:
  gado_jar: GadoCommandline-1.0.1/GADO.jar
  hpo_ontology: hp.obo
  hpo_predictions_info: predictions_auc_bonf.txt
  genes: hpo_prediction_genes.txt
  hpo_predictions: genenetwork_bonf_spiked/genenetwork_bonf_spiked.dat

The bare minimum fields are filled to give an idea on the requirements, as GADO is gene prioritisation tool, only gene_analysis should be set to True in the config. An example config has been provided pheval.gado/config.yaml.

All GADO input data files required for running (specified in the tool_specific_configuration_options) should be located in the input directory. The gado_jar points to the name of the GADO jar file which should also be located in the input directory.

The overall structure of the input directory should look something like so:

.
├── GadoCommandline-1.0.1
├── config.yaml
├── predictions_auc_bonf.txt
├── hp.obo
├── hpo_prediction_genes.txt
└── genenetwork_bonf_spiked
   └── genenetwork_bonf_spiked.dat

Setting up the testdata directory

The GADO plugin for PhEval accepts phenopackets as an input for running GADO.

The testdata directory should include a subdirectory named phenopackets:

├── testdata_dir
   └── phenopackets

Run command

Once the testdata and input directories are correctly configured for the run, the pheval run command can be executed.

pheval run --input-dir /path/to/input_dir \
--testdata-dir /path/to/testdata_dir \
--runner gadophevalrunner \
--output-dir /path/to/output_dir \
--version 1.0.1

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

pheval_gado-0.1.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

pheval_gado-0.1.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file pheval_gado-0.1.2.tar.gz.

File metadata

  • Download URL: pheval_gado-0.1.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for pheval_gado-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c54a381a2b8db323f16c4c2c5a2c797d5671c127d4f7e1f1b1493c3b7cfb219a
MD5 2e4e5d049f8b08bb3edf7928842ba0f6
BLAKE2b-256 b7b48800f39af586d1c78621cb8d94b05712a1f2b2f1a937dd327bd55d2f864a

See more details on using hashes here.

File details

Details for the file pheval_gado-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pheval_gado-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for pheval_gado-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d605afea264d7d5d9ab0a620f0b6766fc09fb633ac715c4ed78e6d314c61776
MD5 7a2f5fa3abdc08a40106540317b855ba
BLAKE2b-256 ef7aec5251960cb23b672f8dfa2ea23264588a53d3fc5018c1277ca32ad4d80d

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