bool doLengthsSupportOneAnother (const PAIR &a, const PAIR &b, int lengthDev) { // cout << getFragSize(a) << "\t" << getFragSize(b) << "\t" // << a.diffFromExpectedSize << "\t" << b.diffFromExpectedSize << "\t" << lengthDev << endl; return abs( getFragSize(a.core) - getFragSize(b.core) ) <= lengthDev; }
bool byFragmentSize(const PAIR &a, const PAIR &b) { return (getFragSize(a) < getFragSize(b)); }