bio_apis 0.1.8

DNA and RNA sequence types and functions
Documentation

Biology APIs

Crate Docs

This library contains abstractions to interact with biology-related public HTTP APIs. It includes functionality related to the following:

It uses rigid data structures for requests and responses, and enums where possible to constrain API options.

Example functionality:

  • Download molecule data in various formats (e.g. CIF, SDF)
  • Open your default web browser to a molecule's overview page, 3D structure etc
  • Search APIs for molecule data, or filter and return a list of IDs.
  • Load all information on a protein from the RCSB data API

Example of various API functionality:

let data = bio_apis::rcsb::get_all_data("1ba3")?;

let data = amber_geostd::find_mols(&lig.common.ident).unwrap();

let cif_text = rcsb::load_cif(ident).unwrap();

let sdf_data = drugbank::load_sdf(ident).unwrap();
let sdf_data = pubchem::load_sdf(ident).unwrap();

pubchem::open_overview(ident);

WIP: Many features unsupported. Implementing as used by Daedelus and PlasCAD.

API support

See the API docs for functionality.