I have a set of reads that follows this distribution
These are single-ended reads. I want to randomly trim some of the reads but maintain the overall read length distribution. One thing I can do is to reduce the size of each read by x% (let's say). That way I can guarantee the distribution will be preserved. But is it possible to have a random % trim instead of fixed x%, and maintain similar distribution?