diff --git a/src/data/cdot/json.rs b/src/data/cdot/json.rs index 663a80c..fbfb1c1 100644 --- a/src/data/cdot/json.rs +++ b/src/data/cdot/json.rs @@ -398,6 +398,8 @@ pub mod models { RRna, #[serde(rename = "rRNA_pseudogene")] RnaPseudogene, + #[serde(rename = "selenoprotein")] + Selenoprotein, #[serde(rename = "sense_intronic")] SenseIntronic, #[serde(rename = "sense_overlapping")] @@ -990,6 +992,10 @@ impl TxProvider { .unwrap_or_default() .contains(needle) }); + let is_selenoprotein = is_selenoprotein + || tx.biotype.as_ref().map_or(false, |bt| { + bt.contains(&crate::data::cdot::json::models::BioType::Selenoprotein) + }); let hgnc = tx .gene_name