How genetics set the terrier apart from the golden retriever