Hello everyone, I am new to this forum and I am glad this exists for discussions between phenix users. I have been trying to create a bond between two atoms belonging to different symmetry but when I create the bond restraints on phenix, I get an error message that says custom bonds with excessive length and I later realized the problem is not the bond length but the fact that the two atoms are in different symmetry. Is there a way to make this work on phenix? I would love suggestions on this. Thank you, Purity
Hi Purity, You need to define the symmetry operation: For bonds to symmetry copies, specify the symmetry operation in xyz notation, for example: symmetry_operation = -x-1/2,y-1/2,-z+1/2 To obtain the symmetry_operation, either use Coot (turn on drawing on symmetry copies, then click on the copy and look for the symmetry operation in the status bar), or run this command: iotbx.show_distances your.pdb > all_distances This will produce a potentially long all_distances file, but if you search for sym= there will probably only be a few matches from which it is easy to pick the one you are interested in, based on the pdb atom labels. (taken from https://phenix-online.org/documentation/reference/refinement.html#definition... ) Best regards, Oleg Sobolev. On Mon, Jun 8, 2026 at 8:57 AM Ezennubia, Purity via phenixbb < [email protected]> wrote:
Hello everyone,
I am new to this forum and I am glad this exists for discussions between phenix users.
I have been trying to create a bond between two atoms belonging to different symmetry but when I create the bond restraints on phenix, I get an error message that says custom bonds with excessive length and I later realized the problem is not the bond length but the fact that the two atoms are in different symmetry.
Is there a way to make this work on phenix? I would love suggestions on this.
Thank you, Purity _______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
Purity There is documentation here https://phenix-online.org/documentation/reference/refinement.html as well as YouTube channel https://www.youtube.com/@PhenixTutorials In your case, you may be able to get answers with command line tools. Are you able to run commands? Cheers Nigel --- Nigel W. Moriarty Building 92-4-431M1, Molecular Biophysics and Integrated Bioimaging Lawrence Berkeley National Laboratory Berkeley, CA 94720-8235 Email : [email protected] Web : CCI.LBL.gov ORCID : orcid.org/0000-0001-8857-9464 On Mon, Jun 8, 2026 at 8:57 AM Ezennubia, Purity via phenixbb < [email protected]> wrote:
Hello everyone,
I am new to this forum and I am glad this exists for discussions between phenix users.
I have been trying to create a bond between two atoms belonging to different symmetry but when I create the bond restraints on phenix, I get an error message that says custom bonds with excessive length and I later realized the problem is not the bond length but the fact that the two atoms are in different symmetry.
Is there a way to make this work on phenix? I would love suggestions on this.
Thank you, Purity _______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
Hi Purity, if you ask Phenix ChatBot (highly recommended for this kind of queries!), the answer is spot on, pasted below. Of course, Phenix ChatBot can make mistakes, in which case your feedback is invaluable! Pavel Yes, you can absolutely create bond restraints between symmetry-related atoms in Phenix. The reason you are getting the "excessive length" error is that Phenix is calculating the Cartesian distance between the two original atoms in the primary asymmetric unit, rather than the distance to the actual symmetry mate. To make this work, you need to *explicitly define the symmetry operation* in your custom bond restraint parameters using the *|symmetry_operation|* keyword. Here is the format you should use in your parameter (PHIL) file: |geometry_restraints { edits { bond { action = add atom_selection_1 = chain A and resseq 123 and name O atom_selection_2 = chain Z and resname LIG and name ND1 symmetry_operation = -x-1/2,y-1/2,-z+1/2 distance_ideal = 1.4 sigma = 0.025 } } } | How to find the correct |symmetry_operation|: If you don't know the exact XYZ notation for the symmetry operation relating your two atoms, the sources suggest two ways to find it: 1. *Using Coot:* Turn on the drawing of symmetry copies, click on the specific symmetry copy of the atom you are trying to bond to, and look for the symmetry operation displayed in the status bar. 2. *Using the Command Line:* Run the command |iotbx.show_distances your.pdb > all_distances|. This will produce a text file. If you search through this file for |sym=|, you can match it to your specific atoms based on the PDB atom labels to find the correct operator. Handling the "Excessive Length" Error: Once the |symmetry_operation| is correctly applied, Phenix will calculate the distance to the symmetry copy, which should immediately resolve the "excessive length" error. However, if you are genuinely creating a very long restraint, or if you still run into errors during setup, you can override Phenix's safety checks by adding these parameters to your configuration: * *|excessive_bond_distance_limit = 10|* (You can increase this number beyond the default of 10 Å). * *|proceed_with_excessive_length_bonds = True|* (This forces Phenix to ignore the length safety check altogether). On 6/8/26 08:57, Ezennubia, Purity via phenixbb wrote:
Hello everyone,
I am new to this forum and I am glad this exists for discussions between phenix users.
I have been trying to create a bond between two atoms belonging to different symmetry but when I create the bond restraints on phenix, I get an error message that says custom bonds with excessive length and I later realized the problem is not the bond length but the fact that the two atoms are in different symmetry.
Is there a way to make this work on phenix? I would love suggestions on this.
Thank you, Purity _______________________________________________ phenixbb mailing list [email protected] To unsubscribe send an email [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
participants (4)
-
Ezennubia, Purity -
Nigel Moriarty -
Oleg Sobolev -
Pavel Afonine