2 releases

0.0.2 Oct 21, 2020
0.0.1 Oct 20, 2020

#18 in #biology

38 downloads per month

MIT license

110KB

protein-get

The protein-get crate provides simple functions to fetch protein structure data files in .pdb, .cif and .bcif formats from RSCB.

Example

use protein_get::get_pdb;

fn main(){
    let pdb1a8o = get_pdb("1A8O").unwrap();
    assert_eq!(&pdb1a8o[62..66], b"1A8O");
}

lib.rs:

The protein-get crate provides simple functions to fetch protein structure data files in .pdb, .cif and .bcif formats from RSCB.

Dependencies

~3–7MB
~164K SLoC