1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! # genebears
//!
//! A lightweight Rust client for the [GeneBe](https://genebe.net/) genetic
//! variant annotation API.
//!
//! ## Quick start
//!
//! ```rust, no_run
//! use genebears::{GeneBears, ClientConfig, Variant, Genome, AnnotateOptions};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), genebears::GeneBearError> {
//! let client = GeneBears::new(ClientConfig::default())?;
//!
//! let variants = vec![
//! Variant::new("22", 28_695_868, "AG", "A"),
//! Variant::new("6", 160_585_140, "T", "G"),
//! ];
//!
//! let results = client
//! .annotate_variants(&variants, Genome::Hg38, AnnotateOptions::default())
//! .await?;
//!
//! for v in &results {
//! println!(
//! "gene={:?} revel={:?} alphamissense={:?} acmg={:?}",
//! v.gene_symbol, v.revel_score, v.alphamissense_score, v.acmg_classification,
//! );
//! }
//! Ok(())
//! }
//! ```
pub use ;
pub use GeneBearError;
pub use ;