PTR (or pointer) format is a compact representation for molecules which does not actually contain coordinates. Instead, it contains the transformations to the coordinates and "points" back to a source file where the untransformed coordinates reside.
All information about a molecule is packed into one line. Each item of data is identified by a field name. Some fields are required, like the molecule source information. Some are optional, like the coordinate transformation information. All others are considered comments and are ignored, like the molecule name and score information.
If these fields are present, they will be read and used to update the molecule. The transformation fields will modify the position or conformation of the molecule. |
||
---|---|---|
<KEY> c |
||
<KFOLD> c |
||
<KI1>,<KI2>, ... c |
||
These fields are generated for output only. They are completely ignored during input. |
||
---|---|---|
<ID> 10 <NAME> CAMYLOFIN_C00000105 <DESCR> **** <FILE> /marco/db/mol2.95.1/cmc/cmc.2.mol2 <FPOS> 46204 <END> |
Check out the ptrentry and ptrfield utilities to help manipulate PTR files.
The <FILE> field can contain the relative path or absolute path of a filename. If you use the absolute path, then the ptr file can be used in any other directory. Otherwise, the ptr file is only useful in the idrectory in which it was originally made.