Danko-Lab/dREG — pull request #1 by corcra (2014-11-25 16:49:44+00:00)
Title: adding file for generic subsampling of bed files

Takes an optionally gzipped bed file and a list of desired subsampled output sizes, either in millions of lines or fractions of original (detects which option under the assumption that you will not ask solely for fractional millions), runs through bed file (technically twice - initially to get its size) and creates them all. Outputs are gzipped.