RNAFold-1.99.1.3: RNA secondary structure prediction

Safe HaskellSafe-Infered

BioInf.RNAfold.Library

Description

A library of helpers for ADPfusion algorithms.

Synopsis

Documentation

baseLr' :: Primary -> DIM2 -> Scalar (Nuc :!: Nuc)Source

Nucleotide, second one to the right. The assertion allows a size of one or two to capture special cases of looking outside of the bounds (used by justStemF in RNAfold).

primary' :: Primary -> DIM2 -> Scalar ((Primary :!: Int) :!: Int)Source

A Primary together with the lowest included nucleotide and the highest included nucleotide.

primaryPR' :: Primary -> DIM2 -> Scalar ((Primary :!: Int) :!: Int)Source

A Primary together with the lowest included nucleotide and the highest included nucleotide.

primaryPL' :: Primary -> DIM2 -> Scalar ((Primary :!: Int) :!: Int)Source

A Primary together with the lowest included nucleotide and the highest included nucleotide.

regionpl' :: Vector Nuc -> DIM2 -> Scalar (Vector Nuc)Source

Vector of nucleotides peeking one nucleotide to the left.

regionpr' :: Vector Nuc -> DIM2 -> Scalar (Vector Nuc)Source

Vector of nucleotides peeaking one nucleotide to the right.

basepairing' :: (Num a, Ord a, MkViennaPair (t, t), PrimArrayOps arr (:. Z a) t) => arr (:. Z a) t -> :. (:. Z a) a -> BoolSource

Tests if (i,j) is a valid base pair.

stackpairing' :: (Enum a, Num a, Ord a, MkViennaPair (t, t), PrimArrayOps arr (:. Z a) t) => arr (:. Z a) t -> a -> :. (:. Z a) a -> BoolSource

constrained :: (t1 -> t) -> t1 -> tSource

empty :: DIM2 -> Scalar BoolSource

True, if the subword at ij is empty.