fn add_robust_stripes(
  mut stripes: Vec<Stripe>,
  ref_start: i32,
  ref_end: i32,
  qry_len: i32,
  shift: (&i32, &i32),
  extra_bandwidth: i32,
) -> Vec<Stripe> {
  for i in ref_start..ref_end {
    stripes.push(Stripe::new(
      clamp(i + shift.0 - extra_bandwidth, 0, qry_len),
      clamp(i + shift.1 + extra_bandwidth + 1, 1, qry_len + 1),
    ));
  }
  stripes
}
/// add stripes of constant width between ref_start and ref_stop
/// incrementing the query position along with ref_pos
add stripes of constant width between ref_start and ref_stop
incrementing the query position along with ref_pos
add stripes of constant width between ref_start and ref_stop incrementing the query position along with ref_pos
fn add_robust_stripes(
  mut stripes: Vec<Stripe>,
  ref_start: i32,
  ref_end: i32,
  qry_len: i32,
  shift: (&i32, &i32),
  extra_bandwidth: i32,
) -> Vec<Stripe> {
  for i in ref_start..ref_end {
    stripes.push(Stripe::new(
      clamp(i + shift.0 - extra_bandwidth, 0, qry_len),
      clamp(i + shift.1 + extra_bandwidth + 1, 1, qry_len + 1),
    ));
  }
  stripes
}
fn add_robust_stripes ( mut stripes : Vec < Stripe > , ref_start : i32 , ref_end : i32 , qry_len : i32 , shift : ( & i32 , & i32 ) , extra_bandwidth : i32 , ) -> Vec < Stripe > { for i in ref_start .. ref_end { stripes . push ( Stripe :: new ( clamp ( i + shift . 0 - extra_bandwidth , 0 , qry_len ) , clamp ( i + shift . 1 + extra_bandwidth + 1 , 1 , qry_len + 1 ) , ) ) ; } stripes }
add stripes of constant width between ref_start and ref_stop
incrementing the query position along with ref_pos
add stripes of constant width between ref_start and ref_stop incrementing the query position along with ref_pos
stripes
Vec<Stripe>
ref_start
i32
ref_end
i32
qry_len
i32
shift
(&i32, &i32)
extra_bandwidth
i32
stripes
Vec<Stripe>
ref_start
i32
ref_end
i32
qry_len
i32
shift
(&i32, &i32)
extra_bandwidth
i32