LiteMol:SelectionAlgebra
LiteMol has an atom selection language available, similarly to the other structure visualization tools such as VMD or PyMOL. The LiteMol selection algebra is inspired by our other service - PatternQuery, although in the present version the amount of integrated queries is somewhat limited. Additionally, as a feature LiteMol will contain a parser of syntax enabling the use of PyMOL and possibly VMD selection algebra.
LiteMol selection algebra
Molecular selections can be created in two different active contexts - model of molecule or molecule visual. If either of the contexts is active in the entity tree, the right panel is populated with the Selection action. Next, you can create named selection using dedicated query language and further modify the visual part of your selection.
{{#if: Notice:
| Notice: |large }} Arguments of LiteMol selection queries are case sensitive!
Meaning: GLY is a common non-polar residue found in the PDB entries, whereas Gly, or gly does not exist.
List of selection queries | ||
---|---|---|
Query |
Examples |
Selection description |
atomsByElement()
|
atomsByElement('C'), atomsByElement('C','O')
|
Atoms based on their element symbol (field _atom_site.type_symbol). |
atomsByName()
|
atomsByName('C'), atomsByName('N','CA','C','O')
|
Atoms based on their atom name (field _atom_site.label_atom_id). |
atomsById()
|
atomsById(1), atomsById(1,2,3)
|
Atoms based on their integer identifier (field _atom_site.id ). |
atomsByName()
|
atomsByName('C'), atomsByName('N', 'CA', 'C', 'O')
|
Atoms based on their atom name (field _atom_site.label_atom_id). |
residuesByName()
|
residuesByName('GLY'), residuesByName('ALA', 'HEM', 'PO4')
|
Residues based on their residue name (field _atom_site.label_comp_id). |
residuesById()
|
residuesById(100), residuesById(42,157,238)
|
Residues based on integer identified (field _atom_site.auth_seq_id). |
chains()
|
chains('A'), chains('A','B','C')
|
Polymer chains based on their id (field _atom_site.auth_asym_id). |
{{#switch: sub
| normal = TODO inside query and logical combinations | super = TODO inside query and logical combinations | sub = TODO inside query and logical combinations | TODO inside query and logical combinations
}}
PyMOL
In preparation...
VMD
In preparation...