Entering edit mode
8.2 years ago
Nifaste ▴ 20
I would like to randomly cleave sequences of length (Ln) until the average length of the resulting fragments is 50nt (+/- 2nt)
I started it with perl, but I've some problems with the average length constraint ...
I wanted to select a random position in [0 ... sequence length] and calculate the length of created segments. But I think it's not the right way to do.
I can't put constraint on fragment length. They could be 1 nt or 2nt ...