Filtering for trait head equal dna