Alignment statistic for identifying related protein sequences