RNAwolf-0.3.0.2: RNA folding with non-canonical basepairs and base-triplets.

BioInf.RNAwolf.Hairpin

Synopsis

Documentation

fHairpin :: [Int] -> BaseF (ExtFeatures (Vector (ExtPairIdx, Double)))Source

A hairpin is a number of 0 or more unpaired nucleotides, enclosed by the nucleotides (i,j) which pair.

TODO should we allow loops with more than 30 unpaired nucleotides?

TODO should we allow hairpins with no unpaired nucleotides in the pin? They do occur, but only under special circumstances which we should model differently...

TODO re-allow IMI

btHairpin :: Params -> Primary -> EStem -> ExtBTSource

Backtracking hairpins.