From a crowded structure to a useful binding-site shortlist

A protein–ligand structure can contain thousands of atoms, while the question you need to answer may be much smaller: which receptor residues sit near the ligand, which contacts are worth inspecting, and which nearby waters might matter? Building those selections manually is slow—and it is easy to mix up atom-level and residue-level results.

SAMSON’s Node Specification Language (NSL) lets you express these questions as compact, reusable selections. The key is to define the object you want to analyze, the spatial relationship, and any exclusions as separate parts of the query.

Start with residues, then narrow the chemistry

For a mutagenesis-oriented shortlist, consider receptor residues within 6 Å of any ligand while excluding glycine and alanine:

This query combines three decisions: work with residues (n.t r), restrict them to the receptor (n.c rec), and keep those within the specified distance of the ligand (w 6A of n.c lig). The residue-type exclusion removes GLY and ALA from the candidate set. This is useful when you want a manageable list of positions for inspection rather than every atom in the neighborhood.

When the question is specifically about an atom-level contact, change the selected object. For example, to find backbone nitrogen atoms within 3 Å of the ligand:

Here, a.s N identifies nitrogen atoms, while n.t bb limits the selection to backbone nodes. The distinction matters: a residue-level result helps you identify positions, while an atom-level result is more suitable for examining particular contacts.

Build a pocket selection in two steps

A common source of confusion is selecting atoms near a ligand versus selecting all atoms belonging to nearby residues. These are different questions. This expression first finds residues within 5 Å and then selects their atoms:

That can be helpful when you want to inspect side chains and backbone atoms across the whole set of pocket residues, including atoms that are themselves farther than 5 Å from the ligand. By contrast, (n.t a in n.c lig) w 2A of n.c rec asks for ligand atoms within 2 Å of the receptor—a much tighter contact selection.

Separate contacts from possible exclusions

Nearby water molecules can be useful clues, but sometimes you want to identify them separately from the protein pocket. To select waters within 4 Å of the ligand, use:

To focus on receptor atoms near the ligand while excluding atoms within 3 Å of any water oxygen, the documentation gives this expression:

The w relationship represents selection within a distance; b is used in the examples for selection beyond a distance. In practice, it helps to read the query in pieces: receptor atoms, within 5 Å of the ligand, and beyond 3 Å from water oxygen atoms. That makes the intended filter easier to verify before using it for analysis.

Use a tight-contact screen carefully

Very short distances can flag potential steric clashes. This example selects ligand heavy atoms within 2.2 Å of receptor heavy atoms:

It excludes hydrogen atoms from both sides of the comparison, so the screen focuses on heavy-atom pairs. Treat the result as a shortlist for structural inspection, not as a complete verdict about the model: the query identifies distances, while interpretation depends on the structure and the purpose of your analysis.

A practical way to work

  1. Choose the result level. Decide whether you need atoms, residues, or another node type.
  2. Set the structural scope. Specify ligand, receptor, water, chain, or another relevant category.
  3. Add the distance condition. Use a cutoff suited to the question, and state which group is being compared with which.
  4. Add exclusions last. Exclusions such as residue types, hydrogens, or nearby waters are easier to check once the basic contact selection is clear.
  5. Inspect the result. A concise selection can make a useful starting point, but it does not replace reviewing the selected structure.

This approach turns a broad structure into focused selections without forcing every question into one oversized expression. For more NSL examples and related selection patterns, see the NSL examples documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON at www.samson-connect.net.

Comments are closed.