package
0.15.5
Repository: https://github.com/open-science-global/poly.git
Documentation: pkg.go.dev

# Functions

NewStemStructure is a wrapper to create a `StemStructure` and call the functions (`(*StemStructure).setStructureType`) required to initialize the struct.
SecondaryStructureFromDotBracket returns the annotated structure and `SecondaryStructure` of a RNA sequence from its 'dot-bracket' structure.

# Constants

Bulge is the type of a `StemStructure` where there is more than one unpaired nucleotide on one 'side' of the `StemStructure` and no unpaired nucleotides on the other 'side'.
GenericInteriorLoop is the type of a `StemStructure` which is not denoted by `StackingPair`, `Bulge`, `Interior1x1Loop`, `Interior2x1Loop`, `Interior1xnLoop`, `Interior2x2Loop`, or `Interior2x3Loop`.
Interior1x1Loop is the type of a `StemStructure` where there is one unpaired nucleotide on both 'sides' of the `StemStructure`.
Interior1xnLoop is the type of a `StemStructure` where there is one unpaired nucleotides on one 'side' and more than two unpaired nucleotides on the other 'side' of the `StemStructure`.
Interior2x1Loop is the type of a `StemStructure` where there are two unpaired nucleotides on one 'side' and one unpaired nucleotides on the other 'side' of the `StemStructure`.
Interior2x2Loop is the type of a `StemStructure` where there are two unpaired nucleotides on both 'sides' of the `StemStructure`.
Interior2x3Loop is the type of a `StemStructure` where there are two unpaired nucleotides on one 'side' and three unpaired nucleotides on the other 'side' of the `StemStructure`.
StackingPair is the type of a `StemStructure` where there are no unpaired nucleotides between the closing and enclosed base pairs of the `StemStructure`.

# Structs

Hairpin contains all the information needed to denote a hairpin loop in a RNA's secondary structure.
MultiLoop contains all the information needed to denote a multi-loop in a RNA's secondary structure.
SecondaryStructure is composed of a list of `MultiLoop`s, `Hairpin`s, and `SingleStrandedRegion`s.
SingleStrandedRegion contains all the information needed to denote a single stranded region in a RNA's secondary structure.
Stem contains all the information needed to denote the stems of a `Hairpin` or `Multiloop`.
StemStructure contains all the information needed to denote the substructures present in a `Stem`.

# Type aliases

StemStructureType denotes the type of a `StemStructure`.