Skip to main content

docking itself through university

version docs pyversions gl build coverage license grade wheel

Introduction

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.

Example

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,
                                   components.Coulomb)

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

API

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.

License

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

Metadata

Release files for dockerasmus 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dockerasmus 0.1.1
File Size Uploaded
dockerasmus-0.1.1.tar.gz 19.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for dockerasmus 0.1.1
File Interpreter ABI Platform
dockerasmus-0.1.1-py3-none-any.whl Python 3 none any Details
dockerasmus-0.1.1-py2-none-any.whl Python 2 none any Details

Total release size: 89.4 kB

Release files / dockerasmus-0.1.1.tar.gz

Download URL dockerasmus-0.1.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6edf8a3a5395e67c2aaf877421101aa8a9b3249acd49d446ad65a16cbe71db1a
BLAKE2b-256 checksum
How to use checksums
80544ac47f191574263d9ac88b45241e9d645887fc62b52f5e4dbc3d979d3519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dockerasmus-0.1.1-py3-none-any.whl

Download URL dockerasmus-0.1.1-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e50db4cb2365ab4a323cccf7becd33850ca42173c3f2ff4377417356bd20d289
BLAKE2b-256 checksum
How to use checksums
51574d55f4a565c26496bc279e68b5a33500da565782a9167209c73f5be767a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dockerasmus-0.1.1-py2-none-any.whl

Download URL dockerasmus-0.1.1-py2-none-any.whl
Size 34.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a10adcd1fe321939a645632d29146312afabb1f172df76d4d7127bb125970d16
BLAKE2b-256 checksum
How to use checksums
b8f5b1ccbe5bd1809b2235d9c6ed8ce1358a52e204adad72cff9d03e8dd74be9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page