Crate ff_structure

Crate ff_structure 

Source

Structs§

DotBracketVec
DotBracketVec is a compact representation of secondary structure. Note that the field is public, to allow unsafe modifications. Thus, DotBracketVecs can be malformed and should be converted using the TryFrom trait.
LoopTable
MultiPairTable
Pair
A base pair (i, j) with i < j.
PairSet
A collection of base pairs represented as compact integer keys.
PairTable
As of v0.1.3 the PairTable field is private. A pair-table should be constructed by From or TryFrom traits, but then be save to use.
StrandPairTable

Enums§

DotBracket
LoopInfo
MultiStruct
StructureError

Type Aliases§

NAIDX
Nucleic Acid INdeX: we use u16 (0 to 65k), which is plenty for nucleic acids. Should you ever want to fold longer sequences, beware that P1KEY needs to be twice as large (in bits) as NAIDX, since pairs (NAIDX, NAIDX) are compacted into one P1KEY.
P1KEY
Pair key. Must be >= 2×NAIDX in bit width so we can safely pack two indices.