drugforge.data.util.utils
Functions
|
Convert a CDD-downloaded and filtered CSV file into a JSON file containing |
|
Convert a CDD-downloaded and filtered CSV file into a JSON file containing an EnantiomerPairList. |
|
Convert a CDD-downloaded and filtered CSV file into a JSON file containing a list[ExperimentalCompoundData]. |
|
|
|
Check that a glob or list of files actually contains some elements - if not, raise an error. |
|
|
|
|
|
Construct a function that searches for the given regex pattern, either returning fail_val or raising an error if no match is found. |
|
Download a file and save it locally. |
|
Extract a list of (xtal, compound_id) from fn_list. |
|
Filter a dataframe of molecules to retain those specified. |
|
Get the absolute path as a string to an imported module. |
|
|
|
|
|
Filter a dataframe of molecules to retain those specified. Required columns are: |
|
https://www.wwpdb.org/documentation/file-format-content/format33/sect3.html#SEQRES :Parameters: seqres_str |
|
Strip salts from a SMILES string. |