|
_MySplit
|
|
Criterion
A base class for a structure matching criterion.
|
|
PropertyCriterion
A structure matching criterion that acts on the presence or value
of a specific structure property.
|
|
SmartsCriterion
A structure matching criterion that looks for a match to a Definition
instance, which is comprised of a collection of SMARTS patterns.
|
|
PredefinedCriterion
A structure matching criterion that acts on the value of a predefined
function applied to the structure.
|
|
AslCriterion
This criterion considers a Structure as matching if the stored ASL
expresson match returns at least one atom.
|
|
Definition
A class that defines a collection of SMARTS patterns for matching
against.
|
|
CriterionParser
A class for parsing a general property or predefined matching
criterion.
|
|
DefinitionParser
A class for parsing a (possibly multi-line) specification of a
Definition.
|
|
mysplit(thestr)
Special version of thestr.split() |
|
|
|
Num_rings(st)
Return the number of rings in the structure 'st'. |
|
|
|
Num_aromatic_rings(st)
Return the number of aromatic rings in the structure 'st'. |
|
|
|
Num_aliphatic_rings(st)
Return the number of aliphatic rings in the structure 'st'. |
|
|
|
Num_heteroaromatic_rings(st)
Return the number of aromatic rings containing heteroatoms (N, O, S)
in the structure 'st'. |
|
|
|
Num_rotatable_bonds(st)
Return the number of rotatable bonds in the structure 'st', as
determined by structutils.analyze.get_num_rotatable_bonds(). |
|
|
|
Num_atoms(st)
Return the number of atoms in the structure 'st'. |
|
|
|
Num_heavy_atoms(st)
Return the number of non-hydrogen atoms in the structure |
|
|
|
Num_molecules(st)
Return number of molecules in the structure. |
|
|
|
Num_residues(st)
Return number of residues in the structure. |
|
|
|
Molecular_weight(st)
Return the total molecular weight of the structure 'st'. |
|
|
|
Num_chiral_centers(st)
Return the number of chiral centers in the structure 'st', as
determined by structutils.analyze.get_chiral_atoms(). |
|
|
|
Total_charge(st)
Return the total formal charge of the structure 'st'. |
|
|
|
Num_positive_atoms(st)
Return the number of positive atoms in the structure 'st'. |
|
|
|
Num_negative_atoms(st)
Return the number of negative atoms in the structure 'st'. |
|
|
|
|
|
_get_percent_ss_type(st,
type) |
|
|
|
|
|
|
|
|
|
read_keys(fh,
validate=False,
validdefinitions=None)
Generate lists of Definitions and Criteria from an iterator 'fh' that
returns a line at a time of the Definition and Criteria
specification. |
|
|
|
get_default_criterion_parser()
Returns a CriterionParser with default definitions |
|
|
|
generate_criterion(condition,
cp=None)
Ev:55805
Returns a Criterion object for a specified condition string. |
|
|
|
st_matches_criteria(st,
criteria_list,
match_any=False,
addprops=False)
If the specified structure matches the criteria, returns None. |
|
|
|
DEFAULT_PATTERNS_FILE = ' ligfilter_definitions.lff '
|
|
FILTERFILE_EXT = ' lff '
|
|
OPERATORS = [ ' == ' , ' != ' , ' <= ' , ' >= ' , ' < ' , ' > ' ]
|
|
GATES = [ ' AND ' , ' OR ' ]
|
|
PROPERTY = ' property '
|
|
PREDEFINED = ' predefined '
|
|
SMARTS = ' smarts '
|
|
ASL = ' asl '
|
|
predefined_function_dict = {'Num_rings': Num_rings, 'Num_aroma...
|
|
PREDEFINED_KEYS = [ ' Num_rotatable_bonds ' , ' Molecular_formula ' , ...
|
|
SCHRODINGER = ' /scr/buildbot/savedbuilds/NB/2016-4/build-126 '
|
|
MMSHARE_EXEC = ' /scr/buildbot/savedbuilds/NB/2016-4/build-126/ ...
|
|
MMSHARE_datadir = ' /scr/buildbot/savedbuilds/NB/2016-4/build-1 ...
|
|
mmshare_data_file = ' /scr/buildbot/savedbuilds/NB/2016-4/build ...
|
|
appdata_dir = ' /home/buildbot/.schrodinger '
|
|
appdata_file = ' /home/buildbot/.schrodinger/ligfilter_definiti ...
|
|
_definition_file_name = ' /scr/buildbot/savedbuilds/NB/2016-4/b ...
|
|
_definition_fh = open(_definition_file_name)
|
|
__package__ = ' schrodinger.utils '
|
|
_criteria = [ ]
|
|
default_definitions = [ <schrodinger.utils.ligfilter.Definition...
|