Skip to main content

No project description provided

Project description

SvAnna Runner for PhEval

This is the SvAnna plugin for PhEval. With this plugin, you can leverage the structural variant prioritisation tool, SvAnna, 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.svanna repo and set up the poetry environment:

git clone https://github.com/monarch-initiative/pheval.svanna.git
cd pheval.svanna
poetry shell
poetry install

or install with PyPi:

pip install pheval.svanna

Configuring a single run:

Setting up the input directory

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

tool: svanna
tool_version: 1.0.3
variant_analysis: True
gene_analysis: False
disease_analysis: False
tool_specific_configuration_options:
  svanna_jar_executable: svanna-cli-1.0.3/svanna-cli-1.0.3.jar
  post_process:
    sort_order: descending

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

The svanna_jar_executable points to the location of the Svanna jar executable in the input directory.

Setting up the testdata directory

The SvAnna plugin for PhEval accepts phenopackets and vcf files as an input.

The testdata directory should include subdirectories named phenopackets and vcf.

e.g.,

├── testdata_dir
   ├── phenopackets
   └── vcf

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 svannaphevalrunner \
--output-dir /path/to/output_dir \
--version 1.0.3

Common errors

You may see an error that is related to the current setuptools being used:

pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
    requests (<3,>=2.12.*) ; extra == 'parse'
             ~~~~~~~~~~^

To fix the error, setuptools needs to be downgraded to version 66:

pip uninstall setuptools
pip install -U setuptools=="66"

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_svanna-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

pheval_svanna-0.1.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pheval_svanna-0.1.2.tar.gz
Algorithm Hash digest
SHA256 640460ebad049476ecec5641dd6b2f41a5650fa82c7fcae1d4e244423e64054e
MD5 98553f5b283d65bc7dacc91bf9ba275e
BLAKE2b-256 a5c490e70e78b5234e9e184950285ee3ad32666ee8acfacaa81c1d092fd139e6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pheval_svanna-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 129c6546f7943cb153a46fcb3e3d7d10bcc03ef2df327e027187b10502fbfa0c
MD5 c98087700e14c13db254dc26aa7b3a71
BLAKE2b-256 27ac16e51ceea5a15f560f1356a3cc76f5dd0f8d7b72d41a927d948d4b4cb43d

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