@@ -334,6 +334,10 @@ impl Contig {
rust_htslib::bam::index::build(path, None, rust_htslib::bam::index::Type::Bai, 5)?;
Ok(())
}
+
+ pub fn hgvs(&self) -> Option<String> {
+ self.contig_ref.hgvs()
+ }
fn group_mappings(mappings: &mut Vec<Mapping>) -> Result<Vec<Vec<Mapping>>> {