Git Product home page Git Product logo

smilesbasedsimilaritykernels's Introduction

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.

smilesbasedsimilaritykernels's People

Contributors

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