Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
WebChemistry Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
How to's
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SiteBinder == === Select all structures that have exactly one C<sub>5</sub>O ring === Enter <code>Current().Count(Rings(5 * ["C"] + ["O"])) == 1</code> into the Structure Selection panel. Explanation: # <code>Current()</code> returns the structure being tested. # <code>Count()</code> function counts occurrences of a specific motif. # <code>Rings(5 * ["C"] + ["O"])</code> is a "Python" shortcut for <code>Rings(["C", "C", "C", "C", "C", "O"])</code> which represents a ring with 5 C and 1 O atoms. # <code> == 1</code> checks for equality. Other relation operators can be used as well ( >, >=, <, <=, !=). === Select all structures that satisfy multiple conditions === In the Structure Selection panel use the expression <code>(c1) & (c2)</code>. For example, all structures that contain more than one C<sub>5</sub>O ring and no more than 3 ASP residues is represented by the expression <code>(Current().Count(Rings(5 * ["C"] + ["O"])) > 1) & (Current().Count(Residues("HIS")) <= 3)</code>. Due to the associativity rules of the operator &, each condition must be enclosed in the ( ). Or condition is represented by using | operator instead of &. === Select all backbone C atoms that are within 6 angstroms of MAN residue === Enter <code>AtomNames("CA", "CB").Inside(Residues("MAN").AmbientAtoms(6))</code> into the Atom Selection panel. Explanation: # <code>AtomNames("CA", "CB")</code> represents all atoms names "CA" or "CB". # <code>.Inside(...)</code> function says that the motive on the left should be looked for inside another one. # <code>Residues("MAN").AmbientAtoms(6)</code> represents all atoms on a MAN residue and all atoms within 6 angstroms around it. === Cluster loaded structures by their common residues === Enter <code>Utils.ResidueHierarchialClustering("name")</code> to the script panel. This will create several descriptors for the loaded structures with these properties: * For each cluster, two descriptors are added: ** <code>name</code>_<code>N</code> – all motifs that share at least N residues. If a motif has less than N residues, large cluster index will be displayed (2^31). ** <code>name</code>_<code>N</code>FP – a list of the common residues. If a motif has less than N residues, “n/a” is displayed. * Descriptors can be changed using the Structure Descriptors panel. * There is also an export button in the Structure Descriptors panel. * Use Group by Descriptor and Sort by Descriptor functions for added effect. === Create a descriptor with residue count === Enter <code>Current().Count(Residues())</code> and select an appropriate name (say "resCount") in the Descpriptors panel. Explanation: # <code>Current()</code> returns the structure we are computing the descriptor for. # <code>.Count(Residues())</code> counts the residues. It is possible to count all sorts of things: * <code>Atoms("C", "N")</code> counts C and N atoms. * <code>AtomNames("CA", "CB")</code> counts atoms named CA and CB. * <code>Residues("HIS", "ASP")</code> counts HIS and ASP residues. * <code>Rings(5 * ["C"] + ["O"])</code> counts C<sub>5</sub>O rings. This descriptor can also be expanded and further analyzed for example in Excel using the Export menu in the Descriptors panel.
Summary:
Please note that all contributions to WebChemistry Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WebChemistry Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
How to's
(section)
Add topic