Effortlessly Streamline Molecular Modeling with SAMSON AI Commands

For molecular modelers looking to enhance efficiency and precision in their workflows, leveraging the powerful commands of SAMSON AI can make a substantial difference. SAMSON AI offers a series of intuitive commands, turning advanced molecular operations into straightforward tasks. Whether it’s executing complex actions, selecting specific elements, or generating Python scripts, these capabilities can save time and reduce errors during molecular modeling. This blog post guides you through the main commands provided by SAMSON AI—/do, /script, /select, /learn, and more—and explains how they address common challenges faced by modelers. Let’s dive in!

Understanding the Commands

SAMSON AI integrates advanced capabilities through simple text input, enabling you to interact with your molecular models in a natural, user-friendly way. Below, we explore the primary commands you can use to streamline your molecular modeling process.

/do: Execute Actions Instantly

The /do command is a go-to tool when you need SAMSON AI to perform actions directly on your molecules. From modifying visual representations to manipulating molecular data, this command simplifies tedious or repetitive tasks.

Some examples include:

  • /do zoom to the binding site.
  • /do remove water.
  • /do select the gaussian surface and make it light blue.

Imagine how much time you can save by combining commands like these in your daily workflow!

If you prefer speaking rather than typing, SAMSON AI supports voice commands to execute actions—check out an example in the video below:

/script: Generate Python Scripts

For advanced customization and scripting, the /script command allows you to generate Python scripts tailored to your needs. The scripts leverage SAMSON’s Python API and can integrate with external Python modules for machine learning, structural analysis, or visualization tasks. Here are some example requests:

  • /script select all atoms and translate them in the z direction by 1 angstrom.
  • /script create a GUI that lets me enter a distance in angstrom, with a 'Move' button.
  • /script compute the gyration radius of the receptor.

This feature empowers those with or without coding experience to implement sophisticated solutions quickly and effectively.

/select: Intelligent Selection of Molecular Elements

With the /select command, SAMSON AI offers an intuitive way to select nodes or molecular features using natural language input. Even better, SAMSON AI will display the corresponding Node Specification Language (NSL) query, giving you an opportunity to learn more about its inner workings while the command is executed automatically.

Examples of queries include:

  • /select the binding site.
  • /select all side chains within 5 angstrom of the ligand.
  • /select all lysines in chain B.

This capability eliminates the hassle of manual selection in complex molecular systems.

/learn and /forget: Teach SAMSON AI From Documents

If your project involves external resources, the /learn command enables SAMSON AI to absorb information from URLs, including regular web pages and PDF files. Once the data is learned, the assistant can answer queries about it.

For instance:

  • /learn https://en.wikipedia.org/wiki/COVID-19
  • /refer What is the infection fatality rate?

If needed, you can reset learned information at any time by using the /forget command: /forget.

Why Use These Commands?

Most molecular modelers face challenges like repetitive tasks, fragmented workflows, or the steep learning curve of scripting languages. SAMSON AI simplifies these issues by combining flexibility and precision into a single platform. The commands discussed here make it easier to focus on the science rather than tool overheads.

Experience SAMSON AI and Learn More

SAMSON AI is a dynamic ally for modern molecular modelers, offering tools to enhance productivity and accuracy in your projects. To explore the full capabilities and find additional examples, refer to the official documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get started today by downloading SAMSON from SAMSON Connect.

Comments are closed.