Function bed_utils::bed::split_by_len

source ·
pub fn split_by_len<B>(bed: &B, bin_size: u64) -> impl Iterator<Item = B>
where B: BEDLike + Clone,
Expand description

Split into consecutive records with the specified length. The length of the last record may be shorter.