Search for "any atom" in structure editor [message #1666] |
Mon, 11 July 2022 10:41 ![Go to next message Go to next message](/forum/theme/myThemeWithHFCSS/images/down.png) |
TomSilico
Messages: 1 Registered: July 2022
|
Junior Member |
|
|
Hi DW,
I've looked through the documentation for this feature and thought it wasn't possible, until I saw a screenshot in another forum post. The title of this post is "How to perform general R group searches in DW". (I can't link it here as this is my first post on this forum).
I'd like to make one atom match "any atom" or e.g. "either carbon or nitrogen" or "not a carbon" in the structure editor. I'd use this both when I apply a structure filter, or when I define the core of a molecule to re-draw molecules of a series so they're oriented the same way (Chemistry > Generate 2D atom coordinates).
It seems like it's possible from the post above when Norwid defines an atom in the structure editor as [C,N] to match both atoms. How can I do this? I've tried using the "?..." button and typing in [C,N] as the atom label. But this seems to only allow specific labels (R, Ala etc... .
In that same post above, it was suggested to replace the two .jar files available for download in the .zip file for improved functionality. I've done this on my machine (Windows, DW5.5.0).
Cheers,
Thomas
|
|
|
|
Re: Search for "any atom" in structure editor [message #1883 is a reply to message #1671] |
Fri, 28 April 2023 21:37 ![Go to previous message Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) ![Go to next message Go to next message](/forum/theme/myThemeWithHFCSS/images/down.png) |
rkp@23
Messages: 3 Registered: April 2023
|
Junior Member |
|
|
I am new to Datawarrior and I have a similar question.
I am trying to understand the difference between a molecule and a query.
I am trying to search ChemBL database using the feature "similar structures to"
While doing that , I tried to draw using the structure editor, a query molecule, with any R group attached to a halide.
In the first try, it allows me to change the atom properties. But if I want to further do any changes, selecting lasso tool and double clicking it, select the entire molecule and not a particular atom.
I am trying to understand how to define a molecule as a molecule with a query feature as opposed to just a molecule.
is there a way to define a structure as a query in DataWarrior?
I could not find a clear explanation of this in the documentation, except that in the Lasso tool section, its written that if not a query, the entire molecule will be selected and no "Atom Properties" dialog will open.
Please help!
|
|
|
Re: Search for "any atom" in structure editor [message #1884 is a reply to message #1883] |
Sat, 29 April 2023 13:50 ![Go to previous message Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) |
thomas
Messages: 693 Registered: June 2014
|
Senior Member |
|
|
DataWarrior distinguishes molecules from substructure queries:
Molecules are considered atom-complete except for plain hydrogen atoms, which typically are not drawn. Any open valences of a molecule are implicitly considered to be filled by hydrogen atoms. Molecule atoms or bonds cannot carry query features. The structure editor, when editing queries for similar or exact molecule search, is in 'molecule mode'. Therefore, you cannot add query features and implicit hydrogens are shown on hetero atoms.
Substructure queries are atom-incomplete, which means that open atom valences are NOT considered to be filled by hydrogen atoms. They allow query features on atoms and bonds that narrow or broaden the meaning of the drawn atom/bond, e.g. require it to be in an aromatic ring, or allow an atom to be either N,O,S or a bond to be either single or double. In addition, one can define attachment groups, which are not allowed at a particular position ('exclude groups').
Details are explained in the "Help->Chemical Structures->The Structure Filter"; scoll down to 'Substructure Search'...
[Updated on: Sat, 29 April 2023 13:50] Report message to a moderator
|
|
|