Introduction

Common bean (Phaseolus vulgaris L.) is one of the most important grain legumes in the human diet and a major source of protein for many people in developing countries1. Common bean has two geographical and genetic pools, one of which is the Mesoamerican gene-pool domesticated in Mexico and another is the Andean gene-pool domesticated in Central and South America2,3. Common bean and soybean (Glycine max (L.) Merr.) belong to the family Fabaceae, and encounter many of the same pathogens including soybean cyst nematode (SCN), Heterodera glycines (HG) Ichinohe4. For soybean, SCN is the most destructive pathogen with significant production losses worldwide5, and losses as high as 15% based on studies in the US6. SCN widely occurs in most soybean producing states in the US7. The top 10-producing states for soybean include North Dakota, Minnesota, and Michigan, and these states when combined make up 60% of the common bean production (http://www.usdrybeans.com/resources/production/production-facts/). In addition, much of the area planted to common bean overlaps with soybean production areas and they are planted in late spring or early summer, which coincides with the period when SCN eggs hatch to become infectious juveniles.

Successful infection of SCN on common beans has been reported in both greenhouse and field studies. One of the first reports showed that the kidney bean variety “Clark” was a host for SCN HG type 0 as this variety supported juvenile growth, enlargement, molting, and female reproduction similar to a susceptible soybean cultivar “Amsoy 71”8. Another greenhouse study evaluated 23 common bean accessions for resistance to two SCN populations and found one snap bean accession resistant while all the other accessions supported equal or greater cyst production compared to a susceptible soybean cultivar “Williams 79”9. In general, kidney beans were most susceptible to SCN followed by navy beans and pinto beans, and selected accessions of black beans were considered to be moderately resistant to SCN10. In addition, reduction in yields up to 50% has been reported in kidney beans, navy beans, and pinto beans in fields with high populations of SCN HG type 011. The reduction of plant growth and seed yield in different bean classes to SCN infection under field conditions indicates a potential threat to the common bean industry and the need for SCN resistance in common bean.

The genetic architecture of SCN resistance in soybean has been intensively studied and reviewed12. Two resistance loci in soybean, Rhg1 on chromosome (Chr) 18 and Rhg4 on Chr 8, were repeatedly detected in bi-parental linkage mapping13,14,15. The Rhg1 locus has been shown to have broad spectrum SCN resistance to all HG types to several resistance sources including Peking, PI437654 and PI8878816,17. Rhg4 was confirmed as being necessary for full resistance to some populations of SCN (races 3 and 14) for Peking-derived resistance lines but not for PI88788. A number of minor resistance genes were also reported, which mediate quantitative resistance to different SCN HG types. For example, linkage mapping was used to identify additional loci for SCN resistance resulting in a novel locus on the opposite end of Rhg1 on Chr 1813. In addition, a genome-wide association study (GWAS) using single nucleotide polymorphisms (SNPs) reported six previously found quantitative trait loci (QTL), including the Rhg1 and Rhg4, along with eight novel QTL18. Another GWAS detected 19 SNPs significantly associated with SCN HG types 0 and 1.2.3.5.7 in a collection of 440 soybean landraces and elite cultivars, with the known SCN resistant loci, Rhg1 and Rhg4, identified along with three novel loci19. While some mapping studies discovered leucine-rich repeat receptor-like kinase (LRR-RLK) genes that were associated with SCN resistance19,20,21, studies that functionally characterize SCN resistance genes to SCN at the Rhg1 locus pointed out the resistance was conditioned by copy number variation of three genes including a gene encoding an α-SNAP protein12. The molecular genetics of SCN resistance in soybean has been a major research focus over the years whereas there is less known about SCN resistance in common bean.

SCN resistance in common bean may rely on mechanisms similar to those reported for soybean, but genetic mapping for SCN resistance in common bean by either bi-parental linkage mapping or GWAS is lacking. With the development of GWAS methodologies to access the associations between genotypic and phenotypic variations in a large population, the method has been applied to a number of traits in common bean. For example, GWAS was conducted to analyze bacterial blight resistance in common bean using 469 breeding lines and 132 SNPs; the study identified 12 significant SNPs that co-localized with previously reported QTL as well as two novel QTL22. In another study, the genetic architecture of five agronomic traits was investigated using 233 amplified fragment length polymorphisms (AFLPs), 80 simple sequence repeats (SSRs), and 105 SNPs in 66 common bean genotypes23. Nonetheless, there has been no genetic mapping studies conducted to understand SCN resistance in common bean.

The use of GWAS to detect genetic variants accounting for large phenotypic variation and to highlight a QTL interval using linkage disequilibrium (LD) among neighboring SNPs provides a powerful genetic tool for associating phenotypes and genotypes. However, GWAS may result in numerous significant SNPs scattered across the genome when the phenotypic variation is explained by multiple genetic variants with small effects. Genomic prediction (GP) compensates for this disadvantage of GWAS, and GP does not depend on the detection of significant QTL. Instead, GP accounts for all markers effects across the whole genome simultaneously in a prediction model and genomic estimated breeding values (GEBVs) based on the sum of all effects, which may result in a better prediction of phenotype than conventional single marker-assisted selection24,25,26. However, multiple statistical concerns occur when the number of predictor variables (number of SNPs) is much larger than the number of observations (number of plants phenotyped). First, there is no absolute solution to the coefficients when too many variables are included in a model. Second is collinearity since adjacent SNPs are usually correlated, resulting in over-fitting and instability of the prediction model27,28. To address these problems, numerous prediction methods, including parametric and nonparametric methods, have been proposed. The most popular parametric methods include penalized regression approach (ridge regression)13,29,30,31, least absolute shrinkage and selection operator (LASSO)32, elastic net, and Bayesian-based methods (Bayes A, Bayes B, Bayes Ridge Regression, and Bayesian LASSO)33. Nonparametric methods include random forest34 and Reproducing Kernel Hilbert Spaces regression35. Among all those models, ridge regression was reported to offer good performance in multivariate prediction problems13,29,30,31.

In our study, the core collection of common bean accessions was genotyped using genotyping-by-sequencing (GBS) and phenotyped against SCN HG types 2.5.7 and 1.2.3.5.6.7, the most common SCN HG types in the Midwest and northern soybean producing areas in the US, with the goal to understand the genetic architecture of SCN resistance and identify genetic loci that confer resistance to different HG types in common bean. In addition to SCN resistance, previously identified QTL for two agronomic traits (seed coat color and seed weight) were included to validate the reliability of our GWAS and GPs. GP was applied to estimate the GEBVs of common bean accessions for resistance to two SCN HG types, and prediction accuracies were evaluated using cross-validation. Our study represents the first GWAS and GP for SCN resistance in common bean.

Results

Phenotypic analyses for SCN resistance, seed coat color, and seed weight

In the phenotyping experiments for SCN resistance using the female index (FI), each accession was replicated multiple times in a random complete block design (RCBD). In order to obtain the most representative phenotypic value for each accession, a mixed model was fit to estimate a best linear unbiased prediction (BLUP), which is more accurate than the average because BLUP accounts for blocking effects across the experiments. Greenhouse evaluations of the common bean core collection for resistance to SCN HG type 2.5.7 resulted in a normal distribution with a range of BLUPs from 8 to 395 (FI from 0.5 to 198.9) (Fig. 1a). Only 16 accessions showed high resistance to SCN HG type 2.5.7 and 54 accessions showed moderate resistance. On the other hand, 160 accessions had high resistance and 164 accessions had moderate resistance to SCN HG type 1.2.3.5.6.7. The FI to SCN HG type 1.2.3.5.6.7 was left skewed and Box–Cox transformation was applied to normalize the phenotype data (Fig. 1b). The complete list of common bean accessions used and their responses to the infection of two SCN HG types are summarized in Supplementary Table 1. There were 19 accessions with white seed coats, 50 accessions with red seed coats, and 90 accessions with black seed coats. The seed weight of the 363 common bean accessions (weight of randomly selected 100 seeds) ranged from 2 to 91.6 g, with approximately a normal distribution (Fig. 1c).

Fig. 1: Phenotypic analyses for soybean cyst nematode (SCN) resistance, and seed weight in a panel of 363 common bean accessions.
figure 1

Frequency distribution of a HG type 2.5.7 and b 1.2.3.5.6.7 cyst counts best linear unbiased predictions (BLUPs). Cyst counts of the HG 1.2.3.5.6.7 were transformed to the 0.26th power before calculating BLUPs. c Frequency distribution of seed weight

SNP calling, linkage disequilibrium (LD) decay analysis, and population structure assessment

Illumina sequencing yielded 264,276,230 raw reads, and after quality control, a total of 84,416 SNPs were obtained from SNP calling using P. vulgaris G19833 as the reference genome and missing SNPs were imputed using Beagle v4.136. These SNPs were distributed over 11 chromosomes with an average of 7674 SNPs per chromosome (Table 1). LD decay was estimated for each chromosome and ranged from 50 to 70 kb at a cutoff of the squared correlation coefficient (r2 = 0.2) with about 10 SNPs per LD window. The high extent of LD decay in common bean was expected due to self-pollination, and is comparable to that in soybean, which was reported to be about 80 kb in wild soybeans and 130 kb in cultivated soybeans37.

Table 1 Linkage disequilibrium (LD) decay estimated for different common bean chromosomes

Population structure

The population structure of the 363 common bean accessions was estimated by PCA using the 84,416 SNPs. Distinct subpopulations matching geographic origins were detected (Fig. 2a). The Mexico group and the Central American group had some overlap. However, the South American group clustered distinct from the other two groups. Kinship analysis with genetic relatedness among the 363 common bean accessions identified two clades, which is also consistent with the prior knowledge of two genetic pools (Fig. 2b). On the other hand, accessions with different SCN resistance levels did not cluster into these distinct subgroups, indicating a mild confounding concern between subpopulations based on geographic origins and SCN resistance (Fig. 2c, d). Bayesian information criterion (BIC)-based model selection also suggested that no principal component was required to control for population structure (Supplementary Table 2). Therefore, a unified mixed linear model (MLM) with a kinship matrix but no principal component was used for GWAS.

Fig. 2: Principal component analysis and kinship matrix of the 363 common bean accessions genotyped with 84,416 single nucleotide polymorphisms.
figure 2

a Genetic variation explained by the first three principal components. Different colors represent different origins (CA: Central America; MX: Mexico; SA: Southern America), and the principal components indicate distinct population structure. b Kinship matrix for the 363 common bean accessions. c Different colors represent different levels of resistance (MR: moderately resistant; MS: moderately susceptible; R: resistant; S: susceptible) to soybean cyst nematode (SCN) HG type 2.5.7 and d HG type 1.2.3.5.6.7. The results showed minor confounding effect between population structure and SCN resistance

GWAS for seed coat color and seed weight

The GWAS for coat color and seed weight were compared to the results in the literature in order to validate our methodology. For seed coat color, the known locus V was mapped on linkage group 6 by several independent studies38,39,40. A random amplification of polymorphic DNA (RAPD) marker OD12800 on Chr 6 (marker sequence locates on 10,480,539–10,480,584 bp) linked in coupling phase with the V locus was reported39, and this RAPD marker was in the LD region with a highly significant SNP detected in our study around 9.6 Mb on Chr 6 (Table 2; Fig. 3a, b). For seed weight, GWAS identified 14 SNPs distributed over six regions on Chrs 2, 3, 7, and 11 with a FDR lower than 0.05 (Table 2; Fig. 3c, d). Previous linkage mapping studies for seed weight discovered QTL on Chrs 2, 3, 6, 7, 8, and 11 using breeding populations41,42,43. The three significant SNPs on Chr 2 (43,368,553, 43,379,956, and 43,400,258 bp) detected in our study were in LD with the candidate gene Phvul.002G282200 which was reported to be on Chr 2 between 44,603,605 and 44,608,648 bp44. The significant SNP on Chr 3 at 5,204,703 bp in our study was in LD with the candidate gene Phvul.003G041200 which was on Chr 3 between 4,582,905 and 4,584,971 bp44. The discovery of SNPs that match to previously described QTL for seed coat color and seed weight indicated the correctness of our GWAS results.

Table 2 Single nucleotide polymorphisms (SNPs) significantly associated with soybean cyst nematode resistance (HG type 2.5.7 and HG type 1.2.3.5.6.7.), seed coat color, and seed weight
Fig. 3: Genome-wide association study for seed coat color and seed weight.
figure 3

a Quantile–quantile (QQ) plot for seed coat color. b QQ plot for seed weight. c Manhattan plot for seed coat color. d Manhattan plot for seed weight. The grey horizontal line in both Manhattan plots represents the Bonferroni correction threshold, and the blue line indicates a single nucleotide polymorphism below a 5% false discovery rate adjusted P value

GWAS for SCN resistance

For SCN HG type 2.5.7, a genomic region on Chr 1 contained four SNPs with a false discovery rate (FDR) below 0.05. Using a less stringent FDR cutoff at 0.1, SNPs located at two other regions (Chr 1 and Chr 9) were found (Table 2; Fig. 4a, b). The significant SNPs on Chr 1 explained 5.9–6.1% of phenotypic variation, and additional 5.9% and 5.3% of phenotypic variation were explained by the two SNPs on another location of Chr 1 and on Chr 9, respectively (Table 2). In a comparative genomic study, three random genomic clones (Bng122, Bng126, and Bng225) located on the Chr 1 of common bean were tested as RFLP probes in soybean and these probes were mapped to the region near the Rhg1 locus in soybean45. Another comparative mapping indicated linkage group D1 (Chr 1) of common bean46 were collinear with the top of linkage group G (Chr 18) of soybean40. These results indicated the genomic region on Chr 1 of common bean is a syntenic region of Chr 18 of soybean, where orthologous SCN resistance genes to soybean Rhg1 may be found.

Fig. 4: Genome-wide association study (GWAS) for soybean cyst nematode (SCN) resistance to HG type 2.5.7.
figure 4

a Quantile–quantile (QQ) plot for SCN resistance to HG type 2.5.7. b Manhattan plot identified multiple significant SNPs on Chr 1 and Chr 9. The blue line indicates an SNP below a 5% false discovery rate (FDR)-adjusted P value. c Synteny analysis between soybean (Glycine max) Chr 8 (which harbors Rhg4) and Chr 18 (harbors Rhg1) and common bean (Phaseolus vulgaris) Chr 1 and Chr 9. The red line indicates the soybean Rhg1 locus at the beginning of the physical map of Chr 18 shares synteny to the bottom of common bean Chr 1. d Pairwise linkage disequilibrium (LD) displays of 15 single nucleotide polymorphisms (SNPs) located in the region surrounding SNPs on chromosome 1 detected by GWAS. The plot showed that the SNPs are in LD with the putative Rhg1 gene

To further confirm our results, the sequences of the three soybean SCN resistance genes in the Rhg1 locus were compared to the common bean genome and we found the beginning of soybean Chr 18 (the region of the Rhg1 locus), was syntenic to the end of common bean Chr 1 using LegumeIP for syntenic analysis (Fig. 4c)47. Additionally, the most significant BLAST hits for the three genes in soybean Rhg1 locus were found in a region from 50,629,261 to 50,655,828 bp on Chr 1 of common bean (Table 3). The Rhg1 locus in soybean comprised these three genes: Glyma18g02580 (amino acid transporter), Glyma18g02590 (α-SNAP protein), and Glyma18g02610 (wound-inducible protein 12)14. The hit for Glyma18g02580 was a hypothetical protein PHAVU_001G248000g on Chr 1 between 50,653,407 and 50,655,828 bp. The hit for Glyma18g02590 was the hypothetical protein PHAVU_001G247900g on Chr 1 between 50,646,068 and 50,650,097 bp. The hit for Glyma18g02610 was the hypothetical protein PHAVU_001G247700g on Chr 1 between 50,629,261 and 50,630,123 bp. Interestingly, the position of the three genes in the common bean genome were inverted from those in the soybean genome. Moreover, the SNPs detected by GWAS was in high LD with the SNPs around the syntenic Rhg1 region (Fig. 4d).

Table 3 Synteny between the soybean cyst nematode (SCN) resistance gene Rhg1 on soybean chromosome 18 and the SCN resistant region on common bean chromosome 1 detected by genome-wide association study

For SCN HG type 1.2.3.5.6.7, only one SNP on Chr 7 was detected below FDR at 0.1 (Fig. 5a, b). This SNP explained 5.9% of the phenotypic variation. The predicted amino acid sequences of genes at the Rhg1 and Rhg4 loci in soybean did not show significant similarity with the products of predicted genes proximal to the mapped SNP Chr 7 of common bean. This SNP might be a novel locus, but further studies are needed to rule out the possibility of a false-positive detection.

Fig. 5: Genome-wide association study for soybean cyst nematode (SCN) resistance to HG type 1.2.3.5.6.7.
figure 5

a Quantile–quantile plot for SCN resistance to HG type 1.2.3.5.6.7. b Manhattan plot identified one significant single nucleotide polymorphism (SNP) on Chr 7. The black line indicates an SNP below a 10% false discovery rate adjusted P value

GP for SCN resistance, seed coat color, and seed weight

Besides identifying SNPs associated with SCN resistance, seed coat color, and seed weight using GWAS, the effect of all the SNP markers were evaluated by GP models to predict the two quantitative traits: SCN resistance and seed weight. The average prediction accuracy of the models estimated by cross-validation was 0.52, 0.41, and 0.82 for SCN HG type 2.5.7, HG type 1.2.3.5.6.7, and seed weight (Supplemental Tables 35, respectively). The prediction accuracies were not significantly affected by the number of SNP markers. For resistance to HG type 2.5.7, a slight decrease in prediction accuracy was observed when number of markers were reduced to 5000 and 1000 (Fig. 6a). For resistance to HG type 1.2.3.5.6.7, only the prediction accuracy with 1000 SNPs showed decreased prediction accuracy (Fig. 6b), which indicated possible redundancy of the markers due to high LD. While the prediction accuracy for seed weight was not affected by number of SNPs (Fig. 6c), indicating seed weight is a quantitative trait controlled by many small effect variances.

Fig. 6: Effect of the marker density on the prediction accuracy of soybean cyst nematode.
figure 6

a HG type 2.5.7., b HG 1.2.3.5.6.7., and c seed weight in common bean. For resistance to HG type 2.5.7., prediction accuracy slightly decreased when the number of markers was reduced to 5000 and 1000. For resistance to HG type 1.2.3.5.6.7., only the prediction accuracy with 1000 single nucleotide polymorphisms showed decreased prediction accuracy. Prediction accuracy for seed weight was not affected by number of single SNPs

Discussion

The identification of SNPs associated with SCN resistance can not only help in the understanding of genetic architecture in common bean, but also facilitates the genetic improvement of cultivars and the identification of resistance. In this study, 363 common bean accessions in the USDA core collection were evaluated for their responses to two SCN HG types as well as two agronomic traits, seed coat color and seed weight. We report SNPs associated with SCN resistance to two SCN HG types using GWAS. The significant SNPs identified for resistance to HG type 2.5.7 were in LD with a cluster of genes syntenic to the Rhg1 locus in soybean45,48. The genomic region in common bean was conserved with the genomic region near the SCN resistance locus Rhg1, and the homologous genes in common bean were inversely positioned compared to the three genes at the Rhg1 locus of soybean. It was proposed that soybean underwent a major genome duplication about 11 million years ago after it diverged from a common bean ancestor49. Comparative genomics studies reported 55 syntenic blocks between the two species2. It was shown that the linkage group D1 (Chr 1) of common bean was collinear with the top of linkage group G (Chr 18) of soybean45, which is consistent with our synteny analysis. Our finding suggested a gene cluster in Chr 1 of common bean that governs SCN resistance is syntenic to the Rhg1 locus in soybean. The study did not identify syntenic regions to the Rhg4 locus in common bean, and there are several possible reasons for this. Population size affects the power of GWAS especially when the effect or contribution of orthologous or syntenic Rhg4 gene is smaller than Rhg1. Alternatively, if the minor allele frequency of orthologous or syntenic Rhg4 gene is small, a bigger population would be needed. It is also possible that the Rhg4 gene exists in the common legume ancestor but lost in common bean during evolution or in the process of domestication. Future studies may focus on searching additional SCN resistance sources in common bean including for those orthologous to Rhg4.

The prediction accuracy of GP for seed weight was as high as 82%. The estimation of the prediction accuracies for resistance to SCN HG type 2.5.7 and HG type 1.2.3.5.6.7 were 52% and 41%, respectively, which was lower than the prediction accuracies for SCN resistance in soybean that ranged from 59 to 67%13. The prediction accuracies of the two agronomic traits confirmed that traits with high heritability would have higher prediction accuracy50. Our study provided GP on disease resistance and agronomic traits in common bean and shows how GP would a useful tool for common bean breeding programs especially for traits with high heritability.

We acquired high-density and high-quality SNPs for the 363 common bean accessions using GBS, and identified SNPs associated with resistance to two SCN HG types. Our results detected the SCN resistance for two HG types located on different locations of the Chr 1, 7, and 9. The results of our study provided the first insight into the genetic architecture of SCN resistance in common bean, and we are also the first to demonstrate the merit of applying GP to predict SCN resistance and seed weight for 363 common bean accessions. The use of GP for other quantitative traits should be useful in assisting selection and accelerating breeding in common bean.

Materials and methods

Plant materials and DNA preparation

A total of 363 common bean accessions representing the Mesoamerican and the Andean gene pools were included in this study. The plant panel contained a total of 171 accessions of the Central/South American core collection and 191 accessions of the Mexico core collection51,52 that were obtained from the USDA/ARS Western Regional Plant Introduction Station (Pullman, WA, USA). The accession G19833 from which the common bean reference genome sequence was determined44 was obtained from the International Center for Tropical Agriculture, Cali, Colombia.

Two seeds of each common bean accession were germinated and grown in dark to reduce chlorophyll production. Emerging trifoliate leaves were collected 5 days after planting and immediately lyophilized. Genomic DNA was extracted from freeze-dried leaf tissue using a standard CTAB protocol53. Genomic DNA was quantified in 96-well plates using PicoGreen (Invitrogen, Carlsbad, CA) and was normalized to 20 ng/μl. A total of 500 ng DNA of each accession in a 96-well plate was digested by HindIII and BfaI restriction enzymes (New England Biolabs, Ipswich, MA), and 0.1 μM A1 adapter and 10 μM A2 adapters54 were used for ligation in each well. Genomic libraries were pooled and cleaned up using a QIAquick PCR purification kit (Qiagen, Valencia, CA), followed by an amplification step for 12 cycles using Phusion DNA polymerase (New England Biolabs). Average fragment size was estimated on a Bioanalyzer 2100 (Agilent, Santa Clara, CA) using a DNA1000 chip followed by a second column-cleaning.

Genotyping-by-sequencing (GBS)

Pooled libraries were adjusted to 10 nmol and sequenced with 100-bp single-end reads in one lane of HiSeq2500 (Illumina, San Diego, CA). SNP calling was performed using Tassel5 GBS v2 variant calling pipeline IGST-GBS55,56. All reads were trimmed to 64 nt at the 3′ end to make sure each base has Phred score greater than 30, and the trimmed sequence were aligned to the non-masked reference genome of P. vulgaris G19833 Pvulgaris v1.0 obtained from Phytozome v11.044,55 using bowtie2 with the very-sensitive mode, which is computationally slower but more sensitive and more accurate than the default sensitive mode57. Missing SNPs were impute using BEAGLE version 4.158. Insertion–deletion polymorphisms (Indels), SNPs with minor allele frequency (MAF) less than 0.05, and SNPs with heterozygosity greater than 0.05 were excluded from GWAS and GP analyses.

Phenotyping for SCN resistance

The 363 common bean accessions along with a soybean cultivar “Williams 82” were planted in polyvinyl chloride tubes (3 cm diameter × 15 cm deep) and 18–19 tubes were randomly inserted in a plastic container (20 cm diameter × 25 cm deep) filled with pasteurized torpedo sand. Tubes without germination were replaced with extra seedlings from containers. Each tube is an experiment unit, and each plant at 1-week-old stage was inoculated with 1 ml suspension containing approximately 2000 eggs of one SCN HG type (HG 2.5.7 or HG 1.2.3.5.6.7). All plants were maintained in 28 °C water baths with 16-h light in the greenhouse. Thirty-five days after inoculation, roots were washed, and cysts were collected from each plant. Cysts were counted under a dissecting microscope (Olympus SZX16), and the number of cysts on each plant was recorded. FI was calculated by dividing the mean number of females that developed on a tested accession by the mean number of females on the susceptible check “Williams 82”, multiplied by 100. High SCN resistance is determined at FI below 10, and moderate SCN is determined at FI between 10 and 3059,60. The Box–Cox method was performed to transform non-normally distributed traits such as SCN HG type 1.2.3.5.6.7 resistance, and then a mixed model was fit to estimate the BLUP for each trait.

Phenotyping for two agronomic traits

There were two replications in this experiment, and replication was achieved over time. Because of the complexity of seed coat color in common bean44, only black, red, and white seeds were included in GWAS, with black seeds assigned as 2, red seeds assigned as 1, and white seeds assigned as 0. Seed weight data were obtained from the Germplasm Resources Information Network (GRIN) (www.ars-grin.gov), and the seed weight of each accession was represented by the weight of 100 randomly selected seeds of that accession.

Genome-wide association study and genomic prediction

GWAS was performed using the R package “Genomic association and prediction integrated tool version 2 (GAPIT2)”61. Principal component analysis (PCA) was assessed to control potential population structure, and a kinship matrix was calculated to determine relatedness among individuals62. A unified MLM was used that included both kinship and PCA. The BIC was calculated in GAPIT to determine the number of principal components that should be included in the model. All SNPs with FDR below 0.1 were reported. The R package “Ridge-regression best linear unbiased prediction (rrBLUP)” was applied to estimate SNP effects by solving the MLM through the REML method (R Development Core Team 2005). The GP model was trained using ten-fold cross-validation on a training dataset, and the performance of the GP model was estimated by validating the trained prediction model on a testing dataset. Ten percent of the 363 accessions were randomly selected as the testing dataset, and they were set aside and not used for model training. The rest of the accessions were split into ten similar-sized subsets for ten-fold cross-validation. In each model training process, the SNP effects were estimated for predicting the GEBVs of accessions in the validation dataset. The ten-fold cross-validation process was then repeated for 100 iterations, and the predicted GEBVs were averaged over the 100 iterations. Prediction accuracy was calculated as the correlation between GEBVs and true phenotypic values. The effect of SNP number on prediction accuracy was estimated by including different numbers of SNPs (1000, 5000, 20,000, 50,000, and 84,416 SNPs) for GP, and a similar number of SNPs were randomly selected from each Chr.