|
|
@@ -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();
|