Unravelling local adaptation in the genome of livestock