Background {#Sec1}
==========

It is estimated that approximately 150 plant species are grown directly for human consumption or animal feed worldwide, and 30 of them contribute to 95% of the calories and protein in the human diet \[[@CR1]\]. Legumes, along with grasses, are the main source of human food \[[@CR2]\]. Among legumes with edible dry seeds (pulses), over 80 species are widely cultivated, including the common bean, *Phaseolus vulgaris* L. \[[@CR3]\]. Common bean is a very important crop for food security and sustainable agriculture. This species is considered the most important grain legume available for human consumption \[[@CR4]\], being cultivated in 126 countries with an annual planted area estimated to be 30.6 million hectares \[[@CR5]\] and representing 37% of all legumes consumed in the world. To ensure the preservation of the extensive genetic diversity of common bean, national and international gene banks were created. The International Common Bean Gene Bank at CIAT (International Center for Tropical Agriculture, Colombia) has more than 37,000 accessions, of which approximately 90% are cultivated *Phaseolus vulgaris* varieties \[[@CR6]\]. In Brazil, the gene bank at Embrapa Rice and Beans has \~17,345 accessions, of which approximately 3.5% (\~600 accessions) were selected to compose the core collection (acronym CONFE), which is made up of three strata: a) landraces from Brazil; b) cultivars/lines improved in Brazil; and c) introduced cultivars/lines, all of Andean and Mesoamerican origin. The seed samples are publicly available for research institutions in Brazil and abroad and are stored at Global Seeds Banking of Svalbard, located in Longyearbyen, Norway.

There is consensus regarding the predominant genetic structure of common bean in the Andean and Mesoamerican gene pools \[[@CR7], [@CR8]\], due to a divergence estimated to have occurred since 165,000 years ago \[[@CR9]\]. Genes related to agronomic traits of great interest to current breeding programs, such as flowering, plant height, and nitrogen metabolism, were identified as being under selection during the domestication process \[[@CR9]\]. The common bean landraces from Brazil, a secondary center of domestication, are adapted to diverse soil and climate conditions and present broad genetic diversity \[[@CR10]\]. It is expected that several adaptive mechanisms selected over generations of domestication remain unknown \[[@CR11]\] and can be used as an important source of useful genes for breeding programs \[[@CR12]\]. A large proportion of plant genetic resources remains unexplored \[[@CR13]\]. This situation is changing due to efforts in breeding programs to increase the available genetic diversity among the set of genitors used in crosses \[[@CR14]--[@CR16]\]. Through pre-breeding programs, work to identify favorable alleles of genes related to important agronomic traits in wild germplasm and landraces, with subsequent incorporation into improved crops, has been reviewed \[[@CR17]\]. The availability of common bean reference genomes \[[@CR9], [@CR18]\], in addition to predicted functions for thousands of genes, extends the possibilities for marker-assisted selection, and to increase the efficiency of genetic breeding programs \[[@CR19]\].

Molecular markers have been very helpful in efforts to detect gaps and redundancies in germplasm collections \[[@CR20]\], to elucidate the genetic diversity in both wild germplasm \[[@CR21]\] and in landraces and cultivars/lines \[[@CR10], [@CR22]\], to explore the effects of selection in the domestication process and to evaluate the dynamics of gene flow and genetic structure due to geographic distribution \[[@CR23], [@CR24]\]. Many of these studies were conducted using SSR markers \[[@CR25]--[@CR29]\]. In recent years, SNP markers have been increasingly developed and applied in common bean genetic analysis \[[@CR29]--[@CR31]\]. Based on 131 SNPs, Rodriguez et al. \[[@CR16]\] analyzed a set of 577 wild and domesticated common bean accessions, drew conclusions about the genetic structure along the domestication sites and identified geographic regions that were hotspots of genetic diversity. More recently, a 6000 SNP chip was developed (BARCBean6K_3) and successfully used in linkage and genome-wide association mapping studies \[[@CR32], [@CR33]\].

High-density genotyping, combining genome complexity reduction with next-generation sequencing (NGS), allows the identification of an almost unlimited number of SNPs for any species at low cost. The strategies of restriction site-associated DNA sequencing (RADseq) \[[@CR34]\] and genotyping by sequencing (GBS) \[[@CR35]\] allow researchers to identify and genotype thousands of SNPs in several plant species, including common bean \[[@CR31], [@CR36]\]. The Diversity Arrays Technology methodology (DArT), also based on genome complexity reduction and SNP detection through hybridization of PCR fragments \[[@CR37]\], has been used in the construction of dense linkage maps, mapping quantitative trait loci (QTL), genome-wide association studies (GWAS), and studies of genetic diversity and population structure \[[@CR38]--[@CR40]\]. In legumes, DArT markers were used to detect QTLs associated with resistance to angular leaf spot and genetic diversity studies \[[@CR41], [@CR42]\]. More recently, the application of DArT technology was modified to incorporate the advantages of the genotyping by sequencing approach (DArTseq™) \[[@CR20], [@CR43], [@CR44]\].

In this study, DArTseq derived SNPs were used for the genetic analysis of a common bean germplasm collection of Andean and Mesoamerican origin, being each origin further stratified into cultivar/line and landrace groups. This study also made advances in the detection and characterization of genomic regions with signals of selection imposed by the domestication and breeding of common bean in Brazil. In addition, a set of SNPs with high discriminatory value between gene pools, as well as between groups (landraces and cultivars/lines) within gene pools, was proposed for routine use for the characterization of gene bank accessions and in breeding programs.

Methods {#Sec2}
=======

Plant material {#Sec3}
--------------

A total of 188 common bean accessions, including 91 landraces and 97 Brazilian and international cultivars/lines belonging to the Andean and Mesoamerican gene pools, were used (Additional file [1](#MOESM10){ref-type="media"}). The accessions were planted in a greenhouse and multiplied via selfing in order to ensure homogeneity for genetic analysis. DNA from individual plants was extracted using the Invisorb Spin Plant Mini Kit (Stratec Molecular, Berlin, Germany), followed by shipment to a DArTseq analysis facility (DArT Pty Ltd., Bruce, Australia).

Genotyping using DArTseq {#Sec4}
------------------------

DArTseq™ represents a combination of DArT complexity reduction methods, based on methyl filtration, and next-generation sequencing platforms \[[@CR45]\]. The technology was optimized for common bean considering both the size of the representation and the fraction of the genome selected for analysis. The complexity reduction method was based on *PstI-MseI*. DNA samples were processed before and after sequencing as described by Sánchez-Sevilla et al. \[[@CR44]\]. The amplification products were sequenced on the Illumina HiSeq2000 platform. Approximately 2,000,000 sequences per barcode/sample were identified and used in marker calling. Identical sequences were collapsed into *fastqcall* files. These files were used in the secondary pipeline for DArT PL's proprietary SNP-calling algorithms (DArTsoft-seq). The DArTseq quality markers were determined by the parameters "reproducibility" (percentage of technical replicate pairs scoring identically for a given marker) and "call-rate" (percentage of samples for which a given marker was scored") \[[@CR46]\].

Structural and functional characterization of SNPs {#Sec5}
--------------------------------------------------

Genomic regions flanking SNPs were aligned against the reference genome of *P. vulgaris* v 1.0 \[[@CR9]\] using BLASTN with an e-value ≤ 1.0e-25 \[[@CR47]\]. Annotation and prediction of effect were performed using the SnpEff v 4.2 \[[@CR48]\] based on the Phytozome database \[[@CR49]\]. The SNP predicted effects were categorized by impact, as high (disruptive impact on the protein); moderate (non-synonymous substitution); low (synonymous substitution); modifier (with impact on non-coding regions).

SNPs with putative effects predicted to be moderate or high were functionally annotated using the Blast2GO tool v 3.2 \[[@CR50]\] and characterized using Gene Ontology terms (Consortium 2015) \[[@CR51]\]. KEGG (available in Blast2GO v 3.2) provided the Enzyme Code (EC) for metabolic pathways. The Integrative Genomics Viewer (IGV) \[[@CR52]\] was used for visual inspection and gene models construction.

Analysis of population genetics structure {#Sec6}
-----------------------------------------

The genetic structure, based on the Bayesian clustering approach, was implemented by Structure v 2.3.4 \[[@CR53]\]. This analysis was conducted using 580 SNPs in linkage equilibrium (LE; r^2^ \< 0.5) identified using Golden Helix SNP & Variation Suite v 8 (Golden Helix Inc., Bozeman, MT, USA) through the LD Prunning command. A population number (K) ranging from 1 to 20, with 20 interactions each, was assumed. The admixture model was applied using a 500,000 burn-in periods followed by 1,000,000 Markov Chain Monte Carlo (MCMC) replications. The most likely K was determined, as proposed by \[[@CR54]\] using Structure Harvester v 0.6.93 \[[@CR55]\], followed by analysis with CLUMPP v 1.1.2 \[[@CR56]\]. The organization chart was generated in R v 3.1.3 \[[@CR57]\]. Discriminant Analysis of Principal Components (DAPC) \[[@CR58]\] was performed using the Adegenet package for R \[[@CR57], [@CR59]\] to provide further support for the identified population groups. The dendrogram was constructed using the neighbor joining (NJ) method implemented by Mega v 5 \[[@CR60]\], based on a matrix calculated by Simple Matching Dissimilarity with 1,000 bootstrap interactions (Darwin 6.0.10) \[[@CR61]\]. The Analysis of genetic diversity was performed in GenAlex v 6.501 \[[@CR62]\] using SNPs with a call-rate ≥ 75% (5531 SNPs).

Patterns of genetic differentiation along the genome {#Sec7}
----------------------------------------------------

The *F* ~*ST*~ for each window of the genome \[[@CR63]\], Tajima's D \[[@CR64]\], diversity from Nei (*π*, average pairwise differences among individuals chosen randomly from the sample population) \[[@CR65]\], nucleotide diversity within the population \[[@CR66], [@CR67]\] and Watterson's θ (θ~W~, estimation of population mutation rate calculated on the basis of the number of segregating sites) \[[@CR68]\], were estimated using non-overlapping 100 Kb sliding windows in PopGenome package for R \[[@CR57], [@CR69]\]. The patterns of variation across the gene pools, as well as, between Cultivars/Lines and Landraces within each gene pool were calculated. The ggplot2 R package (<http://ggplot2.org/>) was used to create the graphs for patterns of variation \[[@CR70]\].

SNPs under signature of selection (outliers) {#Sec8}
--------------------------------------------

The outlier SNPs were detected using two methods: 1) Method proposed by Foll and Gaggiotti \[[@CR71]\] implemented in the BayeScan 2.0, which estimates the probability of each locus to be under selection using MCMC. The analysis was performed using 20 pilot runs with 5000 interactions, burn-in of 100,000 followed by 100,000 interactions ("thinning interval" equal to 20 and sample size of 5000), with a probability \> 1. The analysis was performed three times to ensure robustness and only the outliers loci identified across all the runs were considered. 2) Hierarchical method of Excoffier et al. \[[@CR72]\] implemented in Arlequin v 3.5.2.2 \[[@CR73]\], which identified outlier loci by comparing the levels of genetic diversity and differentiation among populations. The hierarchical island model was simulated with two groups (Andean and Mesoamerican), two demes per group with 20,000 simulations to generate an *F* ~*ST*~ joint distribution versus heterozygosity. Those loci that fall outside the 95% confidence interval were considered outliers.

Linkage disequilibrium (LD) and haplotype blocks {#Sec9}
------------------------------------------------

LD was estimated using SNPs with MAF ≥ 0.05 and the pairwise LD measures were calculated by the usual method (r^2^) and corrected for bias due to population structure (K = 2) and relatedness (r^2^ ~SV~) using the LDcorSV package for R \[[@CR57], [@CR74]\]. The Genetic Relationship Matrix (GRM) was estimated using the algorithm proposed by Yang et al. \[[@CR75]\] using GCTA software \[[@CR76]\]. LD decay (half of the maximum value) was explained by the nonlinear model proposed by Hill and Weir \[[@CR77]\] and adjusted to the nls function in R \[[@CR57]\]. Haplotypic blocks were identified using Haploview 4.2 \[[@CR78]\] based on the confidence interval method described by Gabriel et al. \[[@CR79]\]: MAF ≥ 0.05 and call-rate ≥ 75%. Heterozygous loci were considered missing data.

Genetic diversity distribution based on temperature and rainfall maps {#Sec10}
---------------------------------------------------------------------

### Genetic diversity of landraces heatmap {#Sec11}

Spatial analysis of genetic diversity (*H* ~*E*~) was performed applying an individual-centered approach as described by \[[@CR80]\] and adapted from the Wombling method \[[@CR81]\]. *H* ~*E*~ estimates were obtained using a hierarchical procedure, with a 150 km neighborhood grid used to avoid spatial autocorrelation between groups. In cases in which only one accession was represented in a given region, *H* ~*E*~ represents diversity only for this accession. This analysis was performed using the "sHe" function of the R package "biotools" \[[@CR57], [@CR82]\].

### Georeferencing landraces in thematic maps of climate in Brazil {#Sec12}

The Brazilian maps were derived from the Brazilian Institute of Geography and Statistics (IBGE, Department of Cartography, 2016). Data from rainfall and climate/temperature were obtained from the Institute of Forest Research and Studies (IPEF). The software ArcGIS, based on Geographic Information System (SIG), was used to define areas on the maps. Landraces were geographically placed on the maps using the associated coordinate information.

Results {#Sec13}
=======

Genotyping using DArTseq {#Sec14}
------------------------

The 188 beans analyzed by DArTseq comprised a mini core group derived from the Brazilian common bean core collection (600 accessions) and are representative of the most genetically diverse accessions identified by microsatellite markers analysis (data not shown). For the SNP markers generated in DArTseq (Additional file [2](#MOESM11){ref-type="media"}), robust parameters were implemented: (1) call-rate ranging from 0.50 to 1.00, with an average of 92%, in other words, only \~8% missing data for each marker; and (2) high scoring reproducibility, ranging from 96.85 to 100%. The averages of homozygotes and heterozygotes were 0.88 and 0.04, respectively. Polymorphism content (PIC) ranged from 0.23 to 0.5, with an average of 0.44, and the minor-allele frequency (MAF) ranged from 0.13 to 0.5, with an average of 0.35. A total of 6286 SNPs were obtained from 181 accessions, of which only seven genotypes (3.72%) failed to generate sequence information.

Structural and functional characterization of SNPs {#Sec15}
--------------------------------------------------

From the 6286 SNP flanking regions, 308 were anchored to the same genomic position, 5961 (94.82%) showed alignment in the genome, of which 5311 (89.09%) aligned to a single region and 650 (10.90%) presented multiple alignments (ranging from two to 88). The sequences aligned to the 11 chromosomes and 12 scaffolds. The average number of SNPs per chromosome was 541, ranging from 389 on chromosome 4 to 792 on chromosome 2 (Table [1](#Tab1){ref-type="table"}, Fig. [1](#Fig1){ref-type="fig"}). Based on Phytozome database, 15 SNPs aligned with 12 scaffolds and 325 SNPs did not align with the genome. An average of one SNP every 86,503 base pairs was estimated. Regarding the polymorphism types, transition (Ts) was the most abundant (3299 events, 55.30%), being most frequently cytosine to thymine (923), followed by transversions (Tv) with 2655 events (44.70%). The ratio of Ts/Tv was 1.24. A total of SNPs in genes was 43.3%, of which 20.8% in exons, 17.3% in introns, 4% in UTR region and 1.2% in splicing sites.Table 1SNPs-DArTseq distribution by common bean chromosomesChromosomeNumber of SNPsChromosome size (kbp)^a^Mean of SNP per Mbp153352183.5010.21279249033.7016.15362352218.6011.93438945793.208.49543140237.5010.71653231973.2016.64753751698.4010.39865659634.6011.00952337399.6013.981040143213.209.281152950203.6010.54Scaffolds15\--Total5961513589.1011.58^a^Schmutz et al. \[[@CR9]\] Fig. 1Distribution and positioning of SNPs along *P. vulgaris* chromosomes

A total of 12,217 functional effects for SNP variants were predicted for 5,954 SNPs, providing information on the location of all isoforms, genic, and intergenic regions. The predicted effects were of modifier type (77.8%), low impact (14.22%), moderate impact (7.92%), and high impact (0.05%). Most SNPs with predicted effects were observed in genic regions (6950), of which 20.82% and 17.30% were observed within exons and introns, respectively, with the remaining in non-translated regions. In genic flanking sequences (5 kb window) 5,267 effects were identified, of which 58.21% and 41.79% occurred in downstream and upstream regions, respectively. SNP effects categorized as moderate and high, were identified in 901 transcripts, of which 810 were mapped and 777 were fully annotated (Additional file [3](#MOESM12){ref-type="media"}). These genes were related to a variety of mechanisms, such as plant development and multiple stress response pathways (Fig. [2](#Fig2){ref-type="fig"}). Among the 777 annotated transcripts, 359 were identified as enzymes, mainly transferases (129) and hydrolases (125; Additional file [4](#MOESM13){ref-type="media"}). Genes involved in metabolic pathways are described in Additional file [5](#MOESM14){ref-type="media"}.Fig. 2Functional annotation of SNPs with high and moderate impact predicted by SnpEff. The terms were filtered according to the node score. The numbers represent the amount of transcripts related to each term

For the six genes categorized as highly impacted, their gene annotations were proposed to show the SNP position relative to the gene introns and exons (Additional file [6](#MOESM15){ref-type="media"}). For three of the genes, the high impact SNPs affected the alternative splicing, while for the remaining genes, the SNP allele change generated a stop codon. In the Mesoamerican gene pool, four genes were predominantly homozygous (≥95.5%) for the non-disruptive (favorable) SNP allele, while the genes Phvul.006G191000 (a splicing factor) and Phvul.010G1404000 (ABC transporter) were mostly homozygous for the favorable SNP allele in the Andean (≥92.1%). Two genes (Phvul.006G023300; Phvul.003G030200) had an increased frequency of the genotypes that is homozygous for the favorable SNP alleles in both gene pools. Only one gene (Phvul.010G1404000) in the Mesoamerican gene pool showed a homozygous favorable allele (32.4%) and unfavorable allele (57.7%).

Germplasm genetic structure {#Sec16}
---------------------------

Population structure analysis performed using 580 SNPs in LE revealed K = 2 as the most likely, with the subdivision in Andean (64) and Mesoamerican (111) gene pools and six genotypes (3.87%) as admixture (Fig. [3a](#Fig3){ref-type="fig"}). Five of the genotypes with admixture (ranging from 62 to 69%) were mainly from Andean origin: four cultivars/lines developed by international institutions and one Brazilian landrace from Rio Grande do Sul state (white or brindle grains). The genotype with a predominance of Mesoamerican germplasm (\~65%) is a cultivar/line with brindle grain type from Russia (CNF000784). For K = 3, the Mesoamerican groups were fragmented in two (M1 and M2) in addition to 45 genotypes with admixture. The M1 group was composed by 46 accessions (q ≥ 0.7) of which 74% (34) were black grain types from Brazilian and international cultivars/lines. M2 contained 20 Brazilian genotypes (q ≥ 0.7), 17 landraces and three cultivars/lines, without grain type prevalence. For K = 5, an additional fragmentation within the Mesoamerican gene pool was observed (M1, M2, M3, and M4). M1 was formed by 28 genotypes, 20 cultivars/lines and eight landraces, with predominance (82.14%) of the black grain type. M2 contained seven accessions from Brazil (six landraces and one cultivar/line), of which 43% were of the yellow grain type. The M3 group was represented by six Brazilian genotypes (four landraces and two cultivars/lines) with a carioca commercial grain type. Finally, M4, with eight genotypes (six landraces and three cultivars/lines), had different types of grain (62.5% of brown and red type).Fig. 3Population structure **a** Population structure inferred by the Bayesian approach based on SNPs for K = 2 to 5. K = 2 subdivided genotypes in Mesoamerican (*red*) and Andean (*green*). K = 3 subdivided the Mesoamerican genotypes into two groups: M1 (*red*) and M2 (*blue*). K = 5 subdivided the Mesoamerican genotypes into four groups: M1 (*red*), M2 (*blue*), M3 (*pink*), and M4 (*yellow*). **b** Dendrogram showing the division between the two gene pools: Andean (*green*), Mesoamerican (*red*), and admixture (*blue*)

The tools implemented in DAPC revealed a more complex population structure in the Mesoamerican by landraces and lines/cultivars (Fig. [4](#Fig4){ref-type="fig"}). The dendrogram shows the same division found in Structure (K = 2; Fig. [3b](#Fig3){ref-type="fig"}).Fig. 4**a** DAPC using the set of 5531 SNPs showing the separation between Mesoamerican cultivars/lines (*red*) and landraces (*yellow*). 1: Andean cultivars/lines; 2: Andean landraces; 3: Mesoamerican cultivars/lines; 4: Mesoamerican landraces; **b** Dendrogram showing the division between the two gene pools: Andean cultivars/lines (*dark green*), Andean landraces (*light green*), admixture (*blue*), Mesoamerican cultivars/lines (*red*), and Mesoamerican landraces (*yellow*)

Analysis of population genetics structure {#Sec17}
-----------------------------------------

The analysis of genetic diversity revealed a total of 5531 polymorphic SNPs, of which approximately 26% distinguished the Andean from the Mesoamerican genepools. In general, Mesoamerican germplasm presented an increased number of polymorphic loci and private alleles, as well as higher mean gene diversity and reduced observed heterozygosity (Table [2](#Tab2){ref-type="table"}). There is considerable inbreeding (F) within each gene pool (values of 0.561 and 0.652), but there is also a strong contribution of the subdivision for total inbreeding (F = 0.90), which is evidenced by the high *F* ~*ST*~ value between groups (0.747). The combined set of markers generated an overall exclusion power of 100%, whereas 28 SNPs distinguished all genotypes (Table [2](#Tab2){ref-type="table"}).Table 2Genetic diversity and divergence within Andean and Mesoamerican gene poolsGroupSPNAPH~O~ (SE)H~E~ (SE)F (SE)F~ST~ (SE)F~IS~ (SE)F~IT~ (SE)PIPEAndean6482.99%5110.040 ± 0.0020.102 ± 0.0020.561 ± 0.0060.747 ± 0.0010.822 ± 0.0010.955 ± 0.00311.05E-2491Mesoamerican11190.76%9410.035 ± 0.0010.168 ± 0.0020.652 ± 0.00601Total175100-0.0373 ± 0.0010.4425 ± 0.0010.9082 ± 0.00301The sample size (*S*), percentage of polymorphic loci (*P*), number of private alleles (NAP), observed heterozygosity (*H* ~*O*~), gene diversity (*H* ~E~), inbreeding coefficient (*F*), genetic differentiation (*F* ~*ST*~), fixation index (*F* ~*IS*~), total inbreeding (*F* ~*IT*~), probability of identity (PI), probability of exclusion (PE), and standard deviations (SE) are presented

High numbers of polymorphic SNPs were identified for Mesoamerican (87.51%) and Andean (88.39%) cultivars/lines compared to the landraces (Mesoamerican = 90.78%. Andean = 73.49%). The *H* ~*E*~ values for the Mesoamerican group were 0.177 and 0.185 for cultivars/lines and landraces, respectively, while for the Andean, the corresponding values were 0.145 and 0.099. In both gene pools, the estimates of *F* ~*ST*~ between cultivars/lines and landraces were 0.031 (*p* \>0.001) and 0.012 (*p* \>0.002) for Mesoamerican and Andean, respectively. Within the Andean gene pool, cultivars/lines presented 1,217 private alleles, while in landraces it was 533 (Table [3](#Tab3){ref-type="table"}).Table 3Genetic diversity and divergence among cultivars/lines and landraces of the Andean and Mesoamerican gene poolsGroupSPNAPH~O~ (SE)H~E~ (SE)F (SE)F~ST~ (SE)F~IS~ (SE)F~IT~ (SE)MesoamericanCult/Lines^a^5787.51%4630.038 ± 0.0010.177 ± 0.0030.652 ± 0.0060.031 ± 0.0010.836 ± 0.0010.841 ± 0.001Landraces5490.78%6270.040 ± 0.0010.185 ± 0.0020.646 ± 0.006Total111100.00%-0.039 ± 0.0010.185 ± 0.0020.652 ± 0.006AndeanCult/Lines^a^3188.39%12170.046 ± 0.0020.145 ± 0.0020.647 ± 0.0070.012 ± 0.0020.738 ± 0.0010.741 ± 0.001Landraces3373.49%5330.050 ± 0.0020.099 ± 0.0020.377 ± 0.007Total64100.00%-0.048 ± 0.0020.123 ± 0.0020.561 ± 0.007The sample size (*S*), percentage of polymorphic loci (*P*), number of private alleles (NAP), observed heterozygosity (*H* ~*O*~), gene diversity (*H* ~E~), inbreeding coefficient (*F*), genetic differentiation (*F* ~*ST*~), fixation index (*F* ~*IS*~), total inbreeding (*F* ~*IT*~), and standard deviations (SE) are presented^a^Cult/Lines: cultivars/lines

Patterns of genetic differentiation along the genome {#Sec18}
----------------------------------------------------

*F* ~ST~ was high between the gene pools for the majority of the chromosomes, with the highest level at chromosomes 1 and 9 (Fig. [5a](#Fig5){ref-type="fig"}). The overall differentiation among cultivars/lines and landraces was lower for the Andean germplasm (*F* ~ST~ = 0.0082) compared to the Mesoamerican (*F* ~ST~ = 0.0218; Additional file [7](#MOESM16){ref-type="media"}). The average value of *π* over the whole population, based on 5,241 SNPs, was 0.0171 (±0.001) and was greatly reduced for the Andean (*π* = 0.0017 ± 0.0002, 3,889 SNPs) and Mesoamerican (*π* = 0.0045 ± 0.0006; 3,957 SNPs) groups (Table [4](#Tab4){ref-type="table"}). These values were consistent with an MAF \> 0.3 for 4,210 (80%) SNPs in the whole population and an MAF \< 0.1 for about half of SNPs into the Andean and Mesoamerican groups. Considering the germplasm stratum, the *π* value was 0.0044 (±0.0005) for the cultivars/lines and 0.0043 for the landraces of Mesoamerican origin, with a similar distribution of SNPs into MAF classes. Reduced values were observed for the cultivars/lines (0.0022) and landraces (0.0013) of Andean origin, probably due to the additional set of SNPs with MAF \> 0.1 and ≤ 0.2 (Additional file [8](#MOESM1){ref-type="media"}).Fig. 5Genome-wide loess curves for genetic differentiation (*F* ~ST~), Watterson's θ (θ~W~), and Tajima's D for all 11 chromosomes in the *P. vulgaris* genome for each gene pool. *F* ~ST~ is given as an average across all pairwise comparisons between Andean and Mesoamerican gene pools. The results of Tajima's D and θ~W~ are given for each gene pool separately: Mesoamerican (*red*) and Andean (*green*), and estimated for the whole population (*grey*). *F* ~ST~, Tajima's D and θ~W~ summary statistics were calculated for each 100 kb non-overlapping sliding window Table 4Summary of the *P. vulgaris* genome-wide diversity based on SNPs-DArTseqGene poolGroupNSΘwSE -- θwNDwSE - NDwπSE - πPMAndeanCult/Lines^a^3135060.0007770.0000150.0005540.0000140.0021710.00028138581415Landraces3326470.0005800.0000130.0003860.0000110.0013570.00022831902083Total6438890.0007280.0000130.0004710.0000120.0017810.0002664364909MesoamericanCult/Lines^a^5732830.0006410.0000140.0006650.0000200.0043860.00048841771096Landraces5434600.0006670.0000140.0006770.0000190.0043300.0005664340933Total11139570.0006670.0000120.0006850.0000190.0045410.0005724778495WholeAll18152410.0007130.0000100.0020380.0000290.0171250.00154052730The number of samples (N), number of segregating sites (S), Watterson's nucleotide diversity (θw), nucleotide diversity within (NDw), diversity from Nei (*π*), number of polymorphic SNPs (P), number of monomorphic SNPs (M), and standard deviations (SE) are presented^a^Cult/Lines: cultivars/lines

The Watterson's Mean θ (θ~W~) for all individuals was 0.00071 (±0.00001), with a lower value estimated for the 33 Andean landraces (0.00058). The θ~W~, Tajima's D, and *F* ~ST~ estimates were highly variable across the *P. vulgaris* genome (Fig. [5](#Fig5){ref-type="fig"} and Additional file [7](#MOESM16){ref-type="media"}) and regions that displayed high values of *F* ~ST~ also presented elevated LD (data not shown) and reduced θ~W~ and Tajima's D (Fig. [5](#Fig5){ref-type="fig"}), mostly in centromeric regions. For the Andean accessions, negative Tajima's D values were observed for all chromosomes except for chromosome 4, which could indicate that positive selection in the Andean group is driving divergence between the gene pools, as evidenced by the correlation of centromeres and regions of elevated *F* ~ST~ (Fig. [5a and c](#Fig5){ref-type="fig"}). For the Mesoamerican group, Tajima's D values were variable across the genome and some regions, such as in the chromosome 5 approximately 10-20 Mbp, presented high Tajima's D values and low *F* ~ST~, indicating balancing selection (Fig. [5a and c](#Fig5){ref-type="fig"}). Conversely, in the same chromosome 5, a region near 30 Mbp had a low Tajima's D value and high *F* ~ST~, indicating possible positive selection (Fig. [5a and C](#Fig5){ref-type="fig"}).

Loci under signature selection (outliers) {#Sec19}
-----------------------------------------

A total of 16 and 59 outlier SNPs were identified based on BayeScan (q \< 0.05) and Arlequin (p \< 0.05), respectively, of which 16 loci were common to both analyses. From the 59 SNPs, 54 aligned over the 11 chromosomes (with the highest abundance on chromosomes 1 and 9), with an average of one SNP every 8.6 million bases. Across the genome, \~41% of SNPs were identified within genes (17.27% in introns, 20.91% in exons, and 2.73% in the 5' UTR), while the remaining (\~59%) were in intergenic regions. The analysis of SNP effect on the outliers revealed a total of 110 effects predicted for 54 outliers, of which 11% were low-impact, 10% moderate and 79.09% modifier type. We identified 91 transcripts affected by 54 SNPs under selection, of which 82 presented homology to the non-redundant (nr) protein database and 71 were annotated (Additional file [9](#MOESM2){ref-type="media"}). Based on GO, within the categories of "cellular component," "biological process," and "molecular function," most genes were assigned to "integral component of membrane, plasma membrane, and cytoplasmic part," "DNA binding, ATP binding, and ligase activity," and "DNA metabolic process, transmembrane transport, and signal transduction," respectively (Additional file [10](#MOESM3){ref-type="media"}). In addition, 45 SNP outliers were identified in metabolic pathways (Additional file [11](#MOESM4){ref-type="media"}).

Within the Mesoamerican gene pools (comparing between landraces and cultivars/lines), 15 outlier SNPs common to both analyses were identified distributed around chromosomes 2, 7, 8, and 9. 131 transcripts were affected by these SNPs, and 116 of these have been annotated (Additional file [12](#MOESM5){ref-type="media"}). For the Andean group, a set of 18 outlier SNPs, mainly in chromosome 10, were associated with 42 transcripts, of which 35 were annotated (Additional file [13](#MOESM6){ref-type="media"}). Only one outlier loci (3381974_16_T\_C) was common to both gene pools. The most abundant functional terms within one of the three GO categories is described in Additional file [14](#MOESM7){ref-type="media"}.

LD decay {#Sec20}
--------

The LD decay in the Andean gene pool (Fig. [6a and d](#Fig6){ref-type="fig"}) was slower than in the Mesoamerican gene pool (Fig. [6b and e](#Fig6){ref-type="fig"}). For Andean group, LD with correction for relatedness and structure showed a decay dropped to half (*r* ^2^ = 0.23) at a distance of \~2055 Kb and \~395 Kb for r^2^ and r^2^ ~SV~, respectively, while for the Mesoamerican, half decay was observed at distances of \~312 Kb and \~130 Kb. For accessions overall without correction (*r* ^2^), no decay was observed within the 3000 Kb window (Fig. [6c](#Fig6){ref-type="fig"}), while with correction (r^2^ ~SV~) LD decreased to half at 88 Kb (Fig. [6f](#Fig6){ref-type="fig"}). Within the landraces, the r^2^ was estimated to be 1722 Kb and 389 Kb, for the Andean and Mesoamerican groups, respectively, and for the stratum cultivars/lines, it was 4040 Kb and 428 Kb.Fig. 6LD decay without correction (r^2^, panels **a**, **b** and **c**) and corrected for relatedness and population structure (r^2^ ~sv,~ panels **d**, **e** and **f**) for the Mesoamerican (**a** and **d**), Andean (**b** and **e**) and the grouped accessions (**c** and **f**)

Through haplotype analysis, a set of 437 blocks representative of the 11 chromosomes, ranging from 31 (chromosome 1) to 62 (chromosome 8) were identified. A total of 4354 SNPs (82.57%) were distributed in these blocks, with an average of \~10 SNPs per block. Chromosomes 9 (90.12%) and 4 (71.77%) had the highest and lowest percentage of SNPs within blocks, respectively. The average block size was 842.2 Kb, and the largest block was in chromosome 3, with 8634 Kb and 21 SNPs. The maximum and minimum frequency of haplotypes was 0.850 and 0.010, respectively, with the most common haplotype located on chromosome 7. On average, 71.66% of the genome was covered by the blocks (Table [5](#Tab5){ref-type="table"}). A larger number of blocks were identified in the Mesoamerican group (248 blocks), compared to the Andean group (98 blocks), comprising 798 (3.18 SNPs/block) and 592 (6.0 SNPs/block) SNPs, respectively. In both gene pools, chromosome 2 presented the highest number of blocks (25 for Andean and 41 for Mesoamerican groups, Table [5](#Tab5){ref-type="table"}).Table 5Haplotype blocks identification using the SNPs-DArTseq for the all accessions and within Andean (AND) and Mesoamerican (MESO) gene poolsChromosomesTotal of blocksAverage SNP/blockBlocks size (kb)Physical length (kb)^a^Block coverage (%)AllANDMESOAllANDMESOAllANDMESOAllAll13122213.9443.6442497.6967.11831.7652183.581.44256254110.718.161.0738734.1722616.3710256.2249033.778.9933752012.952.24.242067.0328.276336.0552218.680.5643519186.836.115.2230826.2418181.4320469.3545793.267.325359208.897.333.828497.353365.2310704.7740237.570.82640102310.587.4324709.16132885.331542.2931973.277.2873751811.3522.7835632.6931.9506.851698.468.928625366.93.83.535786.86354.412954.9859634.660.0193341613.274.53.6330338.751362.91922.2637399.681.1210366176.895.53.0626847.851712.863235.0743213.262.1311358179.64.133.2932104.09659.162795.3650203.663.95Total437982489.966.043.18368041.88181264.9662554.91513589.171.66^ba^Schmutz et al. \[[@CR9]\]^b^Average genome block coverage for the all accessions

Genetic analysis based on a low*-*density SNP panel {#Sec21}
---------------------------------------------------

A total of 560 SNPs were selected for the assessment of genetic diversity in common bean (Additional file [15](#MOESM8){ref-type="media"}). These SNPs were polymorphic in both gene pools, with MAF \> 0.05, r^2^ \< 0.5, an average *H* ~*E*~ = 0.401 and were distributed over the 11 chromosomes. The *F*-values between the Andean and Mesoamerican groups were *F* ~ST~ = 0.411 (±0.001), *F* ~IS~ = 0.826 (±0.001), and *F* ~IT~ = 0.897 (±0.001). DAPC revealed a structure similar to those obtained for the whole set of SNPs (5531) (Additional file [16](#MOESM9){ref-type="media"}). Within the Andean gene pool, 88.57% and 72.50% of SNPs were polymorphic for the landraces and cultivars/lines, respectively, with *F* ~ST~ estimated at 0.010 ± 0.001. For the Mesoamerican accessions, \~97% of SNPs were polymorphic in both stratum, with an estimated *F* ~ST~ of 0.034 ± 0.001.

Genetic diversity distribution based on temperature and rainfall maps {#Sec22}
---------------------------------------------------------------------

The highest estimates of *H* ~*E*~ were observed in areas containing germplasm of Andean and Mesoamerican origin, as well as accessions characterized as admixtures by structure analysis (Fig. [7](#Fig7){ref-type="fig"}). Within gene pools, the average genetic distance and *H* ~*E*~ were estimated at 0.1414 and 0.185 for the Mesoamerican, respectively, and 0.054 and 0.099 for the Andean gene pools, respectively. However, the highest *H* ~*E*~ of a set of four accessions from regions with extreme temperature (three from regions with ≥ 26 °C - CF200005, CF200003, CF200002 - and one from regions ranging from 14 to 16 °C - CF200070) was 0.411. For the regions with low precipitation (≤700 to 1000 mm), the *H* ~*E*~ of the seven accessions (CF810313, CF810320, CF840404, CF810415, CF800027, CF800032, CF800049) was 0.419.Fig. 7Spatial distribution of the genetic diversity (**a**) on the maps of total annual rainfall (**b**) and average annual temperature (**c**). The *circle* represents accessions from Mesoamerican origin and *square* from Andean origin. Source: IBGE, 2016 with modifications

Discussion {#Sec23}
==========

Genotyping with DArTseq {#Sec24}
-----------------------

The SNP markers derived using DArTseq demonstrated that this technology is an efficient method of genotyping with broad genome coverage and can be useful for analyses of genetic diversity in a common bean germplasm pool composed of landraces and cultivars/lines. The sequencing of two important varieties of common bean representative of the Andean and Mesoamerican groups \[[@CR9], [@CR18]\] has allowed the identification and determination of genomic positions of SNPs with several scientific implications. Among the 6286 SNPs identified, 94.82% were placed on the *P. vulgaris* genome, supporting the analysis of population structure, LD, and identification of genomic regions under selection that have an impact on crop improvement research. The average call-rate was 92%, close to the value of 91.3% previously reported for watermelon \[[@CR40]\], and the scoring reproducibility of 99.44% was consistent with the value described for wheat (98.5%) \[[@CR83]\]. A high density of SNPs was obtained (SNP/86Kbp) compared to our previous report (SNP/500Kbp), which was based on RADseq technology \[[@CR31]\], increasing the genome resolution for subsequent analyses. The combination of restriction enzymes used in DArTseq (*Pstl-Msel*) resulted in the more frequent appearance of SNPs, as reported by Schröder et al. \[[@CR36]\]. Within the Andean (83%) and Mesoamerican (91%) gene pools, a larger proportion of polymorphisms were identified, which was higher than previously reported using SNPs-RAD (Andean: 72.7% and Mesoamerican 83.3%) \[[@CR31]\]. The considerable level of SNP polymorphism within gene pools, in addition to their wide genomic representativeness over the genome (99.78%), is favorable to reduce the ascertainment bias given a more uniform and realistic distribution of allelic frequency over the whole population.

Genetic diversity {#Sec25}
-----------------

DArTseq also allowed the detection of SNPs with high diversity (*n* = 181, *H* ~*E*~ = 0.442), compared to the SNPs identified by RAD (*n* = 95, *H* ~*E*~ = 0.384), Valdisser et al. \[[@CR31]\] and SNPs identified between BAT93 and Jalo EPP558 (*n* = 88, *H* ~*E*~ = 0.390), Müller et al. \[[@CR29]\]. For the Mesoamerican, genetic diversity (*H* ~*E*~ = 0.168; *n* = 111) was close to values obtained by Rodriguez et al. \[[@CR16]\] for domesticated bean (*H* ~*E*~ = 0.157; *n* = 100); however, lower compared to the studies of Cichy et al. \[[@CR33]\] (*H* ~*E*~ = 0.233; *n* = 21), who characterized a more diverse set of accessions that are from different geographic origin, breeding program, grain type, and growth habit. In our Mesoamerican germplasm, the only structure observed was by grain type (K = 4) \[[@CR29], [@CR31]\], with a high proportion of admixture (55.85%) resulted from long-term genetic improvement and relationships among breeding germplasm. The patterns of nucleotide diversity along the whole genome also revealed a reduction in the order of 60.8% for the Andean (*π* = 0.001781), compared to the Mesoamerican (*π* = 0.004541) germplasm. The lowest diversity in the Andean is expected (*H* ~*E*~ = 0.102; *n* = 64; *p* 0.05) due to the prevalence of Mesoamerican introduction and domestication in Brazil \[[@CR10], [@CR22]\], in addition to global historical events of domestication in common bean evolution \[[@CR9], [@CR84], [@CR85]\]. The inter-gene pool hybridization had a positive impact on Andean diversity \[[@CR9], [@CR86]\], whereas the Mesoamerican group was exposed to more frequent events of recombination on a broader genetic base, generating more diversity \[[@CR87], [@CR88]\].

In the present study, all landraces originated from Brazil and only the breeding germplasm included introductions. From the 87 Brazilian landraces, lower estimates of *H* ~*E*~ and *π* were reported for the Andean, compared to the Mesoamerican. Moreover, the diversity of the Andean Brazilian landraces (*n* = 33, *H* ~*E*~ = 0.099) reduces only in the order of 1.3 x compared to the diversity estimated by Cichy et al. \[[@CR33]\] which analyzed accessions representative of \~30 countries using the BARCBean6K_3 bead chip (n = 201 landraces; *H* ~*E*~ = 0.128). Therefore, there is a strong indication that Brazil may be a center of secondary domestication with high diversity that deserves a further characterization of the remaining accessions and integrates into the Brazilian core collection. For the Andean cultivars/lines (*n* = 31), even represented by accessions of 22 countries, the *π* ~*C/L*~ (0.002171) was almost half the value for the Mesoamerican (*n* = 57; *π* ~*C/L*~ = 0.004389) used predominantly in breeding program for improving agronomic traits \[[@CR22]\].

Regarding the spatial distribution of the genetic diversity, no significant relationship between genetic and physical distances was identified (data not shown). By overlapping the thematic and diversity maps, important sites to collect landraces, considering both genetic diversity and adaptability under hydric restriction and high temperature were identified. For breeding purposes, this is extremely valuable in terms of understanding adaptive responses and identification of target accessions genetically diverse with the potential to be integrated into bean pre-breeding programs, as well as germplasm resource management. Genetically diverse accessions originated from geographic areas with high temperature and reduced rainfall could be of potential use in common bean breeding programs in attempt to increase the frequency of favorable alleles, and consequently, increasing the potential to obtain inbred lines more tolerant to drought stress, which can be obtained, for example, through recurrent selection.

SNP effect prediction {#Sec26}
---------------------

As expected, the SNP effects categorized as modifiers was more abundant and SNP with impact on protein efficiency and loss-of-function, that have a direct impact on gene function with adaptive interference during the course of selection, were reported in a smaller proportion \[[@CR48]\]. Considering all loci under high impact, a low frequency of heterozygotes was observed, probably due to the autogamous nature of the common bean. From the six genes, two presented an increased proportion of homozygous for the favorable allele (Phvul.006G023300; Phvul.010G1404000, Phvul.003G030200) for both gene pools. This is an evidence that the disruptive allelic variant caused an impact that has been selected against during the process of domestication. These two genes are related to important cellular process, such as redox system essential in maintaining cellular homeostasis (feruloyl ortho-hydroxylase - Phvul.006G023300) and endonuclease implicated in RNA and ssDNA degradation involved in cell death (endonuclease 2-like - Phvul.003G030200). In general, we observed allelic frequency difference within each locus between the Andean and Mesoamerican gene pools, suggesting that different forces (e.g. selection, founder effects) might be acting upon these loci. As expected, for the Mesoamerican genotypes the frequencies of the favorable alleles was increased for four, of the six genes under high impact effect, in response to selective natural and artificial pressure. The analysis of SNPs with high impact provides important clues about the selective forces acting in germplasm adaptation. Alonso-Blanca et al. \[[@CR89]\] reported a loss of gene function conferring an adaptive advantage under domestication for the processes of germination, dormancy, and flowering. In addition, during the process of domestication, loss of function can be considered an important factor for rapid evolution \[[@CR90]\].

Loci under selection {#Sec27}
--------------------

The process of domestication and artificial selection imposed by agriculture resulted in changes to allelic frequencies and allowed the identification of genomic regions under adaptive evolution using high-density SNP genotyping \[[@CR9], [@CR91], [@CR92]\]. In this study, high-resolution genetic analysis and a diverse set of domesticated accessions adapted to specific environments and subjected to natural and artificial selection allowed the identification of SNPs potentially related to these adaptive processes. Genomic regions under selection were not homogeneous in the present study (predominant on chromosome 1, *F* ~*ST*~ = 0.86 and chromosome 9, *F* ~*ST*~ = 0.87), suggesting that distinct and broad genetic mechanisms were involved in the process of common bean domestication. Similar finds were reported by Schmutz et al. \[[@CR9]\] who described a greater proportion of loci under selection on chromosomes 1, 2, and 10 in the Andean group, and on chromosomes 2, 7, and 9 in the Mesoamerican group. Among the genes under positive selection, we identified enrichment in terms related to cell membrane transporters, receptors, sensors, gene recombination/mutation, and the complex network of intra- and extracellular signaling that could be attributed to adaptive changes, providing the ability to respond earlier to abiotic or biotic stimuli. Tolerance to multiple stresses is expected since the plants suffer from several forms of stress during their life cycle, where a range of molecular mechanisms act together through complex pathways with important mechanisms of crosstalk among them \[[@CR93]\]. Among the landrace and cultivar/line strata, a high number of outliers was reported in the accessions of Mesoamerican origin, which is consistent with the predominance of this germplasm in Brazil \[[@CR10], [@CR22]\] and, consequently, the higher selective pressure imposed on this germplasm. These genes are potential targets for plant breeders because of their roles in plant adaptation under variable environmental conditions. The understanding the effect of these genes on the phenotypes will have a positive impact on crop improvement \[[@CR94]\].

Outlier SNPs associated with the same GO terms were reported in both gene pools. Among these, we highlighted integral components of membranes that could respond to plant demand to be more efficient in the process of water and nutrient transport, as well as the location of photoassimilates. Furthermore, several common transcripts related to the development of morpho-anatomical structures were reported, corroborating previous studies of QTLs involved in the domestication and diversification processes \[[@CR95]\]. Selective pressure on these genes is expected because in the process of domestication, several traits were privileged, for example, the trend for increases in wheat grain mass, which is strongly associated with endosperm development \[[@CR96]\] and growth habit, as a trait under strong selection in common bean domestication \[[@CR97]\]. Selective pressure on genes related to the redox status, plant development, and response to biotic and abiotic stresses was preferably identified in the Mesoamerican group, while processes of protein phosphorylation and ATP-binding predominated in the Andean germplasm. These genes play a fundamental role in the stimuli and signal processing of multiple stress responses, which are fundamental to plant adaptation in the evolution and domestication \[[@CR98]\]. In addition, transcription factors and other genes related to the regulation of gene expression were also under selection. Genes related to the same mechanisms and associated with QTLs controlling domestication-related traits were reported by Doebley et al. \[[@CR99]\]. Similar of those observed in maize \[[@CR100]\] and soybean \[[@CR92]\], transcription factors are abundant among genes under selection acting to regulate several process, such as grown habit, flowering, grain size, dormancy, and others \[[@CR101]\]. Lastly, genes related to secondary metabolites that are known to respond to plant interactions with environmental changes, such as drought, radiation intensity, and pest attacks \[[@CR102]\], were also identified.

Our data showed that, several genes under selection in both pools were related to pathways of primary metabolism, such as sucrose, amino acids, lipids and starch metabolism. These pathways are source of energy and carbon that broadly affect a range of cellular mechanisms. Interestingly, 11 distinct putative genes under selection were identified in both pools, six Mesoamerican and five Andean genes, related to the same Purine and Thiamine metabolic pathway revealing different signatures of selection associated with the same processes. Products derived from the Thiamine biosynthesis play role as a cofactor in important metabolic pathways, such as glycolysis, Krebs cycle, nitrogen assimilation, and have been shown to have functions in response to abiotic and biotic stress in plants \[[@CR103]\]. The Purine metabolism plays central role in the cell involving production of nucleotides, coenzymes, and signaling molecules. In addition, this pathway also has a fundamental role in the process of nitrogen fixation that occurs in beans, which form molecules that transport the nitrogen through xylem under nitrogen fixing conditions \[[@CR104]\].

Linkage disequilibrium {#Sec28}
----------------------

A high proportion of alleles at low frequencies were observed within the gene pools, whereas for the whole set of accessions, most SNPs were present at high frequencies (≥0.3), reflecting the presence of fixed loci for alternative alleles between the gene pools. Without correcting for relatedness and structure, the LD presented elevates estimates of r^2^, and after the correction, an increase in decay was observed, showing that the evolutionary and breeding history \[[@CR7], [@CR85]\] strongly affect the association among markers. The LD decay observed in common bean extended over several bp (up to 88 Kb), compared to allogamous species, such as the Eucalyptus \[[@CR105]\] and loblolly pine \[[@CR106]\]. This was expected due to the selfing nature of beans, which leads to increased amounts of LD. In this study, the cultivars/lines (Andean LD~c/L~ = 4040 Kbp; Meso LD~c/L~ = 428 Kbp) presented slower LD decay compared to the landraces (Andean LD~L~ = 1722 Kbp; Meso LD~L~ = 389 Kbp), consistent with previous studies \[[@CR31]\]. The patterns of LD is highly variable among the types of germplasm within species \[[@CR107]\], and this variation is determined by several factors, such as the demographic dynamics, recombination rates, and evolutionary mechanisms \[[@CR108]\]. The more genetically diverse the germplasm, the more rapid the expected decay, which provides more opportunity for selection, which is extremely important for common bean breeding \[[@CR109]\]. The reduced diversity in the cultivated germplasm in Brazil probably is associated with the low maintenance and breeding base population size \[[@CR22]\], in addition to the amount of recombination accumulated over the course of selection after breeding programs appeared in the 1930 \[[@CR22]\], whereas the landraces have been disseminated by Brazil and domesticated since the sixteenth century \[[@CR110]\].

Furthermore, the variation in size of the haplotype blocks across the common bean genome (Table [5](#Tab5){ref-type="table"}) revealed a considerable degree of LD variation, becoming more complex with studies of association and genome selection for beans, as has also been reported for soybean \[[@CR111]\]. In this way, the adoption of a general LD value is not recommended, as demonstrated for soybean \[[@CR107]\] and wheat \[[@CR112]\]. For common bean, it is evident that the level of genetic diversity and LD decay are associated with the germplasm origin and process of domestication, which must be considered to choose the most appropriate strategy for analysis. Considering the total number of haplotypes within the genepools, even with a large number of genotyped markers (5,531), it still seems to be underestimated for the Andean (35.3%) and Mesoamerican (12.2%) gene pools. We clearly observed that these gene pools with distinct process of domestication have to be analyzed independently, using an increased number of SNPs and an effective population size providing a good genetic representativeness to properly define the haplotype databases. The higher the haplotype resolution, the better will be the ability to reconstruct the past gene-flow patterns and to trace key events during the domestication and breeding history \[[@CR113]\]. In addition, the haplotypes contribute to the chance of success in identifying regions associated with economic traits, since the associated polymorphism not necessarily have to be the potential causal gene. Similarly, to soybean, a whole-genome analysis, sampling large numbers of markers, will be required, even in selfing crop species with high levels of LD.

SNP panel {#Sec29}
---------

DArTseq analysis over a diverse group of common bean germplasm allowed the identification of a panel composed of 560 SNPs, selected from the whole set of 6286, with nearly 90% genome coverage. For breeding purposes, this panel of SNP, which allows identification of genetic intervals at low to moderate resolution, would be readily incorporated to routine genetic analysis of breeding programs. The benefits of marker-assisted breeding using this panel over a large set of SNPs are due to the increase in the efficiency of genome sampling at a lower cost. This panel certainly will be of great utility for germplasm characterization, linkage mapping, and assisted backcrossing, meeting the research demands with impacts on bean crop systems. For studies that demand improved genome resolution, such as association and genome selection, whole genome sequencing of multiple samples is the method we should use to allow the detection of the majority allelic variants for relevant traits.

Conclusions {#Sec30}
===========

The present study has shown that the DArTseq approach generated a large set of useful SNPs for common bean with a comprehensive genome coverage, representative of coding and non-coding regions that allowed an accurate assessment of structuration and quantification of genetic diversity in the Brazilian core collection composed of landrace and improved germplasm. We also were able to identify genomic regions under selection in domesticated germplasm associated with molecular functions that could be used as target in further studies to determine the nature and relevance of these loci in the process of adaptation. In addition we observed that the extent of LD was variable throughout the genome and in different strata of germplasms, which was helpful for determination of a reduced set of SNPs useful for genetic analysis. Through this study, we are adding value to the common bean Genebank at Embrapa publicly available for worldwide signatory institutions of the International Treaty on Plant Genetic Resources. This information, in combination with phenotypic evaluation, hold much promise for breakthroughs in the elucidation of genetic control of complex traits.

Additional files
================

 {#Sec31}

Additional file 1:Identification of the common bean accessions used in the SNP analysis, the gene pool origin, type of germplasm, institution of origin, and the commercial type of grain. (XLSX 18 kb) Additional file 2:The genotyping data and SNP quality parameters for the whole set of accessions. (XLSX 5705 kb) Additional file 3:Functional annotation of transcripts affected by SNPs with high (\*) or moderate predicted impact. (XLSX 75 kb) Additional file 4:Enzymes associated with SNP sequences with high and moderate impact predicted. (PDF 22 kb) Additional file 5:The KEGG pathway maps for SNPs with high or moderate predicted impact. (XLSX 25 kb) Additional file 6:Gene models representing all SNP with high impact effects predicted by SnpEff. A) High impact effects classified as "splice_acceptor_variant", defined as two bases before exon start, except for the first exon. B) High impact effects classified as "stop_gained", a sequence variant whereby at least one base of a codon is changed, resulting in a premature stop codon. The nucleotide described corresponds to the disruptive high impact allele. (PNG 3026 kb) Additional file 7:Genome-wide loess curves for genetic differentiation (*F* ~ST~), Watterson's θ (θ~W~), and Tajima's D for all 11 chromosomes in the *P. vulgaris* genome for each group. *F* ~ST~ is given as an average across all pairwise comparisons between Andean cultivars/lines and landraces (green), and between Mesoamerican cultivars/lines and landraces (red). The results of Tajima's D and θ~W~ are given for each group separately, Andean cultivars/lines (dark green) and landraces (green), and Mesoamerican cultivars/lines (red) and landraces (yellow). *F* ~ST~, Tajima's D and θ~W~ related summary statistics were calculated for each 100 kb non-overlapping sliding window. (PDF 240 kb) Additional file 8:Distribution of SNPs into minor-allele frequency (MAF) classes. (A) Distribution of the number of SNPs into MAF classes for the whole population (grey), Andean (green), and Mesoamerican (red) genotypes. (B) Distribution of the number of SNPs into MAF classes for each group: Andean cultivars/lines (dark green) and landraces (green) and Mesoamerican cultivars/lines (red) and landraces (yellow). (PDF 23 kb) Additional file 9:Functional annotation of the transcripts affected by outlier SNPs. (XLSX 21 kb) Additional file 10:Functional annotation showing the most relevant GO terms for the outlier SNPs. The terms were filtered according to the node score. The numbers represent the amount of transcripts related to each term. (PDF 122 kb) Additional file 11:The KEGG pathway associated with outlier SNPs. (XLSX 15 kb) Additional file 12:Functional annotation of transcripts affected by SNP outliers in the Mesoamerican gene pool. (XLSX 24 kb) Additional file 13:Functional annotation of transcripts affected by outlier SNPs in the Andean accessions. (XLSX 15 kb) Additional file 14:Functional annotation showing the most relevant GO terms for the outlier SNPs within each gene pool. (A) Mesoamerican; (B) Andean. The terms were filtered according to the node score. The numbers represent the amount of transcripts related to each term. (PDF 233 kb) Additional file 15:Information of the selected 560 SNPs to compose a panel for genetic analysis of common bean. (XLSX 56 kb) Additional file 16:DAPC analysis based on the 560 SNP panel showing the division between Mesoamerican cultivars/lines (red) and landraces (yellow). M_CL: Mesoamerican cultivars/lines; M_L: Mesoamerican landraces; A_CL (dark green): Andean cultivars/lines; A_L (light green): Andean landraces. (PDF 38 kb)

CIAT

:   International center for tropical agriculture

DAPC

:   Discriminant analysis of principal components

DArT

:   Diversity arrays technology

EC

:   Enzyme code

GBS

:   Genotyping-by-sequencing

GRM

:   Genetic relationship matrix

GWAS

:   Genome-wide association studies

IBGE

:   Brazilian institute of geography and statistics

IPEF

:   Institute of forest research and studies

LD

:   Linkage disequilibrium

LE

:   Linkage equilibrium

MAF

:   Minimum allele frequence

MCMC

:   Markov chain monte carlo

NGS

:   Next generation sequencing

NJ

:   Neighboor joining

PIC

:   Polymorphism information content

QTL

:   Quantitative trait loci

RAD-seq

:   Restriction-site-associated DNA sequencing

SIG

:   Geographic information system

SNPs

:   Single nucleotide polymorphisms

SSR

:   Simple sequence repeats

**Electronic supplementary material**

The online version of this article (doi:10.1186/s12864-017-3805-4) contains supplementary material, which is available to authorized users.

We are very grateful for the anonymous reviewers for their careful reading, valuable suggestions and corrections that helped us to improve the manuscript.

Funding {#FPar1}
=======

The National Council for Scientific and Technological Development (CNPq) for the grants to MIZ, CB and RPV. This work was supported by the Brazilian Agricultural Research Corporation (EMBRAPA - 02.12.12.005.00.00) and it was developed as described and approved in the institutional project. The contents of this publication, such as the results and conclusions, are the sole responsibility of the authors.

Availability of data and materials {#FPar2}
==================================

The data sets supporting the results of this manuscript are included in the article and in its additional files.

Authors' contributions {#FPar3}
======================

PAMRV conducted the analysis of the experiments, interpreted results and wrote the paper. GRCC prepared the DNA samples. JPO assisted in the germplasm identification. WJP, JEAF, BSFM, JPGV and IPPM made substantial contributions to the bioinformatics, genomic analysis and interpretation of data. ACM developed the Brazilian thematic maps and georeferenced the landraces. MIZ, ACL, ASGC, CB assisted in the paper preparation and results discussion. RPV coordinated the study, participated in analyzing data and wrote the paper. All authors read and approved the final manuscript.

Competing interests {#FPar4}
===================

The authors declare that they have no competing interests.

Consent for publication {#FPar5}
=======================

Not applicable.

Ethics approval and consent to participate {#FPar6}
==========================================

The common bean genotypes used in the present study are derived from the Brazilian common bean core collection available at Embrapa Rice and Beans. The plants were accessed with the knowledge of the institution for scientific research purposes only, with an official authorization from Brazilian authorities (IBAMA authorization number 02001.008430/2012-37). The seed samples are publicly available for research institutions in Brazil and abroad upon reasonable request.

Publisher's Note {#FPar7}
================

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
