Molecular modeling often involves working with complex datasets, intricate visualizations, and repetitive tasks. For many users, manually executing certain actions or creating scripts can be time-consuming and error-prone. This is where the innovative command system in SAMSON AI comes into play. Providing an efficient and user-friendly way to interact with SAMSON, these commands can simplify the daily workflow of molecular modelers and significantly enhance productivity.
What Are SAMSON AI Commands?
SAMSON AI commands offer a way to harness the full power of SAMSON directly through its Assistant feature. By typing in specific commands, users can execute powerful actions, generate Python scripts, modify selections, and even teach SAMSON AI from external resources. Let’s delve into the key commands available and their usefulness in everyday molecular modeling tasks.
Executing Actions with /do
The /do command allows users to execute actions instantly without manually navigating SAMSON’s menus or toolbars. It is especially useful for tasks like modifying representations or selecting areas of interest in a molecular model. For example:
/do zoom to the binding site./do select the ligand and apply a licorice model./do remove water.
This helps streamline operations that would otherwise require multiple steps, saving time and minimizing errors. Additionally, SAMSON AI responds to spoken commands for actions, adding a seamless hands-free option for dynamic modeling sessions.

Script Generation with /script
Custom Python scripting is often an advanced requirement for molecular modelers. The /script command enables users to request Python scripts for specific tasks, which they can execute within SAMSON’s scripting environment. Examples include:
/script select all atoms and translate them in the z direction by 1 angstrom./script compute the gyration radius of the receptor.
This feature integrates SAMSON’s powerful Python API with user-friendly script prompts, making custom scripting accessible even for those with limited programming expertise.
Selections Made Simple with /select
Selection is a critical step in many molecular analyses. With the /select command, SAMSON AI lets you define nodes intuitively using natural language. For instance:
/select all side chains within 5 angstrom of the ligand./select all lysines in chain B.
SAMSON AI even displays the corresponding Node Specification Language (NSL) query for these selections, offering transparency and empowering users who want to refine their modeling parameters.
Learning from External Resources with /learn
Users can extend SAMSON AI’s knowledge base by feeding it external resources, such as web pages or PDF documents, using the /learn command. For example:
/learn https://en.wikipedia.org/wiki/COVID-19
The acquired knowledge persists until explicitly erased with the /forget command, allowing modelers to use the newly integrated data across sessions.
Acknowledging Limitations
While SAMSON AI commands are powerful, it’s important to note their limitations. For instance, ambiguous user input might lead to misinterpretation, and the AI might not always be accurate when generating scripts or providing responses. Users should cross-validate critical results with trusted resources.
Conclusion
SAMSON AI’s command system is a highly effective tool for molecular modelers, simplifying common tasks such as action execution, scripting, node selection, and learning from external data. To explore the full capabilities of SAMSON AI and its command system, visit the official documentation at https://documentation.samson-connect.net/users/latest/samson-ai/.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON at https://www.samson-connect.net.
