#! /bin/bash -eu
# Last edited on 2026-01-29 23:50:39 by stolfi

# USAGE: "{CMD} < {WOC_FILE} > {NWO_FILE}
# The input file {WOC_FILE} must have data lines
# with format "{LOC} {PLEN} {WPOS}" where {LOC} is "<{anything}>" 
# and {PLEN} and {WPOS} are fractions near 1.  Writes to {NWO_FILE}
# a file with the histogram of {WPOS}.

cat \
  | ./make_histogram.gawk \
      -v col=3 \
      -v sync=-0.05 -v step=0.1 -v bround=0 \
      -v verbose=1

