|
@@ -429,11 +429,11 @@ pub fn records_at_base(
|
|
|
let record = alignment.record();
|
|
let record = alignment.record();
|
|
|
if record.seq_len() > 0 {
|
|
if record.seq_len() > 0 {
|
|
|
if let Some(b) = hts_base_at(&record, start as u32, with_next_ins)? {
|
|
if let Some(b) = hts_base_at(&record, start as u32, with_next_ins)? {
|
|
|
- bases.push((record, b));
|
|
|
|
|
|
|
+ bases.push((record.clone(), b));
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
if alignment.is_del() {
|
|
if alignment.is_del() {
|
|
|
- bases.push((record, b'D'));
|
|
|
|
|
|
|
+ bases.push((record.clone(), b'D'));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|