bio-forge 0.4.1

A pure Rust library and CLI for the automated repair, preparation, and topology construction of biological macromolecules.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Read-only access to residue templates.

use crate::db;

pub use crate::db::TemplateView;

/// Looks up a template by its canonical name (for example `"ALA"` or `"HOH"`).
pub fn get(name: &str) -> Option<TemplateView<'_>> {
    db::get_template(name)
}