mmtf traverse module.
Methods
-
<static> traverseMmtf(mmtfData, eventCallbacks, params)
-
Traverse the MMTF structure data.
Parameters:
Name Type Argument Description mmtfDatamodule:MmtfDecode.MmtfData decoded mmtf data eventCallbacksObject Properties
Name Type Argument Description onModelmodule:MmtfTraverse.onModel <optional>
called for each model onChainmodule:MmtfTraverse.onChain <optional>
called for each chain onGroupmodule:MmtfTraverse.onGroup <optional>
called for each group onAtommodule:MmtfTraverse.onAtom <optional>
called for each atom onBondmodule:MmtfTraverse.onBond <optional>
called for each bond paramsObject <optional>
traversal parameters Properties
Name Type Argument Description firstModelOnlyBoolean <optional>
traverse only the first model
Type Definitions
-
onAtom(atomData)
-
Parameters:
Name Type Description atomDataObject Properties
Name Type Argument Description atomIndexInteger index of the atom groupIndexInteger index of the parent group chainIndexInteger index of the parent chain modelIndexInteger index of the parent model atomIdInteger <nullable>
atom id elementString IUPAC element name, 0 to 3 characters atomNameString name of the atom, 0 to 5 characters formalChargeInteger formal charge of the atom xCoordFloat x coordinate in Å yCoordFloat y coordinate in Å zCoordFloat z coordinate in Å bFactorFloat <nullable>
B-factor in in Å^2 altLocChar <nullable>
alternate location identifier occupancyFloat <nullable>
occupancy of the atom -
onBond(bondData)
-
Parameters:
Name Type Description bondDataObject Properties
Name Type Description atomIndex1Integer index of the first atom atomIndex2Integer index of the secound atom bondOrderInteger bond order, allowed values are 1 to 3 -
onChain(chainData)
-
Parameters:
Name Type Description chainDataObject Properties
Name Type Argument Description groupCountInteger number of groups in the chain chainIndexInteger index of the chain modelIndexInteger index of the parent model chainIdString chain id chainNameString <nullable>
additional chain name -
onGroup(groupData)
-
Parameters:
Name Type Description groupDataObject Properties
Name Type Argument Description atomCountInteger number of atoms in the group groupIndexInteger index of the group chainIndexInteger index of the parent chain modelIndexInteger index of the parent model groupIdInteger group id (residue number) groupTypeInteger index to an entry in module:MmtfDecode.MmtfData#groupList groupNameString name of the group, 0 to 5 characters singleLetterCodeChar IUPAC single letter code, otherwise 'X', 1 character chemCompTypeString chemical component type from the mmCIF dictionary secStructInteger <nullable>
sencoded secondary structure | 0: pi helix, 1: bend, 2: alpha helix, 3: extended, 4: 3-10 helix, 5: bridge, 6: turn, 7: coil, -1: undefined insCodeChar <nullable>
insertion code sequenceIndexInteger <nullable>
index to the `sequence` property of the corresponding entity, -1 when the entity has no sequence -
onModel(modelData)
-
Parameters:
Name Type Description modelDataObject Properties
Name Type Description chainCountInteger number of chains in the model modelIndexInteger index of the model