When working on molecular modeling projects, especially those involving multiple replicas of the same protein, ensuring unique residue and chain IDs is essential. Without this step, you might face significant issues downstream, such as problems with topology creation in your simulations. This blog post will guide you through the process of making your residues and chain IDs unique, using SAMSON – the integrative molecular design platform. Let’s dive into the steps to ensure your system remains error-free and simulation-ready!
Why is unique numbering important?
When creating multiple replicas of a protein in a system, residue and chain IDs can overlap by default. This overlap can confuse topology generators, leading to failed outputs or inconsistent results. Properly renumbering residues and chains ensures that each replica is clearly distinguishable, setting the foundation for clean and accurate molecular simulations.
Step-by-step guide for renumbering residues and chains
Here’s how you can renumber residues and chains in SAMSON to avoid numbering conflicts:
- Renumber residue IDs
Right-click on the structural model in the document view, and navigate to Structural model > Renumber residues and structural groups in the context menu.
In the dialog box that appears, set the starting residue ID to the default value of 1 and click OK. This resets the residue IDs to avoid overlaps, starting from 1.

- Renumber chain IDs
Similar to residues, chain IDs must also be unique within the system. Right-click on the structural model, and go to Structural model > Renumber chain IDs in the context menu.
In the pop-up dialog, set the starting chain ID to the default value of 0 and click OK. This action ensures all chains in the system have distinct IDs.

- Renaming chains for unique names
To further avoid confusion, rename chains to ensure each chain in your system has a unique name. You can either rename chains directly in the document view (right-click and select Rename, or press F2):
Or, you can use the SAMSON Inspector tool for renaming chains more efficiently:

Pro tip
Once you’ve completed the renumbering process, it’s a good idea to save your system into a file to preserve your work. This ensures that you don’t have to repeat the renumbering if further adjustments are needed later.
Conclusion
By following these steps, you can ensure your molecular models have unique residue and chain IDs, eliminating potential errors in topology generation and downstream workflows. These simple yet critical steps can save time and prevent issues when working with complex systems involving replicas.
For the full documentation and more information, visit the official SAMSON page at this link.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON at SAMSON Connect.
