|
|
@@ -44,6 +44,12 @@ impl BamSequence {
|
|
|
)
|
|
|
}
|
|
|
}
|
|
|
+impl Iterator for BamSequence {
|
|
|
+ type Item = BamNucleotid;
|
|
|
+ fn next(&mut self) -> Option<Self::Item> {
|
|
|
+ self.0.iter().next().copied()
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
/// Stores possible types of tags values.
|
|
|
#[derive(Debug, Clone)]
|