Right now, something called the Dog Genome Project is trying to isolate the various genes for breed-specific behaviors, including the basenji's genetic reluctance to bark and the basset's genetic refusal to catch Frisbees.
They are hoping to find out if there are genes related to aggressiveness, and if they correspond to certain breeds commonly believed to be dangerous.