Crates.io | protein-get |
lib.rs | protein-get |
version | 0.0.2 |
source | src |
created_at | 2020-10-20 23:44:45.482315 |
updated_at | 2020-10-21 00:11:04.782831 |
description | Working with protein structures |
homepage | |
repository | https://github.com/TianyiShi2001/protein |
max_upload_size | |
id | 303714 |
size | 112,323 |
The protein-get crate provides simple functions to fetch protein structure data files in .pdb
, .cif
and .bcif
formats
from RSCB.
use protein_get::get_pdb;
fn main(){
let pdb1a8o = get_pdb("1A8O").unwrap();
assert_eq!(&pdb1a8o[62..66], b"1A8O");
}