The present invention relates to a method of predicting resistance to a viral infection in a subject, the method comprising determining in the subject the variant present at one or more amino acid position in a cadherin protein, and/or the alleles present at one or more DNA polymorphism in the gene for cadherin, and predicting whether or not the subject is resistant to viral infection based on the determination of the variant and/or the alleles.