pub fn split_packed(
ebuf: &[u64],
slen: usize,
idx: usize,
lbuf: &mut Vec<u64>,
rbuf: &mut Vec<u64>,
) -> Result<(), NucleotideError>Expand description
Splits a packed nucleotide sequence into two subsequences at the given index.
§Arguments
ebuf- The encoded sequence bufferslen- The total length of the sequence in basesidx- The position to split at (included in right sequence)lbuf- Buffer to store the left subsequencerbuf- Buffer to store the right subsequence
§Errors
Returns an error if the index is out of bounds