Thomas hace 2 años
padre
commit
f1784f8787
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/lib.rs

+ 4 - 0
src/lib.rs

@@ -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>>> {