Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hkmztrk/smilesbasedsimilaritykernels
https://github.com/hkmztrk/smilesbasedsimilaritykernels
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hkmztrk/smilesbasedsimilaritykernels
- Owner: hkmztrk
- Created: 2015-03-05T10:24:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T11:03:55.000Z (about 7 years ago)
- Last Synced: 2023-02-27T00:56:47.652Z (almost 2 years ago)
- Language: Java
- Size: 17.2 MB
- Stars: 14
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.](https://academic.oup.com/bioinformatics/article/24/13/i232/231871) (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"};
orString[] 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.