|
|
@@ -332,11 +332,8 @@ pub fn format_seq(name: &str, sequence: &str, line_size: usize) -> String {
|
|
|
}
|
|
|
|
|
|
pub fn find_deletion_insertion_ranges(start_position: u32, cigar: Cigar, is_rc: bool) -> (Vec<(u32, u32)>, Vec<(u32, u32)>) {
|
|
|
-
|
|
|
let cigar = if is_rc { cigar.expand().chars().rev().collect::<Vec<char>>() } else { cigar.expand().chars().collect::<Vec<char>>() };
|
|
|
|
|
|
- println!("{}", start_position);
|
|
|
- println!("{:?}", cigar);
|
|
|
// :-)
|
|
|
let mut position = start_position;
|
|
|
let mut deletion_ranges = Vec::new();
|