toxicity
#
Functions:
-
rule_of_five
–Function to calculate the Ro5 properties for a molecule. Needs the new R group to be joined to form a single
-
filter_mols
–Function to carry out a filter of a list of molecules dependent on the catalog supplied.
-
tox_props
–Function to get properties of a list of molecules and return a dataframe of results.
rule_of_five
#
rule_of_five(mol)
Function to calculate the Ro5 properties for a molecule. Needs the new R group to be joined to form a single RDKit mol object as input. Returns a series containing the molecular weight, number of hydrogen bond donors and acceptors and the calculated LogP.
A flag of True is returned if the molecule complies and False if it doesn't.
Source code in fegrow/toxicity.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
filter_mols
#
filter_mols(mol, catalog, filter_type)
Function to carry out a filter of a list of molecules dependent on the catalog supplied. Returns a flag of True if unwanted features are detected and False if none are found
Source code in fegrow/toxicity.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
tox_props
#
tox_props(data)
Function to get properties of a list of molecules and return a dataframe of results.
Source code in fegrow/toxicity.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
|