Giter Club home page Giter Club logo

pydtinet's Introduction

PyDTINet

PyDTINet is a Python implementation of DTINet, a network integration approach for drug-target interaction prediction. This Python implementation is provided for the convenience of users who want to use DTINet with Python in their own research. For the original implementation (written in MATLAB) associated with the publication that was used to generate the results in the paper, please see the original DTINet repo. More details about the algorithm can be found in our Nature Communications paper.

Requirements

PyDTINet currently only supports Python 2 due to the dependency on the IMC library used to perform the matrix completion step (we welcome contributions to support Python 3! See feature request below). You can create a conda environment with the required dependencies by running the following command:

conda env create -n dtinet -f environment.yml
conda activate dtinet

Usage

  1. Install the IMC library.

     cd lib
     bash install_imc.sh
     cd ..
    
  2. Unzip the data files.

     unzip data.zip
    
  3. Run a quick demo of the DTINet algorithm.

     cd example
     python demo.py
    

    Due to a random split of the train/test data, the results may vary slightly from the results produced by the original MATLAB implementation. However, the results should be similar enough to demonstrate the basic functionality of the algorithm.

Feature requests of Python 3 support

If you would like to contribute to this project by porting the code to Python 3, please feel free to submit a pull request. We will be happy to review it and merge it into the master branch. The major change would be adapting the file that implements the Python bindings for the IMC library to work with Python 3 (see lib/leml-imf/src/python/train_mf.cpp after unzipping the leml-imf-src.zip file).

Citation

Luo, Y., Zhao, X., Zhou, J., Yang, J., Zhang, Y., Kuang, W., Peng, J., Chen, L. & Zeng, J. A network integration approach for drug-target interaction prediction and computational drug repositioning from heterogeneous information. Nature Communications 8, (2017).

@article{Luo2017,
  author = {Yunan Luo and Xinbin Zhao and Jingtian Zhou and Jinglin Yang and Yanqing Zhang and Wenhua Kuang and Jian Peng and Ligong Chen and Jianyang Zeng},
  title = {A network integration approach for drug-target interaction prediction and computational drug repositioning from heterogeneous information},
  doi = {10.1038/s41467-017-00680-8},
  url = {https://doi.org/10.1038/s41467-017-00680-8},
  year  = {2017},
  month = {sep},
  publisher = {Springer Nature},
  volume = {8},
  number = {1},
  journal = {Nature Communications}
}

Contacts

Please submit GitHub issues or contact Yunan Luo (luoyunan[at]gmail[dot]com) for any questions related to the source code.

pydtinet's People

Contributors

luoyunan 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.