brentp/bio-playground — Issue #4: bio-playground / reads-utils  / select-random-pairs.py
Author: mscook
Created: 2012-02-24 05:47:59+00:00
State: open

bio-playground / reads-utils / select-random-pairs.py

Current solution allows duplication of selected pairs

I believe: rand_records = sorted(random.sample(xrange(records), int(N)))

Would be an elegant solution.