MolQL (Molecular Query Language) is a declarative language for describing selections/substructures of molecular data. The language provides a wide range of queries and can be used as a compilation target for various selection expressions such as the ones provided by PyMol, JMOL, or VMD.
helix
ss h
structure H
(sel.atom.res
(atom.sec-struct.is helix))
(structure.generator.atom-groups
:atom-test (core.flags.has-any
(structure.atom-property.macromolecular
.secondary-structure-flags)
(structure.type
.secondary-structure-flags helix)))