Code Monkey home page Code Monkey logo

big-drp's Introduction

BiG-DRP: Bipartite Graph-based Drug Response Predictor

Implementation of Bipartite Graph-represented Drug Response Predictor (BiG-DRP and BiG-DRP+) as described in:

David Earl Hostallero, Yihui Li, Amin Emad, Looking at the BiG picture: incorporating bipartite graphs in drug response prediction, Bioinformatics, Volume 38, Issue 14, 15 July 2022, Pages 3609โ€“3620, https://doi.org/10.1093/bioinformatics/btac383

Dependencies

This repository has been tested on python 3.7. To install the dependencies run the following on the terminal

pip install -r requirements.txt

Running BiG-DRP

python main.py

Running BiG-DRP+

To run BiG-DRP+, you must first run BiG-DRP while specifying the results subfolder (--folder=<folder_name>). Then run BiG-DRP with the --weight_folder specified as the results subfolder in the previous run.

python main.py --mode=train --folder=big
python main.py --mode=extra --weight_folder=big --folder=big_plus

Additional Parameters

  • --split: the type of data-splitting to use (lco or lpo, default: lco)
  • --dataroot: the root directory of your data (file names for input files can me modified in utils/constants.py) (default: ../)
  • --outroot: the root directory of your outputs (default: ./)
  • --folder: subdirectory you want to save your outputs (optional)
  • --weight_folder: subdirectory for the saved weights and encodings (for BiG-DRP+ only)
  • --mode: train means BiG-DRP, extra means BiG-DRP+ (default: train)
  • --seed: the seed number for 5-fold CV (default: 0)
  • --drug_feat: type of drug feature (desc, morgan, or mixed, default: desc)
  • --network_perc: percentile used for the bipartite graph threshold (default: 1)

Data Availability

Preprocessed data can be accessed here: https://dx.doi.org/10.6084/m9.figshare.20022947

BibTex Citation

@article{hostallero2022looking,
  title={Looking at the BiG picture: incorporating bipartite graphs in drug response prediction},
  author={Hostallero, David Earl and Li, Yihui and Emad, Amin},
  journal={Bioinformatics},
  volume={38},
  number={14},
  pages={3609--3620},
  year={2022},
  publisher={Oxford University Press}
}

big-drp's People

Contributors

ddhostallero avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.