For molecular modelers, identifying residues with precision is a recurrent task. Whether you’re analyzing protein-ligand interactions, tracing specific chains in a structure, or isolating functional motifs, residue identification is critical in ensuring accurate workflows. With SAMSON’s Node Specification Language (NSL), residue identification becomes streamlined and powerful through the use of the atom.residueSequenceNumber attribute. This article explores how to make the most of it and why it matters.
Why Residue Identification Matters
Residues are the individual building blocks of molecular structures such as proteins and nucleic acids, and they carry crucial information about the function and structural arrangement of these macromolecules. Knowing how to pinpoint atoms in specific residues can help refine interaction studies, mutations, drug design, and more. SAMSON enables molecular designers to manage this complexity with ease using the atom.residueSequenceNumber attribute in NSL.
Breaking Down atom.residueSequenceNumber
The atom.residueSequenceNumber attribute (or its short name a.resi) allows you to match atoms in residues based on their unique numerical identifiers. These residue sequence numbers often correspond to those found in molecular structure files such as PDB files, making it possible to link data back to these standard formats.
Here’s how the syntax works:
atom.residueSequenceNumber(short version:a.resi) followed by a number specifies a residue of interest. For example,atom.residueSequenceNumber 42matches all atoms in residue number 42.- Ranges can also be defined. For instance,
atom.residueSequenceNumber 40:50(short version:a.resi 40:50) selects atoms belonging to residues numbered 40 to 50, inclusive.
By combining query expressions, you can focus on very specific subsets of residues. For example, retrieving only oxygen atoms in residue 42 could look like this: atom.residueSequenceNumber 42 and atom.symbol O.
Where It Gets Interesting
Think about proteins with flexible regions or key functional sites concentrated in a specific segment. The ability to identify these areas by sequence number can dramatically reduce the time spent isolating and scrutinizing them. This is particularly powerful when applied to dynamic simulations, where residues of interest may change interactively.
For example, if you’re working with an enzyme active site known to lie in residues 100–120, isolating atoms in this range is as simple as running the query atom.residueSequenceNumber 100:120. From there, you can add additional filters, like selecting only atoms involved in hydrogen bonds, iteratively refining your analyses.
Getting Started
The elegance of SAMSON lies in its combination of power and simplicity through NSL. Explore residue-focused queries with confidence, knowing that each query integrates seamlessly into larger molecular design workflows. From visualizing specific residues to creating precise analyses, understanding residue sequence number attributes can elevate your modeling precision.
You can explore a more comprehensive explanation and examples directly in the SAMSON documentation on the residueSequenceNumber section.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Start your molecular modeling journey today by downloading SAMSON at SAMSON Connect.
