BiobaseXNA-0.11.1.1: Efficient RNA/DNA/Protein Primary/Secondary Structure
Safe HaskellNone
LanguageHaskell2010

Biobase.Secondary.Isostericity

Description

Provides detailed information on isostericity of RNA basepairs. All data is extracted from csv files which were created from supplemental files in:

Frequency and isostericity of RNA base pairs
Jesse Stombaugh, Craig L. Zirbel, Eric Westhof, and Neocles B. Leontis
Nucl. Acids Res. (2009)
doi:10.1093nargkp011
Synopsis

Documentation

class IsostericityLookup a where Source #

Methods to determine the isostericity classes for a given basepair type, or alternatively which basepair types are in a certain isostericity class.

TODO This requires a major cleanup: right now we are handling Strings as class descriptors, but we should really be newtype-wrapping or create enum data constructors.

Methods

getClasses :: a -> [String] Source #

To which classes does a basepair+type belong

inClass :: String -> [a] Source #

What basepairs+type are in a particular class

Instances

Instances details
IsostericityLookup (ExtPair n) Source #

For extended basepairs, we take the default mapping and go from there.

TODO inClass missing

Instance details

Defined in Biobase.Secondary.Isostericity

IsostericityLookup (Pair n) Source #

Normal basepairs are assumed to have cWW basepairing.

TODO inClass missing

Instance details

Defined in Biobase.Secondary.Isostericity

Methods

getClasses :: Pair n -> [String] Source #

inClass :: String -> [Pair n] Source #

default data

defaultIsostericityMap :: forall k (n :: k). Map (ExtPair n) [String] Source #

The default isostericity mapping.

mkIsostericityMap :: forall k (n :: k). [[[String]]] -> Map (ExtPair n) [String] Source #

Mapping of (pair,pairtype) to isostericity class.

mkIsostericityList :: [[[String]]] -> [(ExtPair n, [String])] Source #

Process CSV list-of-lists to get the isostericity data.

parsedCSV :: [[[Field]]] Source #

Simple parsing of raw CSV data.

Raw embeddings

detailedCSV :: ByteString Source #

Raw CSV data, embedded into the library.