Heatmap displaying the divergence between Tibetan, CHB and YRI EPAS1 and EGLN1 haplotypes with respect to the Denisovan sequence. Haplotypes are reported in rows, while derived (i.e., black square) and ancestral (i.e., white square) alleles are displayed in columns. Haplotypes are ranked from top to bottom according to their number of pairwise differences with respect to the Denisovan sequence. The red square identifies the cluster of Tibetan haplotypes classified by LASSI as sweeping haplotypes (i.e., haplotypes with elevated or moderate frequencues which carry putative adaptive variants). (A) The first homogeneus cluster of haplotypes visible in upper part of the heatmap belongs to Tibetan individuals (i.e., light-blue cluster). These haplotypes are among the closest ones to the archaic Denisovan sequence indicated in black, thus confirming archaic introgression at EPAS1. As concerning the haplotypes inferred for the other population in the plot, only one YRI haplotype presents one pairwise difference less than the haplotypes in the first Tibetan cluster. (B) Except for two Tibetan haplotypes, which appeared the closest ones to the archaic reference, the cluster of haplotypes presenting the lowest number of differences with respect to the Denisovan sequence belongs to the Han Chinese population. The most frequent Tibetan haplotype did not present any variant shared with the archaic reference, counting 14 pairwise differences with respect to Denisovan genome and thus not supporting the archaic origin of these EGLN1 variants. Barplots showing the haplotype frequencies spectrum of the (C) EPAS1 and (D) EGLN1 windows suggestive of adaptation mediated by hard selective sweeps in Tibetans. In both the plots are reported on the x-axis the haplotypes detected in the considered windows, while on y-axes are indicated the frequencies of each haplotype. The black and dark-grey bars indicate the more frequent haplotypes (i.e., sweeping haplotypes inferred by LASSI), while the red star marks those sweeping haplotypes carrying Denisovan-like derived variants. For these windows, haplotype frequency spectra clearly reflect patterns expected under the hard selective sweep model in which a single haplotype carrying adaptive variants (i.e., sweeping haplotypes represented with the black bars) reaches elevated frequencies in the population. However, only for EPAS1 such haplotype effetively carries the Denisovan-like derived variant.