Skip to content

Repository accompanying the paper submitted to PLoS ONE.

Notifications You must be signed in to change notification settings

akastrin/ddi-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicting potential drug-drug interactions on topological and semantic similarity features using statistical learning

This repository contains the programming code we developed for the paper submitted to PLoS ONE. The code implements the methodology of the paper and reproduce all the figures of the paper.

Dependencies

The code is written in AWK, Python and R. To use the code you will need:

The Makefile file executes appropriate download scripts, Python and R files which process data. Before you run the code you should register on Drugbank Web site [https://www.drugbank.ca/]. This enables you to download appropriate files from Drugbank. In addition you should install UMLS and SemMedDB. Instructions to install UMLS can be found in the following link [https://www.nlm.nih.gov/research/umls/quickstart.html]. Next, go to SemMedDB site [https://skr3.nlm.nih.gov/SemMedDB/], download PREDICATION file and run sql script. Note that you should also insert appropriate credentials into Makefile (only in drugbank, ndfrt, and semmeddb directories).

Using the code

First download the code from GitHub repository using the command

git clone https://github.com/akastrin/ddi-prediction.git

or by downloading a zipped version and extracting it as usual.

There are two directories in the home folder (ddi-prediction), namely df and figures. db directory contains the following subdirectories: drugbank, kegg, ndfrt, semmeddb, and twosides. To reproduce the results of the study you should execute Makefile file in each database directory one after another. For example:

cd db/drugbank/
make

Reproducing the figures

To reproduce the figures presented in the paper run the following code from the command line:

cd figures/
Rscript net_plot.R
Rscript roc_plot.R
Rscript var_imp_plot.R
Rscript hist_plot.R
Rscript hclust_plot.R

About

Repository accompanying the paper submitted to PLoS ONE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published