Fragments from Molecules

This script will break up a set of input molecules into fragments based on some simple rules, similar to those described in the original RECAP paper.

1. Never cut a hydrogen-connecting bond.
2. Never cut a bond connecting a ring-carbon and a hetero atom (optional).
3. Never cut ring bonds.
4. Refuse a fragment if it is in the SMARTS file specified by -smarts.
5. Refuse a fragment if the number of open bonds exceeds the specified limit.
6. Refuse a fragment if the number of atoms is less than -number.

Backend implementation
The script is used to implement this node.


Maximum number of open bonds allowed in a fragment
Remove duplicate fragments
Keep only one copy of identical fragment but with different coordinates.
Cut bonds between ring-carbon and hetero atoms
Allows cutting of bonds between ring-carbon and hetero atoms.

Input Ports

Input data table containing molecules in Maestro format

Output Ports

Molecules in Maestro format


Std output/error of
Std output/error of


  • No workflows found



You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.