From “Find the Binding Site” to a Precise Molecular Selection

In a molecular model, the hard part is not always knowing what you want to inspect. It is translating that intention into a precise selection: a ligand, a chain, a set of residues, or atoms within a chosen distance. A small mismatch can leave you working with the wrong nodes—or send you back to menus and selection tools to try again.

SAMSON AI offers a natural-language route for this task. Its /select command turns a description into a Node Specification Language (NSL) query, displays the corresponding query, and executes it. That makes the command useful both for selecting nodes and for seeing how a plain-language request maps to SAMSON’s selection language.

Available SAMSON AI commands
Type / in the Assistant input to see the available commands.

A practical way to build a selection

Start with the object you mean, then add the detail that makes it unambiguous. For example, a request such as /select all lysines in chain B. specifies both a residue type and a chain. A distance-based request—/select all side chains within 5 angstrom of the ligand.—describes a spatial relationship as well as the node type.

For a typical modeling task, you can use this sequence:

  1. State the target. Name the ligand, chain, residue type, or other feature you want to work with.
  2. Add useful constraints. Include a chain identifier or distance when it helps distinguish the intended group.
  3. Run the selection. Enter the request with /select, such as /select the binding site.
  4. Check the result before acting. SAMSON AI displays the corresponding NSL query. Review the selection in the document and refine your wording if it does not match what you intended.

This last check matters. Natural language is convenient, but molecular descriptions can be ambiguous. “Nearby,” for instance, does not specify a distance; naming a cutoff such as 5 angstrom gives a more explicit request. Likewise, identifying a chain can help distinguish similar residues in a multi-chain structure. The assistant can misinterpret input, so treat the generated selection as something to verify—not as a substitute for inspecting the model.

Selection is a starting point

Once the nodes are selected, you can use another SAMSON AI command to carry out a document action. For example, the documentation shows /do select the ligand and apply a licorice model. You can also ask it to zoom to the binding site or change the appearance of a surface. Keeping selection and action as separate steps can make a task easier to check: first confirm which nodes are involved, then request the change.

If a task needs custom logic or will be repeated, /script can generate a Python script that uses the SAMSON Python API to interact with the document. For example, the documented requests include translating atoms and computing the gyration radius of a receptor. Scripts can also be combined with other Python modules, including those used for machine learning or trajectory analysis. Use this route when a natural-language selection is only one part of a larger workflow.

Keep the limits in view

SAMSON AI is based on GPT-5 in the Professional plan. As with other AI assistance, its answers may be incomplete or inaccurate, and it can misinterpret an unclear request. For important work, inspect the selected nodes and cross-check scientific conclusions with trusted sources. The assistant is most useful when it reduces the effort of expressing an operation while leaving you in control of validating the result.

To open SAMSON AI, choose Interface > Assistant, or use Ctrl+0 on Windows and Linux or Cmd+0 on Mac. For command details and further examples, see the SAMSON AI documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.