rarefy performs rarefaction on collections of placements.

usage: rarefy [options] placefile


-o Specify the filename to write to.
--out-dir Specify the directory to write files to.
--prefix Specify a string to be prepended to filenames.
--seed Set the random seed, an integer > 0. Default is 1.
-n The number of pqueries to keep per placefile.
 Interpret (integer) weights on pqueries as counts and sample without replacement.


Rarefaction with replacement, which is necessary because we allow floating point multiplicities.