Skip to content

hkmztrk/SMILESbasedSimilarityKernels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMILESbasedSimilarityKernels

Source code containing different SMILES similarity functions written in Java, Eclipse.


Folders

"data" folder contains the chemical data that is used.

  • e: contains unique smiles created from mol files of enzyme data set

  • gpcr: contains unique smiles created from mol files of enzyme data set

  • ic: contains unique smiles created from mol files of enzyme data set

  • nr: contains unique smiles created from mol files of enzyme data set

  • sim_matrix: contains similarity matrices created by SMILES based algorithms.

"source code" folder contains java source code.

How to Run the Jar File

First, please place "data" folder under the same directory with SMILESSim.jar. Then, you can run the code below in the command line to see the results for the four data sets of Yamanishi et al. (enzyme, gpcr, nuclear receptors, ion channels),

java -jar SMILESSimv2.jar

If you want to calculate similarity of your own SMILES set, then you have to put SMILES files (.smi) under your folder. Then you can run the code below in the command line. This command computes similarity for 13 different similarity functions.

java -jar SMILESSimv2.jar [yourfoldername]

You can also choose to run only a function of your choice.

java -jar SMILESSimv2.jar [yourfoldername] [functionname]

To see the available functions:

java -jar SMILESSimv2.jar

How to Run the Source Code

You can open the project in Eclipse or NetBeans to run.

Input

You need to put data folder under source code/SMILESKernels folder for program the read data.

You can place your own folder (newFolder), containing SMILES files (.smi) under data folder with name newFolder.

Then you need to manually add the folder to SMILESKernels.java in the following line,

String[] dataset = {"e", "gpcr", "nr", "ic", "newFolder"};

or

String[] dataset = {"newFolder"};

Output

The program will produce text files containing a similarity matrix of the given inputs under the "simmatrix" folder for each function.

Citation to this work:

Öztürk, Hakime, Elif Ozkirimli, and Arzucan Özgür. "A comparative study of SMILES-based compound similarity functions for drug-target interaction prediction." BMC bioinformatics 17.1 (2016): 128.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages