CRDGEN-385: Add 16 bicyclic ring templates#18
Merged
rachelnwalker merged 1 commit intordkit:mainfrom Mar 19, 2026
Merged
Conversation
- Added bicyclic templates with outer rings of 5-8 atoms - Bridge sizes of 1-2 atoms - Templates sorted by bridge size (1-atom first, then 2-atom) - Bond lengths ~1.42 matching existing templates - Properly oriented with bridgeheads horizontal and vertically flipped
rachelnwalker
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
















This adds all sensible permutations of byciclic fused rings that are depicted as a regular polygon with an inner bridge
-outer rings of 5-8 atoms
this provides alternative layouts for the same structure (e.g. 6 membered ring with a 1 atom bridge or 5 membered ring with a 2 atom bridge). Since we are now converting these to SMARTS, the appropriate one will be picked when substitutions are present. Here's an example
Templates are ordered so that shorter bridges come first (they look better)
PLEASE DO NOT MODIFY template_smiles.h DIRECTLY
Add your templates to the templates.smi file in this repository. Add one CXSMILES per line, and please do not insert any blank lines.
Commit your changes and create the PR. The CI workflow will run on the new templates and validate them, and once they are approved, they will be automatically added to the header.
For more information please check https://github.com/rdkit/molecular_templates/blob/main/README.md