Molecular modelers often face the challenge of filtering and analyzing structural models with precision. The Structural Model Attributes in the Node Specification Language (NSL) provided by SAMSON offer a robust solution to this problem. By leveraging these attributes, users can query and specify structural models in a highly efficient manner. In this blog post, we’ll explore some critical structural model attributes and how to use them effectively.
Attributes to Streamline Your Workflow
The structuralModel attribute space (short name: sm) is designed to match only structural model nodes in your datasets. These attributes allow you to define queries based on parameters such as the number of atoms, chains, and functional groups or even manipulations like visibility and selection. Below are some highlights:
1. numberOfAtoms (sm.nat)
With sm.nat, you can match structural models by the total number of atoms.
Examples:
- To find models with more than 100 atoms:
sm.nat > 100 - To narrow down models with atoms ranging between 100 and 200:
sm.nat 100:200
2. numberOfMolecules (sm.nm)
This attribute helps you focus on structural models with a specific number of molecules. A few use cases include:
- Selecting models with fewer than three molecules:
sm.nm < 3 - Searching for models with 2 to 4 molecules:
sm.nm 2:4
3. numberOfCarbons, numberOfHydrogens, and More
Want to focus on Carbon-rich or Hydrogen-rich structures? Molecular modelers can utilize attributes like sm.nC (number of Carbons) or sm.nH (number of Hydrogens) to quickly locate relevant models.
Examples:
- Locate models with fewer than 10 Carbon atoms:
sm.nC < 10 - Specify models with between 10 and 20 Hydrogens:
sm.nH 10:20
Practical Tips for Effective Usage
To maximize the power of structural model attributes:
- Plan Queries: Frame specific queries by combining attributes to define highly tailored searches.
- Short Names: Use short names (e.g.,
sm.nat,sm.nC) for better performance and readability of expressions. - Experiment: Start with simple queries like
sm.nm < 3and progressively refine them based on your needs.
Why This Matters
Effective querying saves time and ensures that molecular modelers focus on relevant data. For instance, when working on complex biomolecules, you could quickly locate structures with a specific number of chains (sm.nc) or residues (sm.nr). Coupled with SAMSON’s integrative platform, this capability allows users to seamlessly move from data querying to advanced molecular design.
To learn more about the full range of structural model attributes and their applications, visit the original documentation page: Structural Model Attributes Documentation.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can explore SAMSON’s capabilities further by downloading it from SAMSON Connect.
