mmtf-0.1.2.0: Macromolecular Transmission Format implementation

Safe HaskellNone
LanguageHaskell2010

Bio.MMTF

Synopsis

Documentation

data UnitCell Source #

Unit cell data

Constructors

UnitCell 

Fields

Instances
Eq UnitCell Source # 
Instance details

Defined in Bio.MMTF.Type

Show UnitCell Source # 
Instance details

Defined in Bio.MMTF.Type

data Transform Source #

Transform data

Constructors

Transform 

Fields

Instances
Eq Transform Source # 
Instance details

Defined in Bio.MMTF.Type

Show Transform Source # 
Instance details

Defined in Bio.MMTF.Type

data Assembly Source #

Assembly data

Constructors

Assembly 

Fields

Instances
Eq Assembly Source # 
Instance details

Defined in Bio.MMTF.Type

Show Assembly Source # 
Instance details

Defined in Bio.MMTF.Type

data Entity Source #

Entity data

Constructors

Entity 

Fields

Instances
Eq Entity Source # 
Instance details

Defined in Bio.MMTF.Type

Methods

(==) :: Entity -> Entity -> Bool #

(/=) :: Entity -> Entity -> Bool #

Show Entity Source # 
Instance details

Defined in Bio.MMTF.Type

data GroupType Source #

Group type data

Constructors

GroupType 

Fields

Instances
Eq GroupType Source # 
Instance details

Defined in Bio.MMTF.Type

Show GroupType Source # 
Instance details

Defined in Bio.MMTF.Type

data SecondaryStructure Source #

Protein secondary structure

Constructors

PiHelix

pi helix

Bend

bend

AlphaHelix

alpha helix

Extended

extended

ThreeTenHelix

3-10 helix

Bridge

brigde

Turn

turn

Coil

coil

Undefined

unknown structure

data FormatData Source #

MMTF format data

Constructors

FormatData 

Fields

  • mmtfVersion :: !Text

    The version number of the specification the file adheres to

  • mmtfProducer :: !Text

    The name and version of the software used to produce the file

Instances
Eq FormatData Source # 
Instance details

Defined in Bio.MMTF.Type

Show FormatData Source # 
Instance details

Defined in Bio.MMTF.Type

data StructureData Source #

Structure data

Constructors

StructureData 

Fields

Instances
Eq StructureData Source # 
Instance details

Defined in Bio.MMTF.Type

Show StructureData Source # 
Instance details

Defined in Bio.MMTF.Type

data ModelData Source #

Models data

Constructors

ModelData 

Fields

Instances
Eq ModelData Source # 
Instance details

Defined in Bio.MMTF.Type

Show ModelData Source # 
Instance details

Defined in Bio.MMTF.Type

data ChainData Source #

Chains data

Constructors

ChainData 

Fields

Instances
Eq ChainData Source # 
Instance details

Defined in Bio.MMTF.Type

Show ChainData Source # 
Instance details

Defined in Bio.MMTF.Type

data GroupData Source #

Groups data

Constructors

GroupData 

Fields

Instances
Eq GroupData Source # 
Instance details

Defined in Bio.MMTF.Type

Show GroupData Source # 
Instance details

Defined in Bio.MMTF.Type

data AtomData Source #

Atoms data

Constructors

AtomData 

Fields

  • atomIdList :: ![Int32]

    List of atom serial numbers [binary (type 8)]

  • altLocList :: ![Char]

    List of alternate location labels, one for each atom [binary (type 6)]

  • bFactorList :: ![Float]

    List of atom B-factors in in A^2, one for each atom [binary (type 10)]

  • xCoordList :: ![Float]

    List of x atom coordinates in A, one for each atom [binary (type 10)]

  • yCoordList :: ![Float]

    List of y atom coordinates in A, one for each atom [binary (type 10)]

  • zCoordList :: ![Float]

    List of z atom coordinates in A, one for each atom [binary (type 10)]

  • occupancyList :: ![Float]

    List of atom occupancies, one for each atom [binary (type 9)]

Instances
Eq AtomData Source # 
Instance details

Defined in Bio.MMTF.Type

Show AtomData Source # 
Instance details

Defined in Bio.MMTF.Type

data MMTF Source #

MMTF datatype

Constructors

MMTF 

Fields

Instances
Eq MMTF Source # 
Instance details

Defined in Bio.MMTF.Type

Methods

(==) :: MMTF -> MMTF -> Bool #

(/=) :: MMTF -> MMTF -> Bool #

Show MMTF Source # 
Instance details

Defined in Bio.MMTF.Type

Methods

showsPrec :: Int -> MMTF -> ShowS #

show :: MMTF -> String #

showList :: [MMTF] -> ShowS #

MessagePack MMTF Source # 
Instance details

Defined in Bio.MMTF.MessagePack

Methods

toObject :: MMTF -> Object #

fromObject :: (Applicative m, Monad m) => Object -> m MMTF #

decode :: Monad m => ByteString -> m MMTF Source #

Decodes a ByteString to MMTF

fetch :: MonadIO m => String -> m MMTF Source #

Fetches MMTF structure from RSCB