Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SecondaryStructure
- = PiHelix
- | Bend
- | AlphaHelix
- | Extended
- | ThreeTenHelix
- | Bridge
- | Turn
- | Coil
- | Undefined
- data Atom = Atom {
- atomId :: GlobalID
- atomName :: Text
- atomElement :: Text
- atomCoords :: V3 Float
- formalCharge :: Int
- bFactor :: Float
- occupancy :: Float
- data Bond m = Bond {}
- data Residue = Residue {}
- data Chain = Chain {}
- data Model = Model {
- modelChains :: Vector Chain
- modelBonds :: Vector (Bond GlobalID)
- class StructureModels a where
- class StructureSerializable a where
- serializeModels :: Vector Model -> a
- newtype LocalID = LocalID {
- getLocalID :: Int
- newtype GlobalID = GlobalID {
- getGlobalID :: Int
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
Generic chemical bond
Instances
Eq m => Eq (Bond m) Source # | |
Show m => Show (Bond m) Source # | |
Generic (Bond m) Source # | |
NFData a => NFData (Bond a) Source # | |
Defined in Bio.Structure | |
type Rep (Bond m) Source # | |
Defined in Bio.Structure type Rep (Bond m) = D1 (MetaData "Bond" "Bio.Structure" "cobot-io-0.1.2.1-GmPdipoKVSWAuB0k138Xbs" False) (C1 (MetaCons "Bond" PrefixI True) (S1 (MetaSel (Just "bondStart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 m) :*: (S1 (MetaSel (Just "bondEnd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 m) :*: 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.1-GmPdipoKVSWAuB0k138Xbs" False) (C1 (MetaCons "Residue" PrefixI True) ((S1 (MetaSel (Just "resName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "resAtoms") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Vector Atom))) :*: (S1 (MetaSel (Just "resBonds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Vector (Bond LocalID))) :*: (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.1-GmPdipoKVSWAuB0k138Xbs" False) (C1 (MetaCons "Chain" PrefixI True) (S1 (MetaSel (Just "chainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "chainResidues") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Vector Residue)))) |
Model represents a single experiment of structure determination
Model | |
|
Instances
Eq Model Source # | |
Show Model Source # | |
Generic Model Source # | |
NFData Model Source # | |
Defined in Bio.Structure | |
type Rep Model Source # | |
Defined in Bio.Structure type Rep Model = D1 (MetaData "Model" "Bio.Structure" "cobot-io-0.1.2.1-GmPdipoKVSWAuB0k138Xbs" False) (C1 (MetaCons "Model" PrefixI True) (S1 (MetaSel (Just "modelChains") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Vector Chain)) :*: S1 (MetaSel (Just "modelBonds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Vector (Bond GlobalID))))) |
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
serializeModels :: Vector Model -> a Source #
Serialize an array of models to some format
LocalID | |
|