跳转到主要内容

潜在代谢物的系统生成

项目描述

SyGMa是一个用于系统生成潜在代谢物的Python库。它是对Ridder, L.,& Wagener, M. (2008) SyGMa:结合专家知识和经验评分以预测代谢物的代谢规则的重构。SyGMa: combining expert knowledge and empirical scoring in the prediction of metabolites. ChemMedChem, 3(5), 821-832.

https://travis-ci.org/3D-e-Chem/sygma.svg?branch=master https://api.codacy.com/project/badge/Grade/7f18ab1d1a80437f8e28ac1676c70519 https://api.codacy.com/project/badge/Coverage/7f18ab1d1a80437f8e28ac1676c70519 https://img.shields.io/badge/docker-ready-blue.svg https://anaconda.org/3d-e-chem/sygma/badges/installer/conda.svg

要求

SyGMa需要带有INCHI支持的RDKit

安装

  • 使用Anaconda安装:conda install -c 3d-e-Chem -c rdkit sygma

或者

并且

  • pip install sygma 或者,下载sygma后,python setup.py install

示例:生成苯酚的代谢物

import sygma
from rdkit import Chem

# Each step in a scenario lists the ruleset and the number of reaction cycles to be applied
scenario = sygma.Scenario([
    [sygma.ruleset['phase1'], 1],
    [sygma.ruleset['phase2'], 1]])

# An rdkit molecule, optionally with 2D coordinates, is required as parent molecule
parent = Chem.MolFromSmiles("c1ccccc1O")

metabolic_tree = scenario.run(parent)
metabolic_tree.calc_scores()

print metabolic_tree.to_smiles()

Docker

SyGMa可以在Docker (https://docker.net.cn/) 容器中执行,如下所示

docker run 3dechem/sygma c1ccccc1O

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

SyGMa-1.1.0.tar.gz (13.8 kB 查看哈希值)

上传时间 源代码

支持者