RNAFold-1.99.1.0: RNA secondary structure prediction

Safe HaskellNone

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 t, Ord t, MkViennaPair (elm, elm), PrimArrayOps arr (:. Z t) elm) => arr (:. Z t) elm -> :. (:. Z t) t -> BoolSource

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

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

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

empty :: DIM2 -> Scalar BoolSource

True, if the subword at ij is empty.