Molecular modeling is already complex, so having a tool to reduce repetitive tasks and streamline workflows can be a game changer. Enter SAMSON AI, an AI-powered assistant integrated into the SAMSON molecular design platform. Whether you’re generating scripts, selecting specific nodes, or performing intricate actions, SAMSON AI’s command system makes it easier to interact with your projects. In this post, we’ll explore how you can leverage key SAMSON AI commands to simplify your molecular modeling tasks.
Why Use Commands in SAMSON AI?
Have you ever wished for a faster way to complete routine or advanced tasks in molecular modeling? SAMSON AI’s commands address this pain point. Instead of clicking through complex menus or manually writing scripts, you can simply type intuitive commands that communicate your intent. Whether it’s selecting binding sites, generating Python scripts, or learning from external data, SAMSON AI helps you focus on what matters: solving scientific challenges.
Key Commands in SAMSON AI
Here are the powerful commands you can use with SAMSON AI and how they can make your workflows faster:
1. /do: Execute Actions
The /do command enables you to perform specific actions within your document. This includes tasks like zooming into molecular structures, selecting elements, or applying visual styles. Let’s see examples:
/do zoom to the binding site.– Zoom into the binding site instantly./do select the ligand and apply a licorice model.– Select your ligand and change its appearance effortlessly./do remove water.– Simplify your system by removing unnecessary molecules.
Actions that used to take multiple steps can now be completed with one short command.

2. /script: Generate Powerful Python Scripts
With the /script command, you can create Python scripts tailored to your needs. This is highly useful for automating repetitive processes or enabling more advanced functionality. For instance:
/script select all atoms and translate them in the z direction by 1 angstrom.– Quickly move all atoms along a specific axis./script compute the gyration radius of the receptor.– Automate your calculations with ease./script create a GUI that lets me enter a distance in angstrom, with a 'Move' button.– Build interactive tools for custom tasks.
This feature is particularly useful for modelers who want to combine scripting with SAMSON’s intuitive interface.
3. /select: Node Selection Made Simple
Selection tasks can consume a lot of time, but SAMSON AI simplifies these processes with natural language and the /select command. It even shows you the Node Specification Language (NSL) used under the hood. Examples include:
/select the binding site.– Precisely focus on critical areas within a model./select all side chains within 5 angstrom of the ligand.– Automatically map out molecular interactions./select all lysines in chain B.– Target specific residues without error.
For users dealing with complex molecular systems, this feature is a significant time-saver.
4. /learn and /refer: Absorb External Knowledge
With /learn, you can teach SAMSON AI using external documents like PDFs or webpages, enabling the assistant to answer questions about learned data via /refer. This ability supports on-the-fly research and learning. For example:
/learn https://www.biorxiv.org/content/10.1101/2022.08.03.502585v2.full.pdf– Add external expertise seamlessly./refer What is the infection fatality rate?– Extract precise information from the provided document.
This feature bridges documentation and practice, helping modelers make informed decisions.
Get Started with SAMSON AI
When working with molecular models, efficiency matters. Learning and mastering the commands provided by SAMSON AI can save time and reduce the complexity of your workflows. Start exploring features like /do, /script, and /select, and take your molecular modeling to the next level!
For the full documentation on SAMSON AI commands and capabilities, visit SAMSON AI documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON at SAMSON Connect.
