Metabolite prediction#
gloryxr.prediction
#
Metabolite prediction using GLORYxR.
- class gloryxr.prediction.GLORYxR(*, strict_soms: bool = False, _models: type[~gloryxr._models._ModelProvider] = <class 'gloryxr._models._LocalModelProvider'>)[source]#
Main class for metabolite prediction using GLORYxR.
- Parameters:
strict_soms – Whether to use strict SOMs
- predict(mols: list[Mol]) list[Prediction] [source]#
Generate metabolism predictions for a list of molecules.
- Parameters:
mols – List of molecules to perform metabolism prediction for
- predict_one(mol: Mol) list[Prediction] [source]#
Generate metabolism predictions for a single molecule.
- Parameters:
mol – Molecule to perform metabolism prediction for
- class gloryxr.prediction.Prediction(concrete_reaction: ChemicalReaction, score: float)[source]#
Class that encapsulates a single reaction prediction.
- Parameters:
concrete_reaction – The specific reaction that was predicted.
score – The probability score of the predicted reaction, relative to other reactions.