new version of post-processing script -- replaces proc_pwpv2.sh and
is called by main/run-pairwise-v2.py