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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file springcraft-0.1.0.tar.gz
.
File metadata
- Download URL: springcraft-0.1.0.tar.gz
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.4.0-120-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d30135a3c3ceb9faf24bbc13fefd1acbfb6eed5fcc49e17c9ecab7b1b31fe0 |
|
MD5 | e7125bf66da1e1f0afc65c032beeb5b6 |
|
BLAKE2b-256 | caf8f5adae7378d61d0c929a3251c22dc418853b54d7724336d6eb93c18ac7ce |
File details
Details for the file springcraft-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: springcraft-0.1.0-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.4.0-120-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aee9dbdac6481961c314ec4bec53f36e85182d841cbd00000c6977597abd023a |
|
MD5 | 3d2755d710346fcf2fcff8ad356d76bb |
|
BLAKE2b-256 | da1aa2f12a89160247530594e59a80448b1efae5881103d14fa5daaa81d574be |