潜在代谢物的系统生成
SyGMa的Python项目详细描述
SyGMa是用于SystematicG生成潜在Metabolites的python库。 它是对 Ridder, L., & Wagener, M. (2008) SyGMa: combining expert knowledge and empirical scoring in the prediction of metabolites. ChemMedChem, 3(5), 821-832。
要求
Sygma需要具有Inchi支持的RDKit
安装
- 用水蟒安装:conda install -c3d-e-Chem-c rdkit sygma
或者
- 按照http://www.rdkit.org/docs/Install.html 中的说明安装rdkit
以及
- pip install sygma或者,在下载sygma之后,python setup.py install
示例:生成苯酚代谢物
importsygmafromrdkitimportChem# Each step in a scenario lists the ruleset and the number of reaction cycles to be appliedscenario=sygma.Scenario([[sygma.ruleset['phase1'],1],[sygma.ruleset['phase2'],1]])# An rdkit molecule, optionally with 2D coordinates, is required as parent moleculeparent=Chem.MolFromSmiles("c1ccccc1O")metabolic_tree=scenario.run(parent)metabolic_tree.calc_scores()printmetabolic_tree.to_smiles()