diff --git a/gtars/src/uniwig/counting.rs b/gtars/src/uniwig/counting.rs index e97b74c..03bb1eb 100644 --- a/gtars/src/uniwig/counting.rs +++ b/gtars/src/uniwig/counting.rs @@ -1328,34 +1328,31 @@ pub fn variable_shifted_bam_to_bw( records: &mut Box adjusted_start_site{ + continue; + } else{ collected_end_sites.push(new_end_site); } - println!("here is all endsites: {:?}", collected_end_sites); + count += 1; + //println!("here is all endsites: {:?}", collected_end_sites); if adjusted_start_site == prev_coordinate_value { continue; } while coordinate_position < adjusted_start_site { - println!("coordinate_position< adjusted_start_site: {} < {} . here is current endsite: {} ", coordinate_position, adjusted_start_site, current_end_site); + //println!("coordinate_position< adjusted_start_site: {} < {} . here is current endsite: {} ", coordinate_position, adjusted_start_site, current_end_site); while current_end_site == coordinate_position { - println!("current_end_site == coordinate_position {} = {} adjusted start site: {}", current_end_site, coordinate_position, adjusted_start_site); + //println!("current_end_site == coordinate_position {} = {} adjusted start site: {}", current_end_site, coordinate_position, adjusted_start_site); count = count - 1; //prev_end_site = current_end_site; @@ -1368,7 +1365,7 @@ pub fn variable_shifted_bam_to_bw( records: &mut Box i32 { } } - println!("Here is read.reference_start {} and read.reference_end {}", start_site, end_site); - println!("here is shifted_pos -> {shifted_pos}"); + //println!("Here is read.reference_start {} and read.reference_end {}", start_site, end_site); + //println!("here is shifted_pos -> {shifted_pos}"); shifted_pos } \ No newline at end of file