Git Product home page Git Product logo

smiles2monomers's Introduction

Smiles2Monomers

A tool to link chemical structures to biological structures

Resear article :
"Smiles2Monomers : a link between chemical and biological structures for polymers"
Yoann Dufresne, Laurent Noé, Valérie Leclère and Maude Pupin
http://www.ncbi.nlm.nih.gov/pubmed/26715946
Journal of Cheminformatics, January 2016

Overview

Smiles2Monomers is a software to infer monomeric structures from atomic structures of polymers. The structures are predicted by a two-step algorithm. First, all the candidates monomers are independantly searched and second, all the founded monomers are putted together in a non-overlapping tiling. For more details, please read the article.
For speed performances during the search, we decided to pre-compute an index of the best way to search each monomer in polymers. So, each monomer have to be carve by boundary rules and ordered using frequences of atoms.

To perform an analysis of polymers a few files are required:

  • A monomers file: The candidates monomers in the polymers
  • A polymers file: The polymers to analyse
  • A rules file: The rules to link monomers together
  • A learning file: This file has to contain "classical" polymers for your domain. The composition will impact the speed of the seach but not the quality of the results.

For details of the files compositions please read the wiki page.

How to install (Command line procedure)

Download

git clone https://github.com/yoann-dufresne/Smiles2Monomers
cd Smiles2Monomers

Compile

ant compile
ant create_jar

Now you should find a binary file named s2m.jar in the build directory. The program is ready.

How to use s2m

Using the ant file

Pre-computation

Files requirments:

  • data/monomers.json: The monomers to search for
  • data/rules.json: The binding rules
  • data/learning.json: Learning base of polymers

When these files are ready, you are ready to pre-compute the monomer index:
ant preCompute

To verify if nothing gone wrong, go into the data directory and look for residues.json, chains.json and serials/ directory. If they all exists, you can now run the main program on many polymer files.

Running s2m

Files requirments:

  • data/monomers.json: The monomers to search for
  • data/polymers.json: The polymers of interest
  • data/residues.json: Generated by the pre-computation
  • data/chains.json: Generated by the pre-computation
  • data/serials/: Generated by the pre-computation

When all the files are ready you can tip
ant s2m

Java command line

Work in progress

smiles2monomers's People

Contributors

yoann-dufresne 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.