The present thesis includes four studies with a common objective: determining whether pathogens (virus, bacteria, parasites.) have exerted selective pressures on the genome of their hosts (for example, humans).Detecting signatures of positive selection is a useful tool to identify functionally relevant genomic regions since selection locally shapes the functional variation. Based on this premise, we have studied the possible signatures of selection in genes related to host-pathogen interactions. Specifically, we have analyzed those genes encoding: a) components of the innate immunity response; and ii) glycosylation enzymes most of them involved in four major glycan biosynthesis pathways, in different human populations.The main conclusion obtained from these studies is that both studied gene categories show clear signatures of selection. Moreover, we have determined that according to their biological context certain genes are more prone to the action of selection.