Macromolecules

Peptides, nucleic acids and other polymers are written as monomers joined by connections.

Templates and their ids

A template has an id, and the same string is used everywhere the template is referred to:

Where

Written as

the top-level key of the template

monomerTemplate-<id>

the reference in root.templates

{"$ref": "monomerTemplate-<id>"}

a monomer’s templateId

<id>

an ambiguous template’s option

<id>

Ambiguous templates follow the same scheme with the prefix ambiguousMonomerTemplate-.

Attachment points

A template’s attachment points are named R1, R2 and so on. In a chain, R1 is the left point, R2 the right one, and R3 and above are side points. A point may have a leaving group: atoms of the template that are removed when a connection uses the point.

Coordinates

A monomer’s position places the origin of its template’s coordinates in the drawing, in the same units and with the same y axis as atom locations. The atoms of an expanded monomer are at the position plus the template’s atom locations, after the monomer’s transformation.