DNA pattern matching for Dr. T