Thomas 2 年之前
父節點
當前提交
c8b723a4d1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/lib.rs

+ 2 - 2
src/lib.rs

@@ -567,7 +567,7 @@ impl NeoContig {
             l.append(&mut match_pipes);
             
             let mut ll = format!("{} - {}:{}-{}{}", 
-                " ".repeat(contig_len).to_string(), 
+                " ".repeat(contig_len ).to_string(), 
                 self.alignments[1].ref_name, 
                 self.alignments[1].ref_range.start, 
                 self.alignments[1].ref_range.end,
@@ -837,7 +837,7 @@ fn get_overlaps (a: &Vec<u8>, b: &Vec<u8>, min_len: usize, max_consecutive: usiz
     res
 }
 
-fn fuse_overlaps (a: &Vec<u8>, b: &Vec<u8>, a_range: &Range<usize>, b_range: &Range<usize>) -> Vec<u8> {
+pub fn fuse_overlaps (a: &Vec<u8>, b: &Vec<u8>, a_range: &Range<usize>, b_range: &Range<usize>) -> Vec<u8> {
     let mut res: Vec<u8> = Vec::new();
     if a_range.start == 0 {
         res = [b.clone(), a[a_range.end..a.len()].to_vec() ].concat().to_vec();