Skip to main content

Investigate molecular dynamics with elastic network models

Project description

Springcraft

The project in the CBS Hackathon to compute Elastic Network Models with Biotite.

Installation

All packages required for the development (including tests) are installed via

$ conda env create -f environment.yml

if Conda installed. The package is installed for development via

$ pip install -e .

This command requires a recent pip version.

Example

import biotite.structure.io.mmtf as mmtf
import springcraft
import numpy as np


mmtf_file = mmtf.MMTFFile.read("path/to/1l2y.mmtf")
atoms = mmtf.get_structure(mmtf_file, model=1)
ca = atoms[(atoms.atom_name == "CA") & (atoms.element == "C")]
ff = springcraft.InvariantForceField()
hessian, pairs = springcraft.compute_hessian(ca.coord, ff, 7.0)

np.set_printoptions(linewidth=100)
print(hessian)

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

springcraft-0.1.0.tar.gz (36.2 kB view hashes)

Uploaded Source

Built Distribution

springcraft-0.1.0-py3-none-any.whl (39.0 kB view hashes)

Uploaded Python 3

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