drugforge.alchemy.predict
Functions
|
Edit the dataframe inplace by adding experimental data provided to it. |
|
Given a wrangled DF containing either label (absolute) or labelA and labelB (relative), add molecule identifiers for each row. |
|
Adds pIC50 columns for all DG columns. |
|
Edit the relative dataframe in place by adding experimental data provided to it. |
|
Cleans an incoming result network JSON file from some issues that might occur. |
|
Create a cinnabar style interactive report for the dataframe of absolute free energy predictions, this dataframe should include experimental data already. |
|
Create a cinnabar style interactive report for the dataframe of relative free energy predictions, this dataframe should include experimental data already. |
|
Converts a DG kcal/mol unit to a pIC50 value. |
|
Given a wrangled FEMap dataframe of absolute predicted DG values (kcal/mol), replace 'kcal/mol' columns with pIC50 values and rename the columns to match what's expected by manifold. |
|
A wrapper method to download CDD protocol data, mainly used to tuck imports. |
|
Create SVG text of a 2D depiction of a molecule which can be embed in an html report. |
|
Extract the experimental data from the given csv file, this assumes the csv has been downloaded from cdd. |
|
Given a cinnabar FEMap add the experimental reference data and generate and return: 1. |
|
Convenience method to return the magnitude of an OpenFF unit quantity. |
|
Takes the top_n number of ligands from the FE predictions and creates a list of Ligand objects. |
|
Convenience method to convert a Ki w/ a given uncertainty to an experimental estimate of the binding free energy. |
|
Convenience method to take the negative log of value, or to invert it. |
|
Convert the PIC50 value and its uncertainty to dg. |
|
Create an interactive plot using Plotmol for the absolute predictions of the free energies. |
|
Create an interactive plot using Plotmol for the relative predictions of the free energies. |
|
Wrangles a cinnabar FEMap DataFrame and returns a DF ready for plotting. In case of absolute (`point_type`=='DG'), shifts the prediction values to the mean experimental value. |