项目作者: kubor

项目描述 :
RDKit on alpine with Anaconda
高级语言: Dockerfile
项目地址: git://github.com/kubor/alpine-rdkit.git
创建时间: 2017-04-27T16:20:46Z
项目社区:https://github.com/kubor/alpine-rdkit

开源协议:

下载


alpine-rdkit

RDKit on alpine linux with Miniconda

Install Miniconda3 and latest version of RDKit from https://anaconda.org/rdkit/rdkit .

Login with bash

  1. docker -it run kubor/alpine-rdkit bash

Example

  1. bash-4.3# python
  2. Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
  3. [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> from rdkit import Chem
  6. >>> m = Chem.MolFromSmiles('Cc1ccccc1')
  7. >>> m.GetNumAtoms()
  8. 7