$ cat > pm_least_diff.ref chr1 40 chr1 50 chr2 60 chr2 80 chr3 100