Search Filter Examples¶
Search filter examples (search context)¶
The examples are divided into two groups:
Structure based calculations (plugin calculations)
Structure based calculations (plugin calculations)¶
Plugin references provide access to Chemaxon's calculator plugins. These calculations equip our expressions with chemical meaning.
-
Filter hits by requiring that the partial charge on target atom matching query map
1should be positive: -
The same with taking the physiological microspecies of the target at pH
7.4: -
Checking whether the partial charge on target atom matching query map
1is greater than or equal to this charge value in the physiological microspecies at pH7.4: -
The basic pKa value on target atom matching query map
3should be greater than8.0: -
The strongest acidic pKa value of the target should be less than
0.5:{info}
Note that by default the expression refers to the target. Writequery()to refer to the query: -
The logP value of the query should be greater than that of the target:
-
The logD value at
pH=7.4of the target should be less than the logD value atpH=3.4:{info}
Note that in logD calculation the pH value should be enclosed in quotation marks.
-
Check the difference between logD values of the target at two different pHs:
-
Require a sufficiently large target mass as well as a positive charge value at the target atom matching query map
1:
Functions¶
There are different type of functions provided by Chemaxon:
-
general purpose functions : simple array utility functions, such as minimum, maximum, sum or number of array elements and an array element sorter function
-
atomic functions : functions referring to an input atom, such as the atom property query function of which queries atom properties (e.g. hydrogen count) or the containment function that checks whether an atom index is contained in an atom index array
-
evaluator functions : functions containing an inner expression string as parameter - evaluate this expression for each atom in an atom context, examples include a filtering function that takes a boolean expression and returns atoms satisfying it and min-max functions which evaluate the inner expression for all atoms in the context, return the minimum or maximum value or the corresponding atom index.
Examples are:
-
The minimum of the partial charge values on target atoms matching maps
2,3and4should be negative, that is there should be at least one negative among these charge values: -
The hydrogen counts on target atom matching map
1and on target atom matching map2should be at least1: -
The minimum of the partial charge values on target atoms matching maps
2,3and4should be negative, that is there should be at least one negative among these charge values: -
The hydrogen counts on target atom matching map
1and on target atom matching map2should be at least1: -
The valence of target atom matching map
1or map2should be at least1: -
The number of atoms with positive partial charge in the target should be at least that in the query:
-
The minimum acidic pKa value on heteroatoms with a single hydrogen in the target should be less than
0.75, that is, there should be at least one heteroatom with a single hydrogen with acidic pKa less than0.75: -
Testing whether the partial charge on the atom with the strongest basic pKa value exceeds the partial charge on the atom with the second strongest basic pKavalue in the target:
{info}
Note that in the current version the above expression cannot be evaluated if there are less than two basic pKa values in the molecule.
-
Checking whether there is a sufficiently large difference between the two strongest basic pKa values among atoms with positive charge in the target and the query:
-
Dissimilarity between the target and query using pharmacophore fingerprint as molecular descriptor with Tanimoto (default) metric should be sufficiently small:
{info}
Note, that the target() can be omitted as in the above examples: -
The same using Euclidean metric: