PredPrIn - Scientific workflow to predict protein-protein interactions based in a combined analysis of multiple protein characteristics.
master @ 10eb8a4

Workflow Type: Python

Summary

PredPrIn is a scientific workflow to predict Protein-Protein Interactions (PPIs) using machine learning to combine multiple PPI detection methods of proteins according to three categories: structural, based on primary aminoacid sequence and functional annotations.

PredPrIn contains three main steps: (i) acquirement and treatment of protein information, (ii) feature generation, and (iii) classification and analysis.

(i) The first step builds a knowledge base with the available annotations of proteins and reuses this base for other prediction experiments, saving time and becoming more efficient.

(ii) The feature generation step involves several evidence from different classes, such as: Gene Ontology (GO) information, domain interaction, metabolic pathway participation and sequence-based interaction. For the GO branches, we made a study to evaluate the best method to calculate semantic similarity to enhance the workflow performance. This step can be easily modified by adding new metrics, making PredPrIn flexible for future improvements.

Finally, (iii) in the third step, the adaboost classifier is responsible for predicting the final scores from the numerical features dataset, exporting results of performance evaluation metrics.

Requirements:

  • Python packages needed:

    • pip3 install luigi
    • pip3 install sqlalchemy
    • pip3 install rdflib
    • pip3 install sklearn
    • pip3 install matplotlib
    • pip3 install numpy
  • Other instalation:

    • sqlite (to be able to see the documentation generated by luigi about the tasks after execution)

Usage Instructions

The steps below consider the creation of a sqlite database file with all he tasks events which can be used after to retrieve the execution time taken by the tasks. It is possible run locally too (see luigi's documentation to change the running command).

  • Preparation:

    1. git clone https://github.com/YasCoMa/predprin.git
    2. cd PredPrIn
    3. pip3 install -r requirements.txt
    4. Download annotation_data.zip (https://drive.google.com/file/d/1bWPSyULaooj7GTrDf6QBY3ZyeyH5MRpm/view?usp=share_link)
    5. Download rdf_data.zip (https://drive.google.com/file/d/1Cp511ioXiw2PiOHdkxa4XsZnxOeM3Pan/view?usp=share_link)
    6. Download sequence_data.zip (https://drive.google.com/file/d/1uEKh5EF9X_6fgZ9cTTp0jW3XaL48stxA/view?usp=share_link)
    7. Unzip annotation_data.zip
    8. Unzip rdf_data.zip
    9. Unzip sequence_data.zip
    10. Download SPRINT pre-computed similarities in https://www.csd.uwo.ca/~ilie/SPRINT/precomputed_similarities.zip and unzip it inside core/sprint/HSP/
    11. Certify that there is a file named client.cfg (to configure the history log and feed the sqlite database). It must have the following data:
     [core]
     default-scheduler-host=localhost
     default-scheduler-port=8082
     rpc-connect-timeout=60.0 
     rpc-retry-attempts=10    
     rpc-retry-wait=60        
    
     [scheduler]
     record_task_history = True
    
     [task_history]
     db_connection = sqlite:///luigi-task-hist.db
    
  • Parameters:

    1. parameters-file -> json file with all the information to process the prediction experiment (example: params.json)
    2. mode -> it can have two values: train (executes cross validation and save the model as a .joblib file) or test (uses a model obtained in train mode to test in some dataset listed in the parameters file)
    3. model -> it is the model file full path saved in train mode as .joblib
  • Running:

    1. mkdir luigi_log (or other name for the log folder of your choice)
    2. luigid --background --logdir luigi_log (start luigi server)
    3. nohup python3.5 -m luigi --module main RunPPIExperiment --parameters-file params.json --mode 'train' --model none.joblib --workers 3 &
      nohup python3.5 -m luigi --module main RunPPIExperiment --parameters-file params.json --mode 'test' --model model.jolib --workers 3 &
      • Replace python3.5 by the command python of your environment
      • Replace the data given as example in params.json using your own data
      • Adapt the number of workers to use as you need and the capacity of your computational resource available

    You can monitor the prediction experiment execution in localhost:8082

Reference

Martins YC, Ziviani A, Nicolás MF, de Vasconcelos AT. Large-Scale Protein Interactions Prediction by Multiple Evidence Analysis Associated With an In-Silico Curation Strategy. Frontiers in Bioinformatics. 2021:38. https://www.frontiersin.org/articles/10.3389/fbinf.2021.731345/full

Bug Report

Please, use the Issues tab to report any bug.

Version History

master @ 10eb8a4 (earliest) Created 21st Oct 2023 at 00:35 by Yasmmin Martins

meta


Frozen master 10eb8a4
help Creators and Submitter
Creator
  • Yasmmin Martins
Submitter
Citation
Martins, Y. (2023). {PredPrIn - Scientific workflow to predict protein-protein interactions based in a combined analysis of multiple protein characteristics.}. https://github.com/YasCoMa/predprin
License
Activity

Views: 762   Downloads: 110

Created: 21st Oct 2023 at 00:35

Last updated: 21st Oct 2023 at 00:37

help Attributions

None

Total size: 64.3 MB
Powered by
(v.1.15.0)
Copyright © 2008 - 2024 The University of Manchester and HITS gGmbH