| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bio.MMTF
Synopsis
- data UnitCell = UnitCell {}
- data Transform = Transform {
- chainIndexList :: ![Int32]
- matrix :: ![Float]
- data Assembly = Assembly {
- transformList :: ![Transform]
- assemblyName :: !Text
- data Entity = Entity {
- entityChainIndexList :: ![Int32]
- entityDescription :: !Text
- entityType :: !Text
- entitySequence :: !Text
- data GroupType = GroupType {
- gtFormalChargeList :: ![Int32]
- gtAtomNameList :: ![Text]
- gtElementList :: ![Text]
- gtBondAtomList :: ![Int32]
- gtBondOrderList :: ![Int32]
- gtGroupName :: !Text
- gtSingleLetterCode :: !Char
- gtChemCompType :: !Text
- data SecondaryStructure
- = PiHelix
- | Bend
- | AlphaHelix
- | Extended
- | ThreeTenHelix
- | Bridge
- | Turn
- | Coil
- | Undefined
- data FormatData = FormatData {
- mmtfVersion :: !Text
- mmtfProducer :: !Text
- data StructureData = StructureData {
- title :: !Text
- structureId :: !Text
- depositionDate :: !Text
- releaseDate :: !Text
- numBonds :: !Int32
- numAtoms :: !Int32
- numGroups :: !Int32
- numChains :: !Int32
- numModels :: !Int32
- spaceGroup :: !Text
- unitCell :: !(Maybe UnitCell)
- ncsOperatorList :: ![[Float]]
- bioAssemblyList :: ![Assembly]
- entityList :: ![Entity]
- resolution :: !(Maybe Float)
- rFree :: !(Maybe Float)
- rWork :: !(Maybe Float)
- experimentalMethods :: ![Text]
- bondAtomList :: ![Int32]
- bondOrderList :: ![Int8]
- data ModelData = ModelData {
- chainsPerModel :: ![Int32]
- data ChainData = ChainData {
- groupsPerChain :: ![Int32]
- chainIdList :: ![Text]
- chainNameList :: ![Text]
- data GroupData = GroupData {
- groupList :: ![GroupType]
- groupTypeList :: ![Int32]
- groupIdList :: ![Int32]
- secStructList :: ![SecondaryStructure]
- insCodeList :: ![Char]
- sequenceIndexList :: ![Int32]
- data AtomData = AtomData {
- atomIdList :: ![Int32]
- altLocList :: ![Char]
- bFactorList :: ![Float]
- xCoordList :: ![Float]
- yCoordList :: ![Float]
- zCoordList :: ![Float]
- occupancyList :: ![Float]
- data MMTF = MMTF {}
- decode :: Monad m => ByteString -> m MMTF
- fetch :: MonadIO m => String -> m MMTF
Documentation
Unit cell data
Constructors
| UnitCell | |
Transform data
Constructors
| Transform | |
Fields
| |
Assembly data
Constructors
| Assembly | |
Fields
| |
Entity data
Constructors
| Entity | |
Fields
| |
Group type data
Constructors
| GroupType | |
Fields
| |
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 |
Instances
| Eq SecondaryStructure Source # | |
Defined in Bio.MMTF.Type Methods (==) :: SecondaryStructure -> SecondaryStructure -> Bool # (/=) :: SecondaryStructure -> SecondaryStructure -> Bool # | |
| Show SecondaryStructure Source # | |
Defined in Bio.MMTF.Type Methods showsPrec :: Int -> SecondaryStructure -> ShowS # show :: SecondaryStructure -> String # showList :: [SecondaryStructure] -> ShowS # | |
data FormatData Source #
MMTF format data
Constructors
| FormatData | |
Fields
| |
Instances
| Eq FormatData Source # | |
Defined in Bio.MMTF.Type | |
| Show FormatData Source # | |
Defined in Bio.MMTF.Type Methods showsPrec :: Int -> FormatData -> ShowS # show :: FormatData -> String # showList :: [FormatData] -> ShowS # | |
data StructureData Source #
Structure data
Constructors
| StructureData | |
Fields
| |
Instances
| Eq StructureData Source # | |
Defined in Bio.MMTF.Type Methods (==) :: StructureData -> StructureData -> Bool # (/=) :: StructureData -> StructureData -> Bool # | |
| Show StructureData Source # | |
Defined in Bio.MMTF.Type Methods showsPrec :: Int -> StructureData -> ShowS # show :: StructureData -> String # showList :: [StructureData] -> ShowS # | |
Models data
Constructors
| ModelData | |
Fields
| |
Chains data
Constructors
| ChainData | |
Fields
| |
Groups data
Constructors
| GroupData | |
Fields
| |
Atoms data
Constructors
| AtomData | |
Fields
| |
MMTF datatype
Constructors
| MMTF | |
decode :: Monad m => ByteString -> m MMTF Source #
Decodes a ByteString to MMTF