Source code containing different SMILES similarity functions written in Java, Eclipse.
"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.
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
You can open the project in Eclipse or NetBeans to run.
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"};
The program will produce text files containing a similarity matrix of the given inputs under the "simmatrix" folder for each function.
Ö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.