In the field of molecular modeling, efficiency and accuracy are essential to designing molecules, analyzing structures, and solving complex problems. One innovative tool that is transforming workflows is SAMSON AI. Equipped with powerful commands, SAMSON AI enables users to perform advanced tasks directly within the SAMSON platform. This blog post explores how you can use these commands to streamline your molecular modeling.
Why SAMSON AI Commands Matter
For molecular modelers, switching between workflows, scripting, and documentation can slow down progress. SAMSON AI helps address this by providing command-based functionalities that allow you to perform tasks, generate scripts, and retrieve insightful data with ease. Here’s how you can make the most out of it.
SAMSON AI Commands Overview
SAMSON AI includes a set of dedicated commands for advanced molecular modeling:
/do: Executes actions, such as manipulating selections and models./script: Generates Python scripts for automation and complex tasks./select: Selects nodes based on natural language descriptions./learn: Absorbs information from external URLs./refer: Retrieves answers based on learned external data./forget: Erases all previously learned data.
By typing / in the Assistant’s input, you can see a full list of available commands, as shown below:

Diving Deeper: Command-by-command
/do: Direct Actions
The /do command enables you to carry out specific actions effortlessly. For example, you can ask SAMSON AI to select nodes, modify a structure’s visualization, or delete unneeded elements. Here’s how:
/do zoom to the binding site/do remove water/do make the selected surface light blue
This immediate responsiveness makes workflows smoother and more intuitive.
/script: Automating Tasks with Python
SAMSON AI supports Python script generation with the /script command. Simply describe your task in natural language, and SAMSON AI will provide a ready-to-use Python script. For example:
/script select all atoms and translate them in the z direction by 1 angstrom/script compute the gyration radius of the receptor
Scripts generated by SAMSON AI use the SAMSON Python API and can integrate with other Python modules. That means you can combine SAMSON’s scripting functionality with machine learning models or trajectory analyses for more advanced research.
/select: Advanced Node Selections
For precise selection needs, the /select command translates natural language queries into actionable specifications using SAMSON’s Node Specification Language (NSL). Examples include:
/select all side chains within 5 angstrom of the ligand/select all lysines in chain B
This feature simplifies complex selection tasks, saving you the trouble of manually creating intricate selection queries.
Learning and Forgetting: Adaptive AI in Action
With /learn and /refer, SAMSON AI can absorb data from web pages or PDFs, enabling a deeper context for your queries. For instance:
/learn https://en.wikipedia.org/wiki/COVID-19
You can then use /refer to retrieve information from the learned data: /refer What is the infection fatality rate?
If you need to reset this, simply use the /forget command.
Conclusion
SAMSON AI’s advanced commands deliver precision, automation, and adaptability, making molecular modeling workflows more streamlined than ever. By using intuitive and context-aware commands, you can spend less time navigating tools and more time on meaningful, scientific insights.
To learn more, visit the official SAMSON AI documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON here.
