Pathogen variants are primarily detected through genomic sequencing, which involves analyzing the genetic material of the pathogen. This process helps identify specific mutations and track the emergence and spread of variants. Surveillance programs and collaborative efforts between laboratories globally play a key role in monitoring these changes.