mbhall88 / rasusa

Randomly subsample sequencing reads or alignments
https://doi.org/10.21105/joss.03941
MIT License
209 stars 17 forks source link

Randomly select reads until target length reached #3

Closed mbhall88 closed 5 years ago

mbhall88 commented 5 years ago

Take the read lengths vector and keep sampling elements from it until we have a total length equal to that calculated in #2