Developing best practices for genotyping-by-sequencing analysis using linkage maps as benchmarks
Genotyping-by-Sequencing (GBS) provides affordable methods for genotyping hundreds of individuals using millions of markers. However, this challenges bioinformatic procedures that must overcome possible artifacts such as the bias generated by PCR duplicates and sequencing errors. Genotyping errors lead to data that deviate from what is expected from regular meiosis. This, in turn, leads to difficulties in grouping and ordering markers resulting in inflated and incorrect linkage maps. Therefore, genotyping errors can be easily detected by linkage map quality evaluations. We developed and used the Reads2Map workflow to build linkage maps with simulated and empirical GBS data of diploid outcrossing populations. The workflows run GATK and freebayes for SNP calling and updog, polyRAD, and SuperMASSA for genotype calling, and OneMap and GUSMap to build linkage maps. Using simulated data, we observed which genotype call software fails in identifying common errors in GBS sequencing data and proposed specific filters to better handle them. We tested whether it is possible to overcome errors in a linkage map using genotype probabilities from each software or global error rates to estimate genetic distances with an updated version of OneMap. We also evaluated the impact of segregation distortion, contaminant samples, and haplotype-based multiallelic markers in the final linkage maps. The results showed a low impact of segregation distortion in the linkage map quality, improvements in ordering markers with haplotype-based multiallelic markers, and improved maps with expected size using reliable genotype probabilities or a global error rate of 5%. The pipelines results in each scenario changed according to the data set used, indicating that optimal pipelines and parameters are dataset-dependent and cannot be generalized to all GBS data sets. The Reads2Map workflow can reproduce the analysis in other GBS empirical data sets where users can select the pipeline and parameters adapted to their data context. The Reads2MapApp shiny app provides a graphical representation of the results to facilitate their interpretation.