#!/bin/bash # Takes the two specified columns, and the specified number of methods, and # then extracts the two colums from each of the method files and outputs the # results to standard out. # This output can be used by "countrank" to build the quasi-correlation grids. COL1=$1 shift COL2=$1 shift RANKS=$1 shift ripcol $COL1 $* > /tmp/_rankem_rip1 ripcol $COL2 $* > /tmp/_rankem_rip2 paste /tmp/_rankem_rip1 /tmp/_rankem_rip2 > /tmp/_rankem_paste sed /^[^0-9]/d /tmp/_rankem_paste rm /tmp/_rankem_rip1 rm /tmp/_rankem_rip2 rm /tmp/_rankem_paste