Skip to content

Commit

Permalink
Add adjacency orientation example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrinal-Thomas-Epic committed Sep 14, 2024
1 parent c8a8142 commit 0f3ab58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/source/conventions/normalization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,12 @@ will be selected by meeting the following ordered criteria.
2. The adjoined sequence accessions are equal or in ascending lexicographical order.
3. The defined adjoined sequence coordinates are in ascending numerical order.

When adjacencies are used in the context of a :ref:`DerivativeMolecule`, the traversal
direction is definitional and must be specified using a :ref:`TraversalBlock`.
When adjacencies are used in the context of a :ref:`DerivativeMolecule`, the orientation
is definitional and must be specified using a :ref:`TraversalBlock`.

.. figure:: ../images/ex_adjacency_orientation.png

**The same pair of adjacencies can produce significantly different derivative molecules
depending on orientation.** In the top example, a 100-base sequence is deleted and
replaced by a 1000-base inverted sequence. In the bottom example, a 100-base inverted
sequence is inserted, and a 1000-base sequence is duplicated.
Binary file added docs/source/images/ex_adjacency_orientation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f3ab58

Please sign in to comment.