Skip to content

If the selected group is forming an n-agon with 12 or more than 12 points, the bases should be located inside of the circular structure #3308

@AlexeyGirin

Description

@AlexeyGirin

Steps to Reproduce

  1. Open Macromolecules - Flex mode (clean canvas)
  2. Load from HELM: RNA1{r(A).r(A).r(A).r(A).r(A).r(A).r(A).r(A).r(A).r(A).r(A).r(A)}$RNA1,RNA1,1:R1-23:R2$$$V2.0
Image
  1. Open context menu and click Create cyclic structure option

Actual behavior
System locates bases outside of the circular structure
Image

Expected behavior
System locates bases inside of the circular structure and the bond length between the base and the sugar should be 75% of the standard bond length.
Image

As per requirement:

6.3. If the selected group is forming an n-agon with 12 or more than 12 points, the bases should be located inside of the circular structure, keeping the full standard bond length between the base and the sugar.

Environment details:

  • Ketcher Version 3.10.0-rc.1 Build at 2025-11-03; 14:05:05
  • Indigo Version 1.38.0-rc.1.0-g155cc4da8-wasm32-wasm-clang-19.0.0
  • Chrome Version 142.0.7444.60 (Official Build) (64-bit)
  • Win10

Found while testing: #3196

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions