annonars 0.2.2

Rust template repository
1
2
3
4
5
6
7
8
9
10
11
12
//! Protocolbuffers for common gnomAD VEP data structures.

include!(concat!(
    env!("OUT_DIR"),
    "/annonars.gnomad.v1.vep_common.rs"
));

impl From<(String, f32)> for Prediction {
    fn from((prediction, score): (String, f32)) -> Self {
        Self { prediction, score }
    }
}