chemicalchecker.core.molkit.Mol
- class Mol(cc, mol_str, str_type=None)[source]
Bases:
object
Mol class.
Given a CC instance, provides access to signatures of a input molecule.
Initialize a Mol instance.
- Parameters:
cc – Chemical Checker instance.
mol_str – Compound identifier (e.g. SMILES string)
str_type – Type of identifier (‘inchikey’, ‘inchi’ and ‘smiles’ are accepted) if ‘None’ we do our best to guess.
Methods
Check if the molecule is in the dataset of interest
Check in what datasets the molecule is present
Check if the molecule is in the dataset of interest
- isin(cctype, dataset_code, molset='full')[source]
Check if the molecule is in the dataset of interest