Parse the PDB record string and return an array of the corresponding
atomic information.
The format of the ATOM and HETATM records is:
__________________________________________________________________________________________
| | | | |
| Columns | Data type | Field | Definition |
|_________|______________|______________|________________________________________________|
| | | | |
| 1 - 6 | Record name | "ATOM" | |
| 7 - 11 | Integer | serial | Atom serial number. |
| 13 - 16 | Atom | name | Atom name. |
| 17 | Character | altLoc | Alternate location indicator. |
| 18 - 20 | Residue name | resName | Residue name. |
| 22 | Character | chainID | Chain identifier. |
| 23 - 26 | Integer | resSeq | Residue sequence number. |
| 27 | AChar | iCode | Code for insertion of residues. |
| 31 - 38 | Real(8.3) | x | Orthogonal coordinates for X in Angstroms. |
| 39 - 46 | Real(8.3) | y | Orthogonal coordinates for Y in Angstroms. |
| 47 - 54 | Real(8.3) | z | Orthogonal coordinates for Z in Angstroms. |
| 55 - 60 | Real(6.2) | occupancy | Occupancy. |
| 61 - 66 | Real(6.2) | tempFactor | Temperature factor. |
| 73 - 76 | LString(4) | segID | Segment identifier, left-justified. |
| 77 - 78 | LString(2) | element | Element symbol, right-justified. |
| 79 - 80 | LString(2) | charge | Charge on the atom. |
|_________|______________|______________|________________________________________________|
The format of the TER record is:
__________________________________________________________________________________________
| | | | |
| Columns | Data type | Field | Definition |
|_________|______________|______________|________________________________________________|
| | | | |
| 1 - 6 | Record name | "TER " | |
| 7 - 11 | Integer | serial | Serial number. |
| 18 - 20 | Residue name | resName | Residue name. |
| 22 | Character | chainID | Chain identifier. |
| 23 - 26 | Integer | resSeq | Residue sequence number. |
| 27 | AChar | iCode | Insertion code. |
|_________|______________|______________|________________________________________________|
The format of the CONECT record is:
__________________________________________________________________________________________
| | | | |
| Columns | Data type | Field | Definition |
|_________|______________|______________|________________________________________________|
| | | | |
| 1 - 6 | Record name | "CONECT" | |
| 7 - 11 | Integer | serial | Atom serial number |
| 12 - 16 | Integer | serial | Serial number of bonded atom |
| 17 - 21 | Integer | serial | Serial number of bonded atom |
| 22 - 26 | Integer | serial | Serial number of bonded atom |
| 27 - 31 | Integer | serial | Serial number of bonded atom |
| 32 - 36 | Integer | serial | Serial number of hydrogen bonded atom |
| 37 - 41 | Integer | serial | Serial number of hydrogen bonded atom |
| 42 - 46 | Integer | serial | Serial number of salt bridged atom |
| 47 - 51 | Integer | serial | Serial number of hydrogen bonded atom |
| 52 - 56 | Integer | serial | Serial number of hydrogen bonded atom |
| 57 - 61 | Integer | serial | Serial number of salt bridged atom |
|_________|______________|______________|________________________________________________|
- Parameters:
record (str) - The single line PDB record.
- Returns: list of str
- The list of atomic information, each element corresponding to the
PDB fields as defined in "Protein Data Bank Contents Guide:
Atomic Coordinate Entry Format Description" version 2.1
(draft), October 25, 1996.
|