Safe Haskell | None |
---|---|
Language | Haskell2010 |
Methods to transform a secondary structure containing pseudoknots into a structure which is pseudoknot-free.
TODO Until a better name is found, this module is home to functions for "de-pseudoknotting" structures.
TODO Check if there are corner-cases remaining when considering 2-diagrams.
Synopsis
- class RemovePseudoKnots a where
- removeByCounting :: a -> a
Documentation
class RemovePseudoKnots a where Source #
Try to removed pseudoknots from the "pairlist". This works by counting for each pair, how many pairs are incompatible with it. Then those with most incompatibilities are successively removed. This function might well remove more than necessary!
removeByCounting :: a -> a Source #
Instances
RemovePseudoKnots [ExtPairIdx] Source # | |
Defined in Biobase.Secondary.Pseudoknots removeByCounting :: [ExtPairIdx] -> [ExtPairIdx] Source # | |
RemovePseudoKnots [PairIdx] Source # | |
Defined in Biobase.Secondary.Pseudoknots removeByCounting :: [PairIdx] -> [PairIdx] Source # | |
RemovePseudoKnots (Vector ExtPairIdx) Source # | Remove pseudoknotted pairs from extended RNA secondary structures. |
Defined in Biobase.Secondary.Pseudoknots | |
RemovePseudoKnots (Vector PairIdx) Source # | Remove pseudoknotted pairs from RNA secondary structures. |
Defined in Biobase.Secondary.Pseudoknots |