All Projects → asad → ReactionDecoder

asad / ReactionDecoder

Licence: LGPL-3.0 license
Reaction Decoder Tool (RDT) - Atom Atom Mapping Tool

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ReactionDecoder

openstreetmap-americana
A quintessentially American map style
Stars: ✭ 89 (+50.85%)
Mutual labels:  mapping
themeX
The ultimate UNIVERSAL syntax color theme generator that let's you build your color scheme in just one file and compile for a wide range of different editors.
Stars: ✭ 26 (-55.93%)
Mutual labels:  atom
klyva
A state management library that follows the React component model
Stars: ✭ 53 (-10.17%)
Mutual labels:  atom
EOmaps
A library to create interactive maps of geographical datasets
Stars: ✭ 193 (+227.12%)
Mutual labels:  mapping
language-rainmeter
Syntax highlighting for Rainmeter files in Atom.
Stars: ✭ 19 (-67.8%)
Mutual labels:  atom
CesiumJsSamples
cesiumgis.com/
Stars: ✭ 31 (-47.46%)
Mutual labels:  mapping
cake-atom-syntax
Yummy syntax theme for Atom
Stars: ✭ 17 (-71.19%)
Mutual labels:  atom
bechdel-test
Does your favorite film pass the test?
Stars: ✭ 25 (-57.63%)
Mutual labels:  enzyme
lt-mapper
A Modular Framework for LiDAR-based Lifelong Mapping
Stars: ✭ 301 (+410.17%)
Mutual labels:  mapping
language-mjml
Atom Editor package providing syntax support for MJML
Stars: ✭ 48 (-18.64%)
Mutual labels:  atom
language-viml
Vim script syntax highlighting for Atom and GitHub.
Stars: ✭ 19 (-67.8%)
Mutual labels:  atom
cfn-ami-to-mapping
Generate your CloudFormation RegionMap automatically
Stars: ✭ 34 (-42.37%)
Mutual labels:  mapping
stacktrace
Atom package to navigate stacktraces.
Stars: ✭ 35 (-40.68%)
Mutual labels:  atom
30DayMapChallenge
My contributions to the #30DayMapChallenge 2019, a daily challenge focusing on spatial visualizations happening throughout November.
Stars: ✭ 170 (+188.14%)
Mutual labels:  mapping
last-cursor-position
last Cursor Position is a package for atom that keeps a history of past cursor positions and allows to travel between them
Stars: ✭ 33 (-44.07%)
Mutual labels:  atom
py-skiplist
Pure python implementation of a skiplist data structure
Stars: ✭ 31 (-47.46%)
Mutual labels:  mapping
laminas-feed
Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.
Stars: ✭ 97 (+64.41%)
Mutual labels:  atom
language-cisco
Add syntax highlighting to Cisco configuration files in Atom
Stars: ✭ 48 (-18.64%)
Mutual labels:  atom
pen-paper-coffee-syntax
Light Atom syntax theme designed for writing texts in markdown.
Stars: ✭ 55 (-6.78%)
Mutual labels:  atom
CesiumJsFirstPersonCameraController
cesiumgis.com/
Stars: ✭ 20 (-66.1%)
Mutual labels:  mapping

Introduction

Reaction Decoder Tool (RDT)

1. Atom Atom Mapping (AAM) Tool

2. Reaction Annotator (Extract Bond Changes, Identify & Mark Reaction Centres) and

3. Reaction Comparator (Reaction Similarity based on the Bond Changes, Reaction Centres or Substructures)

Contact

Author: Dr. Syed Asad Rahman e-mail: [email protected]

Installation

a) You could [download the latest RDT] (https://github.com/asad/ReactionDecoder/releases) release version from the github.

b) Compile the core code using maven?:

POM.xml commands


use POM.xml and mvn commands to build your project
1) mvn -DskipTests=true install (skip test)
2) mvn install (include test)
3) mvn clean (clean)
4) mvn package
5) mvn -P local clean install -DskipTests=true (fast single jar compilation, skip test)
6) mvn -P local clean install (single jar compilation with test)

Atom Atom Mapping using Java API

View mapped reaction using CDKDEPICT Tool.


public static void main(String[] args) throws CloneNotSupportedException, CDKException, AssertionError, Exception {
        final SmilesGenerator sg = new SmilesGenerator(SmiFlavor.AtomAtomMap);
        final SmilesParser smilesParser = new SmilesParser(DefaultChemObjectBuilder.getInstance());

        String reactionSM = "CC(=O)C=C.CC=CC=C>>CC1CC(CC=C1)C(C)=O";
        String reactionName = "Test";

        IReaction cdkReaction = smilesParser.parseReactionSmiles(reactionSM);

        IReaction performAtomAtomMapping = performAtomAtomMapping(cdkReaction, reactionName);
        System.out.println("AAM sm: " + sg.create(performAtomAtomMapping));
    }

    /**
     *
     * @param cdkReaction
     * @param reactionName
     * @return
     * @throws InvalidSmilesException
     * @throws AssertionError
     * @throws Exception
     */
    public static IReaction performAtomAtomMapping(IReaction cdkReaction, String reactionName) throws InvalidSmilesException, AssertionError, Exception {
        cdkReaction.setID(reactionName);
        /*
         RMT for the reaction mapping
         */
        boolean forceMapping = true;//Overrides any mapping present int the reaction
        boolean generate2D = true;//2D perception of the stereo centers
        boolean generate3D = false;//2D perception of the stereo centers
        StandardizeReaction standardizeReaction = new StandardizeReaction(); //Standardize the reaction
        ReactionMechanismTool rmt = new ReactionMechanismTool(cdkReaction, forceMapping, generate2D, generate3D, standardizeReaction);
        MappingSolution s = rmt.getSelectedSolution();//Fetch the AAM Solution
        IReaction reaction = s.getReaction();//Fetch Mapped Reaction
        return reaction;
    }

License

RDT is released under the GNU General Public License version 3.

Author: Syed Asad Rahman
e-mail: [email protected]
c/o EMBL-European BioInformatics Institute (EBI)
WTGC, CB10 1SD Hinxton
UK

Note: The copyright of this software belongs to the author
and EMBL-European BioInformatics Institute (EBI).

How to Cite RDT?

SA Rahman, G Torrance, L Baldacci, SM Cuesta, F Fenninger, N Gopal, S Choudhary, JW May, GL Holliday, C Steinbeck and JM Thornton: Reaction Decoder Tool (RDT): Extracting Features from Chemical Reactions, Bioinformatics (2016)

doi: 10.1093/bioinformatics/btw096

Sub-commands

Perform AAM

AAM using SMILES

java -jar ReactionDecoder.jar -Q SMI -q "CC(O)CC(=O)OC(C)CC(O)=O.O[H]>>[H]OC(=O)CC(C)O.CC(O)CC(O)=O" -g -c -j AAM -f TEXT

Perform AAM for Transporters

AAM using SMILES (accept mapping with no bond changes -b)

java -jar ReactionDecoder.jar -Q SMI -q "O=C(O)C(N)CC(=O)N.O=C(O)C(N)CS>>C(N)(CC(=O)N)C(=O)O.O=C(O)C(N)CS" -b -g -c -j AAM -f TEXT

Annotate Reaction using SMILES

java -jar ReactionDecoder.jar -Q SMI -q "CC(O)CC(=O)OC(C)CC(O)=O.O[H]>>[H]OC(=O)CC(C)O.CC(O)CC(O)=O" -g -c -j ANNOTATE -f XML

Compare Reactions

Compare Reactions using SMILES with precomputed AAM mappings

java -jar ReactionDecoder.jar -Q RXN -q example/ReactionDecoder_mapped.rxn  -T RXN -t example/ReactionDecoder_mapped.rxn -j COMPARE -f BOTH -u

Compare Reactions using RXN files

java -jar ReactionDecoder.jar -Q RXN -q example/ReactionDecoder_mapped.rxn  -T RXN -t example/ReactionDecoder_mapped.rxn -j COMPARE -f BOTH
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].