Command: downsample¶
Downsample a qBED file in proportion to the value column
usage: blockify downsample [-h] -i INPUT -n NUMBER [-s SEED] [--naive]
[-o OUTPUT]
Named Arguments¶
- -i, --input
Input file
- -n, --number
Number of entries to downsample to (cannot exceed length of input file)
- -s, --seed
Random seed
- --naive
Sample every row with equal likelihood
- -o, --output
Output file (BED/qBED format); default: stdout