No project description provided
Project description
QDX-py
Python bindings to qdx-commons, built with maturin / py03.
NAME
qdx_py - QDX-Common utilities for python
PACKAGE CONTENTS
qdx_py
FUNCTIONS
concat(conformer_1_contents, conformer_2_contents)
Takes two conformer json strings and concatenates them
conformer_to_pdb(conformer_contents)
Returns the pdb string for a qdx conformer json string
formal_charge(conformer_contents, strictness)
Charges standard amino acids given a conformer json string,
fragment(conformer_contents, backbone_steps, terminal_fragment_sidechain_size=Ellipsis)
Fragments a conformer, updating the fragment formal charges based on existing atom charges
pdb_to_conformer(pdb_contents, keep_residues=Ellipsis, skip_residues=Ellipsis)
Converts a pdb string into an array of qdx conformers as a json string
Usage
import qdx_py
# get json string of conformer
conformer = qdx_py.pdb_to_conformer(open("../qdx-common/tests/data/6mj7.pdb").read())
# get pdb of conformer
pdb = qdx_py.conformer_to_pdb(conformer)
Developing
~ setup venv
maturin develop
python
~ import qdx_py
Publishing
export MATURIN_PYPI_TOKEN=[your token]
maturin publish --manylinux 2_28 --zig
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
qdx_py-0.4.0.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for qdx_py-0.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf1b91b9a7ad2ba1b388d7eab00c5b93a1f4a6c928256faf0997b4ec046e9556 |
|
MD5 | 0486e003c6ad41dd66bd14066e8e9526 |
|
BLAKE2b-256 | 2af15e06768b8495bc13d7e798b71157f475b692f8af9e78442c7e1fbc87eb5d |