The study is the first to pinpoint the genetic differences that make sheep different from other animals.
The findings could aid the development of DNA testing to speed-up selective breeding programmes, helping farmers to improve their stocks, researchers said.
The research identifies the genes that give sheep their fleece and uncovers features of their digestive system, which makes them so well-suited to a diet of low quality grass and other plants.
Researchers from the University of Edinburgh's Roslin Institute were part of a global team that has decoded the genome sequence - the entire genetic make-up - of domestic sheep for the first time.
Also Read
This team - the International Sheep Genomics Consortium - compared the sheep's genes with those of other animals - including humans, cattle, goats and pigs.
The analysis identifies several genes that are associated with wool production. It also reveals genes that underpin the evolution of the rumen - a specialised chamber of the stomach that breaks down plant material to make it ready for digestion.
The study was published in the journal Science.