mmtf decode module.
Methods
-
<static> decodeMmtf(inputDict, params)
-
Decode MMTF fields
Parameters:
Name Type Argument Description inputDictObject encoded MMTF data paramsObject <optional>
decoding parameters Properties
Name Type Description ignoreFieldsArray.<String> names of optional fields not to decode Returns:
mmtfData
Type Definitions
-
EncodedMmtfData
-
Encoded mmtf data object. Also includes the fields from module:MmtfDecode.SharedMmtfData. See MMTF specification on how they are encoded.
Type:
- Object
- Mixes In:
Properties:
Name Type Argument Description bondAtomListUint8Array <optional>
Encoded bonded atom indices bondOrderListUint8Array <optional>
Encoded bond orders xCoordBigUint8Array Encoded x coordinates in Å, part 1 xCoordSmallUint8Array Encoded x coordinates in Å, part 2 yCoordBigUint8Array Encoded y coordinates in Å, part 1 yCoordSmallUint8Array Encoded y coordinates in Å, part 2 yCoordBigUint8Array Encoded y coordinates in Å, part 1 yCoordSmallUint8Array Encoded y coordinates in Å, part 2 bFactorBigUint8Array <optional>
Encoded B-factors in Å^2, part 1 bFactorSmallUint8Array <optional>
Encoded B-factors in Å^2, part 2 atomIdListUint8Array <optional>
Encoded atom ids altLocListUint8Array <optional>
Encoded alternate location labels occupancyListUint8Array <optional>
Encoded occupancies groupIdListUint8Array Encoded group ids groupTypeListUint8Array Encoded group types secStructListUint8Array <optional>
Encoded secondary structure codes insCodeListUint8Array <optional>
Encoded insertion codes seuenceIdListUint8Array <optional>
Encoded sequence ids chainIdListUint8Array Encoded chain ids chainNameListUint8Array <optional>
Encoded chain names -
MmtfData
-
Decoded mmtf data object. Also includes fields the from module:MmtfDecode.SharedMmtfData.
Type:
- Object
- Mixes In:
Properties:
Name Type Argument Description bondAtomListInt32Array <optional>
List of bonded atom indices bondOrderListUint8Array <optional>
List of bond orders xCoordListFloat32Array List of x coordinates in Å yCoordListFloat32Array List of y coordinates in Å zCoordListFloat32Array List of z coordinates in Å bFactorListFloat32Array <optional>
List of B-factors in Å^2 atomIdListInt32Array <optional>
List of atom ids altLocListUint8Array <optional>
List of alternate location labels occupancyListFloat32Array <optional>
List of occupancies groupIdListInt32Array List of group ids groupTypeListInt32Array List of group types secStructListInt8Array <optional>
List of secondary structure codes, encoding 0: pi helix, 1: bend, 2: alpha helix, 3: extended, 4: 3-10 helix, 5: bridge, 6: turn, 7: coil, -1: undefined insCodeListUint8Array <optional>
List of insertion codes seuenceIdListInt32Array <optional>
List of sequence ids chainIdListUint8Array List of chain ids chainNameListUint8Array <optional>
List of chain names -
Fields shared in encoded and decoded mmtf data objects.
Type:
- Object
Properties:
Name Type Argument Description mmtfVersionString MMTF specification version mmtfProducerString Program that created the file unitCellArray.<Float> <optional>
Crystallographic unit cell Properties
Name Type Description 0Float x length 1Float y length 2Float z length 3Float alpha angle 4Float beta angle 5Float gamma angle spaceGroupString <optional>
Hermann-Mauguin symbol structureIdString <optional>
Some reference, e.g. a PDB ID titleString <optional>
Short description depositionDateString <optional>
Deposition date in YYYY-MM-DD format releaseDateString <optional>
Release date in YYYY-MM-DD format experimentalMethodsArray.<String> <optional>
Structure determination methods resolutionFloat <optional>
Resolution in Å rFreeFloat <optional>
R-free value rWorkFloat <optional>
R-work value numBondsInteger Number of bonds numAtomsInteger Number of atoms numGroupsInteger Number of groups (residues) numChainsInteger Number of chains numModelsInteger Number of models chainsPerModelArray.<Integer> List of number of chains in each model groupsPerChainArray.<Integer> List of number of groups in each chain entityListArray.<Entity> <optional>
List of entity objects Properties
Name Type Description chainIndexListArray.<Integer> Pointers into chain data fields descriptionString Description of the entity typeString Name of the entity type sequenceString One letter code sequence bioAssemblyListArray.<Assembly> <optional>
List of assembly objects Properties
Name Type Description transformListArray.<Transform> List of transform objects Properties
Name Type Description chainIndexListArray.<Integer> Pointers into chain data fields matrixArray.<Float> 4x4 transformation matrix groupListArray.<GroupType> List of groupType objects Properties
Name Type Description atomChargeListArray.<Integer> List of atom formal charges elementListArray.<String> List of elements atomNameListArray.<String> List of atom names bondAtomListArray.<Integer> List of bonded atom indices bondOrderListArray.<Integer> List of bond orders groupNameString The name of the group singleLetterCodeString The single letter code chemCompTypeString The chemical component type