Molecular modeling can often involve navigating complex datasets and defining precise criteria to study specific molecular properties. SAMSON’s Node Specification Language (NSL) offers an efficient and flexible solution by providing a comprehensive list of molecule attributes for filtering, analyzing, and refining molecular data.
The molecule attribute space (short name: mol) includes not only attributes specific to molecules but also those inherited from both node and structuralGroup attribute spaces. By leveraging these attributes, molecular modelers can focus on particular molecular features without getting overwhelmed by extraneous data.
Types of Molecule Attributes
Here’s a breakdown of molecule attributes available in SAMSON:
- Inherited from the Node Attribute Space:
hasMaterial (hm): Tells whether the molecule has a material. Example:mol.hm.visible (v): Specifies visibility. Example:mol.vandnot mol.v.name (n): Filters molecules by name. Example:mol.n "A"ormol.n "L*".
- Inherited from the StructuralGroup Attribute Space:
formalCharge (fc): Matches molecules with specific formal charges. Example:mol.fc > 1.numberOfAtoms (nat): Identifies molecules based on atom counts. Example:mol.nat 100:200.partialCharge (pc): Handles molecules with specific partial charges. Example:mol.pc 1.5:2.0.
- Specific to the Molecule Attribute Space:
numberOfChains (nc): Matches molecules based on the number of chains. Example:mol.nc 2:4.numberOfSegments (ns): Filters molecules by segment count. Example:mol.ns 1:3.numberOfResidues (nr): Selects molecules with specific residue counts. Example:mol.nr > 130.
Why This Matters
Accurate and straightforward access to molecular attributes can drastically reduce the time spent on data analysis. Need to filter molecules based on residue count? Use mol.nr. Want to find molecules with specific elemental atoms, such as hydrogens? The numberOfHydrogens (nH) attribute is there. These attributes simplify otherwise tedious processes into streamlined queries.
Real-World Application Examples
Let’s take two scenarios:
-
Suppose you are studying protein structures and want to identify proteins with fewer than three chains. Use the
numberOfChainsattribute:- Query:
mol.nc < 3.
- Query:
-
To analyze certain residues of proteins (e.g., identifying proteins containing more than 130 residues):
- Query:
mol.nr > 130.
- Query:
These small examples illustrate the power and ease of NSL for seamlessly diving into molecular datasets.
Expand Your Expertise
SAMSON’s molecule attributes empower users to navigate and conditionally filter molecular systems for modeling, design, or analysis. They save time, simplify processes, and offer precision in handling detailed molecular datasets.
To explore the full list of attributes and examples of how you can use them for your work, visit the official documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON here.
