This is a read-only mirror of pymolwiki.org
Difference between revisions of "Pdb conect all"
Jump to navigation
Jump to search
(add see also (Pdb_conect_nodup and Pdb_use_ter_recordsl)) |
m (5 revisions) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | When saving a PDB file, the [[pdb_conect_all]] settings controls whether PyMOL writes CONECT records for all bonds, or only for HETATM bonds. | |
− | |||
− | === Values == | + | PDB files by convention do not contain bond information for standard polymer residues (ATOM records), because the connectivity is known for those. |
− | *off turns the feature off | + | |
− | *on turns the feature on | + | If a PDB file contains at least one CONECT record for two atoms from ATOM records, then PyMOL will set '''pdb_conect_all=on''' as an object-level setting, to again write CONECT records for all bonds when saving that object to a PDB file. |
+ | |||
+ | == Values == | ||
+ | |||
+ | * '''off''' turns the feature off, CONECT records are written for HETATM bonds only | ||
+ | * '''on''' turns the feature on, CONECT records are written for all bonds | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | The PDB file for [http://pdbe.org/1rx1 1rx1] contains 52 CONECT records (for the ligands). | ||
− | |||
<source lang="python"> | <source lang="python"> | ||
+ | fetch 1rx1, async=0 | ||
set pdb_conect_all, on | set pdb_conect_all, on | ||
+ | save 1rx1_conect_all.pdb | ||
</source> | </source> | ||
− | + | Now the file '''1rx1_conect_all.pdb''' contains 1316 CONECT records. | |
− | + | ||
− | + | == See Also == | |
− | |||
− | + | * [[connect_mode]] | |
− | [[ | + | * [[pdb_ignore_conect]] |
+ | * [[pdb_conect_nodup]] | ||
[[Category:Settings|Pdb_conect_all]] | [[Category:Settings|Pdb_conect_all]] |
Latest revision as of 05:01, 16 November 2015
When saving a PDB file, the pdb_conect_all settings controls whether PyMOL writes CONECT records for all bonds, or only for HETATM bonds.
PDB files by convention do not contain bond information for standard polymer residues (ATOM records), because the connectivity is known for those.
If a PDB file contains at least one CONECT record for two atoms from ATOM records, then PyMOL will set pdb_conect_all=on as an object-level setting, to again write CONECT records for all bonds when saving that object to a PDB file.
Values
- off turns the feature off, CONECT records are written for HETATM bonds only
- on turns the feature on, CONECT records are written for all bonds
Example
The PDB file for 1rx1 contains 52 CONECT records (for the ligands).
fetch 1rx1, async=0
set pdb_conect_all, on
save 1rx1_conect_all.pdb
Now the file 1rx1_conect_all.pdb contains 1316 CONECT records.