Biobase-0.0.2.1: Base library for bioinformatics

Biobase.Structure

Synopsis

Documentation

data Complex Source

A complex of one or more primary and secondary structures

Constructors

Complex 

Instances

data Secondary Source

A secondary structure. It is explicit that we store the length of the sequence. (length n, last index (n-1) problem)

Constructors

Secondary 

Fields

len :: Int
 
pairings :: [(Int, Int)]
 

Instances

data SSTree a Source

secondary structure representation using an explicit tree, SSExt encodes the length of the underlying sequence. Each node can contain additional information under a.

Constructors

SSTree Int Int a [SSTree a] 
SSExt Int a [SSTree a] 

Instances

Eq a => Eq (SSTree a) 
Read a => Read (SSTree a) 
Show a => Show (SSTree a) 

toSSTree :: Secondary -> SSTree ()Source

generate an SSTree from a secondary structure