Template Deduplication Options

This page describes AutoREACTER options related to reaction-template comparison and duplicate-template removal. These options are mainly useful for developers or advanced users who need to understand how AutoREACTER decides whether two generated reaction templates are equivalent.

The following template-deduplication options are available:

Option Default Purpose
deep_search true Controls stricter RDKit/NetworkX template deduplication before atom typing.
deduplicate_reaction_templates true Removes duplicate reaction templates before writing LAMMPS files.

Default JSON block:

{
  "deep_search": true,
  "deduplicate_reaction_templates": true
}

Important: These options affect reaction-template comparison and duplicate-template removal before LAMMPS files are written.


deduplicate_reaction_templates

AutoREACTER first generates all possible reactions and then generates LAMMPS reaction templates for those reactions. Some of these templates can be duplicates. The deduplicate_reaction_templates option controls whether AutoREACTER removes those duplicate templates.

This deduplication step is one of the final steps in the AutoREACTER workflow. If deduplicate_reaction_templates is set to false, AutoREACTER will keep all generated templates, including duplicates.

Keeping this option set to true is recommended so AutoREACTER only writes unique templates.

Important: If deduplicate_reaction_templates is set to false, AutoREACTER may write many redundant LAMMPS reaction templates.

Example output:

Preparing templates and map file for reaction ID: 1
Preparing templates and map file for reaction ID: 2
Preparing templates and map file for reaction ID: 4
Preparing templates and map file for reaction ID: 8
Preparing templates and map file for reaction ID: 9
Duplicate template disabled: RXN_8
Duplicate template disabled: RXN_9