Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Ambit-SMIRKS is an extension of the AMBIT-SMARTS Java library, both part of the AMBIT project

The SMIRKS module is used to enable metabolite predictions in Toxtree, once that site of metabolisms are predicted by SMARTCyp

Main functionality

Transformation mapping modes

The transformations can be applied on various sites of the target molecule in several modes:

  • single
  • non-overlapping
  • non-identical
  • non-homomorphic or
  • externally specified list of sites
Test online

Maven artifacts


Code examples

    IAtomContainer target = (initialize)
    SMIRKSManager smrkMan = new SMIRKSManager();
    SMIRKSReaction reaction = smrkMan.parse(smirks);
    if (!smrkMan.getErrors().equals(""))  {
           throw(new Exception("Smirks Parser errors:\n" + smrkMan.getErrors()));
    if (smrkMan.applyTransformation(target, reaction)) 
           return target; //all products inside the same atomcontainer, could be disconnected
    else return null;
  • Generate separate products for every possible reaction (used in Toxtree)
    SMIRKSManager smrkMan = new SMIRKSManager();
    SMIRKSReaction smr = smrkMan.parse(reaction.getSMIRKS());
    IAtomContainer product = reactant; //(IAtomContainer) reactant.clone();
    IAtomContainerSet rproducts = smrkMan.applyTransformationWithSingleCopyForEachPos(product, null, smr);
    //products returned in a separate atom sontainer set

Application in metabolite generation

Toxtree is an open-source application that predicts various kinds of toxic effects, mostly by applying structural alerts, arranged in a decision tree fashion. You could download the application or test Toxtree online

SMARTCyp (Cytochrome P450-Mediated Drug Metabolism) model is developed by Patrik Rydberg et al and is included as Toxtree module since Toxtree 2.1.0.