项目作者: MolSSI

项目描述 :
MMIC for molecular docking using AutoDock Vina
高级语言: Python
项目地址: git://github.com/MolSSI/mmic_autodock_vina.git
创建时间: 2021-02-18T17:59:04Z
项目社区:https://github.com/MolSSI/mmic_autodock_vina

开源协议:BSD 3-Clause "New" or "Revised" License

下载


GitHub Actions Build Status
codecov
Language grade: Python

This is part of the MolSSI Molecular Mechanics Interoperable Components (MMIC) project. This package provides a
provides an engine component for running molecular docking with AutoDock Vina.



AutoDock Vina Component

This is part of the MolSSI Molecular Mechanics Interoperable Components (MMIC) project. This package provides molecular docking compute via AutoDock Vina program.

Preparing Input

  1. # Import MM molecule data model
  2. from mmelemental.models.molecule import Molecule
  3. # Construct MM molecules
  4. receptor = Molecule.from_file(pdb_file)
  5. ligand = Molecule.from_data(smiles_code, dtype="smiles")
  6. # Construct docking input data from MMSchema molecules
  7. dock_input = {
  8. "mol": {"ligand": ligand, "receptor": receptor},
  9. "search_space": (xmin, xmax, ymin, ymax, zmin, zmax),
  10. "search_space_units": "angstrom",
  11. }

Running Docking with AutoDock Vina component

  1. # Import docking simulation component for autodock vina
  2. from mmic_autodock_vina.components.autodock_component import AutoDockComponent
  3. # Run autodock vina
  4. dock_output = AutoDockComponent.compute(dock_input)
  5. # Extract output
  6. scores, ligands, flex = dock_output.scores, dock_output.poses.ligand, dock_output.poses.receptor

Copyright (c) 2021, MolSSI

Acknowledgements

Project based on the
Computational Molecular Science Python Cookiecutter version 1.1.