Skip to main content

split

Function split 

Source
pub fn split(
    input: &Path,
    n: usize,
    prefix: &str,
    algorithm: Algorithm,
) -> Result<Vec<(String, u64, u64)>>
Expand description

Split input BED into n files with the given prefix.

Returns Vec<(filename, total_bases, record_count)> in file-index order, matching the stderr summary bedtools emits.