Randomly reduce size of reads but preserving the distribution
1
0
Entering edit mode
19 months ago
mhasa006 ▴ 70

I have a set of reads that follows this distribution

Read length 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?

sequencing biostatistics • 614 views
ADD COMMENT
2
Entering edit mode
19 months ago

reduce the size of each read by x%

Hard clip by read_length * x% ? What's the purpose?

I can guarantee the distribution will be preserved

No matter how you trim, 5' or 3', or both ends, the length distribution would remain but shift to the left.

ADD COMMENT

Login before adding your answer.

Traffic: 2664 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6