Thomas 2 năm trước cách đây
mục cha
commit
f1784f8787
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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>>> {