Biology APIs
This library contains abstractions to interact with the public biology databases that hav HTTP APIs. 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
- Load electron density data for a protein.
- Download a molecule based on its identifier.
Example of various API functionality:
let data = get_all_data?;
let data = find_mols.unwrap;
let cif_text = load_cif.unwrap;
let sdf_data = load_sdf.unwrap;
let sdf_data = load_sdf.unwrap;
open_overview;
WIP: Many features unsupported. Implementing as used by Daedelus and PlasCAD.
API support
- RCSB (Protein data bank)
- PubChem
- PDBe
- DrugBank
- NCBI BLAST
- LMSD
- Mol2, FRCMOD, and Lib data for Amber Geostd organic molecules
See the API docs for functionality.