Abstract
Selected genes are genomic regions shaped by selection pressure and are often associated with important agronomic traits. Here, we present a protocol for identifying selected genes using genome resequencing data, followed by haplotype analysis of these genes. We describe steps for sequencing data collection and preprocessing, detection of genomic regions under selection, and haplotype construction based on sequence variation. The selected genes and haplotypes identified using this protocol provide insights into the genetic basis of soybean adaptation and improvement. For complete details on the use and execution of this protocol, please refer to Zhu et al.(1).