Skip to main content

An easy to use docking library.

Project description

docking itself through university

version docs pyversions gl build coverage license grade wheel


dockerasmus is a version-agnostic Python module that was created to quickly solve docking problems, as part of a Python assignment from the M1 BIBS of the Université Paris-Saclay.

dockerasmus provides a generic implementation of a scoring function, which can be used with several components to compute the score of a docking conformation involving two proteins. It is backend agnostic, and every scoring component can be rewritten with any library supporting numpy arrays.


Use dockerasmus to compute the score of the barnase-barstar complex using the scoring function defined by Cornell et al:

from dockerasmus.pdb import Protein
from dockerasmus.score import ScoringFunction, components

# Import the pdb files (supports gzipped files or plain .pdb)
barnase = Protein.from_pdb_file("tests/data/barnase.native.pdb.gz")
barstar = Protein.from_pdb_file("tests/data/barstar.native.pdb.gz")

# Create a scoring function with two components
scoring_function = ScoringFunction(components.LennardJones,

# Call the scoring function on the barnase (receptor)
# and the barstar (ligand)
scoring_function(barnase, barstar)  # -84.94...


dockerasmus provides several submodules:

  • a parser & object model for the Protein Data Bank (dockerasmus.pdb)

  • a scoring library (dockerasmus.score)

  • a soft 3D engine for spatial transformations (dockerasmus.spatial)

See the API reference from the online documentation to get more details.


dockerasmus is fully open-source and is released under the GPLv3.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dockerasmus-0.1.1.tar.gz (19.8 kB view hashes)

Uploaded Source

Built Distributions

dockerasmus-0.1.1-py3-none-any.whl (34.8 kB view hashes)

Uploaded Python 3

dockerasmus-0.1.1-py2-none-any.whl (34.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page