Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SecondaryStructure
- = PiHelix
- | Bend
- | AlphaHelix
- | Extended
- | ThreeTenHelix
- | Bridge
- | Turn
- | Coil
- | Undefined
- data Atom = Atom {
- atomName :: Text
- atomElement :: Text
- atomCoords :: V3 Float
- formalCharge :: Int
- bFactor :: Float
- occupancy :: Float
- data Bond = Bond {}
- data Residue = Residue {}
- data Chain = Chain {}
- newtype Model = Model {
- modelChains :: Array Int Chain
- class StructureModels a where
- class StructureSerializable a where
- serializeModels :: Array Int Model -> a
Documentation
data SecondaryStructure Source #
Protein secondary structure
PiHelix | pi helix |
Bend | bend |
AlphaHelix | alpha helix |
Extended | extended |
ThreeTenHelix | 3-10 helix |
Bridge | brigde |
Turn | turn |
Coil | coil |
Undefined | unknown structure |
Instances
Generic atom representation
Atom | |
|
Instances
Eq Atom Source # | |
Show Atom Source # | |
Generic Atom Source # | |
NFData Atom Source # | |
Defined in Bio.Structure | |
type Rep Atom Source # | |
Defined in Bio.Structure type Rep Atom = D1 (MetaData "Atom" "Bio.Structure" "cobot-io-0.1.2.0-Edw5pXm2rhDLW8sGnHkG2U" False) (C1 (MetaCons "Atom" PrefixI True) ((S1 (MetaSel (Just "atomName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "atomElement") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "atomCoords") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (V3 Float)))) :*: (S1 (MetaSel (Just "formalCharge") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "bFactor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float) :*: S1 (MetaSel (Just "occupancy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float))))) |
Generic chemical bond
Instances
Eq Bond Source # | |
Show Bond Source # | |
Generic Bond Source # | |
NFData Bond Source # | |
Defined in Bio.Structure | |
type Rep Bond Source # | |
Defined in Bio.Structure type Rep Bond = D1 (MetaData "Bond" "Bio.Structure" "cobot-io-0.1.2.0-Edw5pXm2rhDLW8sGnHkG2U" False) (C1 (MetaCons "Bond" PrefixI True) (S1 (MetaSel (Just "bondStart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "bondEnd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "bondOrder") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) |
A set of atoms, organized to a residues
Residue | |
|
Instances
Eq Residue Source # | |
Show Residue Source # | |
Generic Residue Source # | |
NFData Residue Source # | |
Defined in Bio.Structure | |
type Rep Residue Source # | |
Defined in Bio.Structure type Rep Residue = D1 (MetaData "Residue" "Bio.Structure" "cobot-io-0.1.2.0-Edw5pXm2rhDLW8sGnHkG2U" False) (C1 (MetaCons "Residue" PrefixI True) ((S1 (MetaSel (Just "resName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "resAtoms") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Array Int Atom))) :*: (S1 (MetaSel (Just "resBonds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Array Int Bond)) :*: (S1 (MetaSel (Just "resSecondary") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SecondaryStructure) :*: S1 (MetaSel (Just "resChemCompType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))) |
Chain organizes linear structure of residues
Instances
Eq Chain Source # | |
Show Chain Source # | |
Generic Chain Source # | |
NFData Chain Source # | |
Defined in Bio.Structure | |
type Rep Chain Source # | |
Defined in Bio.Structure type Rep Chain = D1 (MetaData "Chain" "Bio.Structure" "cobot-io-0.1.2.0-Edw5pXm2rhDLW8sGnHkG2U" False) (C1 (MetaCons "Chain" PrefixI True) (S1 (MetaSel (Just "chainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "chainResidues") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Array Int Residue)))) |
Model represents a single experiment of structure determination
class StructureModels a where Source #
Convert any format-specific data to an intermediate representation of structure
class StructureSerializable a where Source #
Serialize an intermediate representation of sequence to some specific format