Coder Social home page Coder Social logo

bio-ontology-research-group / embedpvp Goto Github PK

View Code? Open in Web Editor NEW
2.0 6.0 0.0 180 KB

EmbedPVP: Embedding-based Phenotype Variant Predictor

Home Page: https://www.biorxiv.org/content/10.1101/2023.11.08.566179v1

License: GNU General Public License v3.0

Groovy 5.47% Python 92.20% Shell 1.27% Perl 1.06%
genomic-variants prioritization-algorithm variant-analysis bioinformatics biomedical-ontologies neuro-symbolic knowledge-enhanced-learning

embedpvp's Introduction

EmbedPVP: Embedding-based Phenotype Variant Predictor

Prioritizing genomic variants through neuro-symbolic, knowledge-enhanced learning.

Annotation data sources (integrated in the candidate SNP prediction workflow)

We integrated the annotations from different sources:

  • Gene ontology (GO)
  • Mammalian Phenotype ontology (MP)
  • Human Phenotype Ontology (HPO)
  • Uber-anatomy ontology (UBERON)

Dependencies

  • The code was developed and tested using Python 3.9.6

    You need to use any version of Python > 3.9 and < 3.10

mOWL library
  • We used (mOWL) library to process the input dataset as well as generate the embedding representation using different embedding-based methods.

    You need to have JAVA and JDK installed in your machine.

Get the data

  1. Download all the files from data and place the uncompressed the file in the folder named /data.
  2. Download the required database using CADD and follow the instructions to generate the TSV file with CADD scores for the input VCF file.

Use the tool

You can install the tool either from source or PyPi as follows:

Create a virtual environment

python3 -m venv embedpvp_env
source ./embedpvp_env/bin/activate

☑️ Install from source

git clone https://github.com/bio-ontology-research-group/EmbedPVP.git
cd EmbedPVP/
python setup.py install 
mkdir output
embedpvp [args]

☑️ Install from PyPi

pip install embedpvp
mkdir output
embedpvp [args]
  • Run the command embedpvp --help to display help and parameters:
Initializing the package
Usage: embedpvp [OPTIONS]

Options:
  -d, --data-root TEXT      Data root folder  [required]
  -i, --in_file TEXT        Annotated Input file  [required]
  -p, --pathogenicity TEXT  Path to the pathogenicity prediction file (CADD)
                            [required]
  -hpo, --hpo TEXT          List of phenotype codes separated by commas
                            [required]
  -m, --model_type TEXT     Ontology model, one of the following (go , mp ,
                            hp, uberon, union)
  -e, --embedding TEXT      Preferred embedding model (e.g. TransD, TransE,
                            TranR, ConvE ,DistMult, DL2vec, OWL2vc)
                            [required]
  -dir, --outdir TEXT       Path to the output directory
  -o, --outfile TEXT        Path to the results output file
  --help                    Show this message and exit.
  • Example: embedpvp -d data/ -i example_annotation.vcf.hg38_multianno.txt -p example_cadd.tsv.gz -hpo HP:0004791,HP:0002020,HP:0100580,HP:0001428,HP:0011459 -m hp -e TransE -dir output/ -o example_output1.tsv

Output:

The script will output a ranking a score for the candidate caustive list of variants.

Reference

For further details or if you used EmbedPVP in your work, please refer to this article:

@article{althagafi2023prioritizing,
  title={Prioritizing genomic variants through neuro-symbolic, knowledge-enhanced learning},
  author={Althagafi, Azza and Zhapa-Camacho, Fernando and Hoehndorf, Robert},
  journal={bioRxiv},
  pages={2023--11},
  year={2023},
  publisher={Cold Spring Harbor Laboratory}
}

Note

For any questions or comments please contact [email protected]

embedpvp's People

Contributors

azzatha avatar ferzcam avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

embedpvp's Issues

No license

There is no license for EmbedPVP, making it impossible to use for any application. Please add a LICENSE.md to the repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.