powered by
Simulates restriction enzyme digestion.
simulate_digestion(s, p)
A numeric vector of fragment lengths
A character string containing the DNA sequence
A character string containing the restriction site (regex)