macromolecular structures as pandas DataFrames
Project description
macromolecular dataframes (mmdf)
Macromolecular DataFrames (mmdf
) is a small package for reading macromolecular structures into pandas dataframes.
The heavy lifting of reading structure files is done by gemmi.
Usage
import mmdf
df = mmdf.read('4v6x-ribo.cif')
df.head()
Out[3]:
model chain residue residue_id ... z charge occupancy b_isotropic
0 1 Az ASN 3 ... -54.829 0 1.0 10.0
1 1 Az ASN 3 ... -54.691 0 1.0 10.0
2 1 Az ASN 3 ... -53.642 0 1.0 10.0
3 1 Az ASN 3 ... -53.007 0 1.0 10.0
4 1 Az ASN 3 ... -54.239 0 1.0 10.0
[5 rows x 13 columns]
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
mmdf-0.0.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file mmdf-0.0.1.tar.gz
.
File metadata
- Download URL: mmdf-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a0d7f8d5b39b1c859c324f16d28ed0db5b5502a7db0516e390b1cd14a458f9f |
|
MD5 | 165506ef4c06079eb62ba7b733e5113e |
|
BLAKE2b-256 | 972431439e285d95e46c0e551a8f85ecf9b4e8c086a32b1228b11e74337e28b9 |
File details
Details for the file mmdf-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: mmdf-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6abca1dd94a6a1a94f175e157006186c5e4df9aab1c3e476abf024ca6d841c0 |
|
MD5 | f416d072e99f5ae9b15999aff4bd6d1f |
|
BLAKE2b-256 | a654fcf9c5ae7bd22c6d2e9a89988f7699d386696ff82ca08a92fa13b811d0f1 |