protein
Structural Biology in Rust
Example
Let's read a protein structure from a PDB file and draw a Ramachandran plot!
use Writer; // the crate `csv` is required if you want to output csv
use ;
use fs;
This will produce a csv file containing two columns representing phi and psi angles. Then we can read the csv file in R and plot it (unfortunately I am not of any graphing libraries in Rust):
You can directly run the above example using cargo run
: