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