Crates.io | mmtf |
lib.rs | mmtf |
version | 0.1.1 |
source | src |
created_at | 2018-03-10 04:27:49.911389 |
updated_at | 2018-03-16 22:41:38.020534 |
description | Macromolecular transmission format (MMTF) decoder and encoder |
homepage | |
repository | https://github.com/mgxm/mmtf-rs |
max_upload_size | |
id | 54739 |
size | 80,635 |
WARNING: Work In Progress
The macromolecular transmission format (MMTF) is a binary encoding of biological structures. It includes the coordinates, the topology and associated data. Specifically, a large subset of the data in
mmCIF
orPDB
files can be represented. Pronounced goals are a reduced file size for efficient transmission over the Internet or from hard disk to memory and fast decoding/parsing speed. Additionally the format aims to be easy to understand and implement to facilitates its dissemination.
For a more detailed information and specifications, please, take a look at their official documentation.
This crate use the deserialize and serialize from Rust MessagePack
and their integration with Serde,
providing a simple and easily decoder and encoder for MMTF structures
extern crate mmtf;
use std::fd::File;
let file = File::open("/path/to/file.mmtf");
let mmtf = Mmtf::from(file);
License: Apache-2.0