No project description provided
Project description
Phen2Gene Runner for PhEval
This is the Phen2Gene plugin for PhEval. With this plugin, you can leverage the gene prioritisation tool, Phen2Gene, 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.phen2gene repo and set up the poetry environment:
git clone https://github.com/yaseminbridges/pheval.phen2gene.git
cd pheval.phen2gene
poetry shell
poetry install
Configuring a single run
Setting up the input directory
A config.yaml should be located in the input directory and formatted like so:
tool: phen2gene
tool_version: 1.2.3
variant_analysis: False
gene_analysis: True
disease_analysis: False
tool_specific_configuration_options:
environment: local
phen2gene_python_executable: phen2gene.py
post_process:
score_order: descending
The bare minimum fields are filled to give an idea on the requirements, as Phen2Gene is gene prioritisation tool, only gene_analysis
should be set to True
in the config. An example config has been provided pheval.phen2gene/config.yaml.
The Phen2Gene input data directory should also be located in the input directory - or a symlink pointing to the location in a directory named lib
.
The phen2gene_python_executable
points to the name of the Phen2Gene python executable file which should also be located in the input directory.
The overall structure of the input directory should look something like so (omitting files in the lib
for clarity):
.
├── config.yaml
├── lib
└── phen2gene.py
Setting up the testdata directory
The Phen2Gene plugin for PhEval accepts phenopackets as an input for running Phen2Gene.
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 phen2genephevalrunner \
--output-dir /path/to/output_dir \
--version 1.2.3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pheval_phen2gene-0.1.0.tar.gz
.
File metadata
- Download URL: pheval_phen2gene-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b6d02c45613dad0fc28fabf704931defeaf221662d76cf64ac7e50014c6baf |
|
MD5 | 289afb41653aca9d3c14efb217fa46e1 |
|
BLAKE2b-256 | 2621e77467b5cbed4a567de5727b67b980dcd94b530b105cc6a268339b62c3f7 |
File details
Details for the file pheval_phen2gene-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pheval_phen2gene-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8bc338a00ccc04debf9abc99d32fd1ecd142d95f8e749dab5d3edb06feee26f |
|
MD5 | 004c694c8bf33f9594e78abb6f2fb744 |
|
BLAKE2b-256 | 5dfde706013083abc4fc7e00a0bb4e757e7394743e6dd8e83fc66bfc880a0bee |