<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="brief-report" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">ticsys</journal-id>
      <journal-title-group>
        <journal-title>Transactions on Intelligent Computing Systems</journal-title>
        <abbrev-journal-title abbrev-type="publisher">Trans. Intell. Comput. Syst.</abbrev-journal-title>
      </journal-title-group>
      <issn publication-format="electronic">2784-0166</issn>
      <publisher>
        <publisher-name>Aurora Computing Society</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.58304/t1sdae30</article-id>
      <title-group>
        <article-title>HaploVar: an R package for defining local haplotype variants for trait association and trait prediction analyses</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>MacNish</surname>
            <given-names>Tessa R</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing – original draft</role>
          <xref ref-type="aff" rid="aff1"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Al-Mamun</surname>
            <given-names>Hawlader A</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
          <xref ref-type="aff" rid="aff2"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Bergmann</surname>
            <given-names>Thomas</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
          <xref ref-type="aff" rid="aff1"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Bestry</surname>
            <given-names>Mitchell S</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
          <xref ref-type="aff" rid="aff1"/>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Marsh</surname>
            <given-names>Jacob I</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
          <xref ref-type="aff" rid="aff3"/>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <contrib-id contrib-id-type="orcid" authenticated="false">https://orcid.org/0000-0001-7599-6760</contrib-id>
          <name>
            <surname>Edwards</surname>
            <given-names>David</given-names>
          </name>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Funding acquisition" vocab-term-identifier="https://credit.niso.org/contributor-roles/funding-acquisition/">Funding acquisition</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Project administration" vocab-term-identifier="https://credit.niso.org/contributor-roles/project-administration/">Project administration</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Supervision" vocab-term-identifier="https://credit.niso.org/contributor-roles/supervision/">Supervision</role>
          <role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing – review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing – review &amp; editing</role>
          <xref ref-type="aff" rid="aff1"/>
          <xref ref-type="corresp" rid="cor1"/>
        </contrib>
        <aff id="aff1">School of Biological Sciences, The University of Western Australia, Perth, WA 6009, Australia; Center for Applied Bioinformatics, The University of Western Australia, Perth, WA 6009, Australia</aff>
        <aff id="aff2">School of Biological Sciences, The University of Western Australia, Perth, WA 6009, Australia; Center for Applied Bioinformatics, The University of Western Australia, Perth, WA 6009, Australia; InterGrain Pty Ltd, Perth, WA 6163, Australia</aff>
        <aff id="aff3">Department of Biology, University of North Carolina, Chapel Hill, NC 27599, United States</aff>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Schwartz</surname>
            <given-names>Russell</given-names>
          </name>
          <role>Associate Editor</role>
        </contrib>
      </contrib-group>
      <author-notes>
        <corresp id="cor1"><email>dave.edwards@uwa.edu.au</email></corresp>
      </author-notes>
      <pub-date publication-format="electronic" date-type="pub" iso-8601-date="2025-03-25">
        <day>25</day>
        <month>03</month>
        <year>2025</year>
      </pub-date>
      <volume>3</volume>
      <issue>1</issue>
      <elocation-id>btaf602</elocation-id>
      <pub-history>
        <event>
          <date date-type="received" iso-8601-date="2025-06-02">
            <day>02</day>
            <month>06</month>
            <year>2025</year>
          </date>
        </event>
        <event>
          <date date-type="rev-recd" iso-8601-date="2025-10-24">
            <day>24</day>
            <month>10</month>
            <year>2025</year>
          </date>
        </event>
        <event>
          <date date-type="accepted" iso-8601-date="2025-10-28">
            <day>28</day>
            <month>10</month>
            <year>2025</year>
          </date>
        </event>
      </pub-history>
      <permissions>
        <ali:free_to_read/>
        <license>
          <ali:license_ref>https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
        </license>
      </permissions>
      <abstract>
        <p>Summary</p>
        <p>Marker assisted breeding (MAB) supports breeding by identifying individuals or molecular markers associated with important traits. MAB methods include genome-wide association studies (GWAS) and genomic selection (GS). Local haplotypes are regions of DNA that are inherited together due to high levels of linkage disequilibrium. Local haplotypes can improve the prediction accuracy and power of GS and GWAS. Currently available local haplotyping tools improve GWAS power through fine-mapping of candidate regions or through haplotype-based GWAS. However, no local haplotyping tools utilize the benefits of haplotypes for GS. Here we present HaploVar, a local haplotyping tool designed to improve both GWAS and GS pipelines by identifying local haplotypes and formatting the output to be compatible with all major GWAS and GS tools. HaploVar can be used in any haplotype-based MAB study.</p>
        <p>Availability and implementation</p>
        <p>HaploVar can be downloaded from CRAN with R &gt;4.0.0 (DOI: 10.32614/CRAN.package.HaploVar). HaploVar and a tutorial vignette is available on GitHub (https://github.com/TessaMacNish/HaploVar). HaploVar is available under an MIT license.</p>
      </abstract>
    </article-meta>
  </front>
  <body><sec><title>1 Introduction</title><p>Marker assisted breeding (MAB) is a crop and animal breeding method that selects individuals by identifying molecular markers associated with important traits. Genome-wide association studies (GWAS) are a MAB method that uses linkage disequilibrium (LD) to associate traits of interest with single nucleotide polymorphisms (SNPs) which can function as molecular markers (<xref rid="btaf602-B9" ref-type="bibr">Klein <italic toggle="yes">et al.</italic> 2005</xref>). GWAS is an effective tool for improving simple monogenic traits, where a few genes have a large effect. These simple traits can be applied through gene pyramiding which stacks the molecular markers identified by GWAS into a single genotype (<xref rid="btaf602-B16" ref-type="bibr">Servin <italic toggle="yes">et al.</italic> 2004</xref>). Improving complex polygenic traits, where there are many genes with a small or varied effect on the trait of interest, is more effective using genomic selection (GS). GS is a MAB method that predicts trait expression in the form of genomic estimated breeding values (GEBVs). These GEBVs can then be used to identify optimal individuals for breeding (<xref rid="btaf602-B12" ref-type="bibr">Meuwissen <italic toggle="yes">et al.</italic> 2001</xref>).</p><p>Local haplotypes are multiallelic molecular markers consisting of a group of SNPs that are inherited together due to high levels of linkage disequilibrium (<xref rid="btaf602-B1" ref-type="bibr">Belzile <italic toggle="yes">et al.</italic> 2020</xref>). The use of haplotypes can improve the results of GWAS and GS analyses by accounting for local epistatic effects. Haplotype-based GWAS has greater power to detect QTLs, lower false discovery rate, can map QTLs to a smaller region, and identify a greater number of novel QTLs than conventional SNP-based GWAS (<xref rid="btaf602-B13" ref-type="bibr">Pryce <italic toggle="yes">et al.</italic> 2010</xref>, <xref rid="btaf602-B4" ref-type="bibr">Chen <italic toggle="yes">et al.</italic> 2021</xref>, <xref rid="btaf602-B7" ref-type="bibr">Helal <italic toggle="yes">et al.</italic> 2021</xref>, <xref rid="btaf602-B21" ref-type="bibr">Wu <italic toggle="yes">et al.</italic> 2022</xref>). Haplotypes can improve trait prediction accuracy in GS, especially for traits with high haplotype epistatic heritability (<xref rid="btaf602-B15" ref-type="bibr">Sallam <italic toggle="yes">et al.</italic> 2020</xref>, <xref rid="btaf602-B2" ref-type="bibr">Bian <italic toggle="yes">et al.</italic> 2021</xref>, <xref rid="btaf602-B19" ref-type="bibr">Weber <italic toggle="yes">et al.</italic> 2023</xref>).</p><p>There are two main categories of local haplotyping tools, gene-centric and clustering tools. Gene-centric tools define a haplotype as a small region centered around a gene and can use a fixed length to determine the haplotype region around the gene, e.g. <monospace>Candihap</monospace> (<xref rid="btaf602-B10" ref-type="bibr">Li <italic toggle="yes">et al.</italic> 2023</xref>) or <monospace>RFGB</monospace> (<xref rid="btaf602-B18" ref-type="bibr">Wang <italic toggle="yes">et al.</italic> 2020</xref>), or they can define the haplotype based on LD in the region surrounding the gene, e.g. <monospace>HaploMiner</monospace> (<xref rid="btaf602-B17" ref-type="bibr">Tardivel <italic toggle="yes">et al.</italic> 2019</xref>). Clustering local haplotyping tools such as <monospace>crosshap</monospace> (<xref rid="btaf602-B11" ref-type="bibr">Marsh <italic toggle="yes">et al.</italic> 2023</xref>) arranges molecular markers into groups based on LD. <monospace>Crosshap</monospace> defines local haplotypes in a small region of the genome and visualizes the results. These gene-centric and clustering local haplotyping tools are designed to investigate a small region in greater detail. They are best used once a candidate gene, or a region of interest has been identified and are not suitable for defining genome-wide haplotypes for use in haplotype-based MAB. In contrast, <monospace>HapFM</monospace> clusters SNPs into local haplotypes and then performs GWAS (<xref rid="btaf602-B21" ref-type="bibr">Wu <italic toggle="yes">et al.</italic> 2022</xref>). <xref rid="btaf602-B21" ref-type="bibr">Wu <italic toggle="yes">et al.</italic> (2022)</xref> found consistently higher mapping power using <monospace>HapFM</monospace> when compared to SNP-based GWAS algorithms, demonstrating how haplotypes can improve MAB results. However, <monospace>HapFM</monospace> is limited to GWAS analyses and cannot be used for other MAB approaches.</p><p>Here we present <monospace>HaploVar</monospace>, a local haplotyping tool that clusters SNPs into LD-based haplotypes, identifies haplotype variants and formats the output to be compatible with common GWAS and GS tools. The purpose of <monospace>HaploVar</monospace> is to improve GWAS and GS pipelines by supporting haplotype-based MAB methods.</p></sec><sec><title>2 Main</title><p>
<monospace>HaploVar</monospace> accepts genotype data in VCF format and a pairwise LD matrix and uses these to define local haplotypes, identify the variants for each haplotype, and to output these local haplotype variants in one of six formats for input into a wide range of GWAS and GS tools. The LD matrix can be calculated using tools such as <monospace>PLINK</monospace> (<xref rid="btaf602-B14" ref-type="bibr">Purcell <italic toggle="yes">et al.</italic> 2007</xref>, <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://zzz.bwh.harvard.edu/plink/ld.shtml" ext-link-type="uri">https://zzz.bwh.harvard.edu/plink/ld.shtml</ext-link>) or the <monospace>ld</monospace> function of <monospace>snpStats</monospace> (<xref rid="btaf602-B5" ref-type="bibr">Clayton 2025</xref>). <monospace>HaploVar</monospace> has two sets of functions: <monospace>local_haplotypes</monospace>, which defines local haplotypes and produces a list of local haplotypes and their SNPs; and <monospace>haplotype_variants</monospace>, which identifies haplotype variants, and formats the output for GWAS or GS analyses. These function sets are discussed in more detail in sections 2.1 and 2.2, respectively. In each function set there is the base function, a function with the suffix <monospace>_globally</monospace> which runs the base function over a list of VCF and corresponding LD matrices, and a function with prefix <monospace>collate</monospace>_ which collates output from the base function. These functions are designed to optimize use of computational resources. <monospace>HaploVar</monospace> can be installed using the following R code:<disp-quote content-type="extract"><p><monospace>install.packages(</monospace><monospace>“</monospace><monospace>HaploVar</monospace><monospace>”</monospace><monospace>)</monospace></p><p><monospace>library(HaploVar)</monospace></p></disp-quote></p><sec><title>2.1 Defining local haplotypes</title><p>The function <monospace>define_haplotypes</monospace> uses density-based spatial clustering of applications with noise (DBSCAN) (<xref rid="btaf602-B6" ref-type="bibr">Ester <italic toggle="yes">et al.</italic> 1996</xref>) and a LD matrix to cluster SNPs from the corresponding VCF file into local haplotypes. The benefits of DBSCAN over haplotyping methods include DBSCAN’s ability to scale to large datasets, be robust to outliers, and define clusters of non-spherical or arbitrary shapes which can better represent complex LD patterns (<xref rid="btaf602-B6" ref-type="bibr">Ester <italic toggle="yes">et al.</italic> 1996</xref>, <xref rid="btaf602-B8" ref-type="bibr">Khvorykh <italic toggle="yes">et al.</italic> 2023</xref>). DBSCAN clusters all SNPs considered to be noise into a single group, which is then removed. The parameter keep_outliers = FALSE (default) removes outlier SNPs from within each haplotype. Outliers are removed by calculating the mean LD value for each SNP within the haplotype and removing any SNPs with a mean LD more than 2 standard deviations outside the median intra-haplotype LD value. The parameters epsilon (default = 0.6) and MGmin (default = 30) are used by DBSCAN and influence the densityand amount of noise within the local haplotype. The parameter hetmiss_as determines how missing data is handled for instances where one allele in a genotype is missing (e.g. “./1”). If hetmiss_as = “allele”, the missing allele is assumed to be the reference allele 0 by default. If hetmiss_as = “miss”, the genotype is treated as NA. The function <monospace>d</monospace><monospace>e</monospace><monospace>fine_haplotypes</monospace> produces a list of tables. Each table represents one local haplotype and contains the genotypes for all SNPs within that haplotype. Haplotypes are named according to the position of their first and last SNPs (e.g. “hap_31604185_31646449”).</p><p>The function <monospace>define_haplotypes_globally</monospace> runs <monospace>define_haplotypes</monospace> for a list of VCF files and corresponding LD matrices and collates the results into one list of local haplotype tables. The final function for defining local haplotypes <monospace>collate_define_haplotypes</monospace> requires a list of outputs from <monospace>define_haplotypes</monospace> or <monospace>define_haplotypes_globally</monospace> and collates the results to form one list of local haplotype tables. The <monospace>HaploVar</monospace> package includes two small datasets—<monospace>vcf</monospace> and <monospace>LD—</monospace>which can be used to run all <monospace>HaploVar</monospace> functions. <monospace>vcf</monospace> is s subset of <italic toggle="yes">Brassica napus</italic> data published by <xref rid="btaf602-B20" ref-type="bibr">Wu and colleagues (2019)</xref> and downloaded from CropGS-Hub (<xref rid="btaf602-B3" ref-type="bibr">Chen <italic toggle="yes">et al.</italic> 2024</xref>, <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://iagr.genomics.cn/CropGS/#/Datasets?species=Rapeseed" ext-link-type="uri">https://iagr.genomics.cn/CropGS/#/Datasets? species=Rapeseed</ext-link>). <monospace>LD</monospace> was generated using <monospace>PLINK</monospace> and the parameters—allow-extra-chr and—r2 square (<xref rid="btaf602-B14" ref-type="bibr">Purcell <italic toggle="yes">et al.</italic> 2007</xref>, <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://zzz.bwh.harvard.edu/plink/ld.shtml" ext-link-type="uri">https://zzz.bwh.harvard.edu/plink/ld.shtml</ext-link>). An example of how to run the base <monospace>d</monospace><monospace>e</monospace><monospace>fine_haplotypes</monospace> function is given below:<disp-quote content-type="extract"><p><monospace>define_haplotypes(vcf, LD, epsilon = 0.6, MGmin = 30, hetmiss_as =</monospace><monospace>“</monospace><monospace>allele</monospace><monospace>”</monospace><monospace>, keep_outliers = FALSE)</monospace></p></disp-quote></p></sec><sec><title>2.2 Haplotype variants and formatting</title><p>The function <monospace>haplotype_variants</monospace> defines haplotypes and removes outliers in the same way as <monospace>define_haplotypes</monospace>. Once the local haplotypes have been defined, <monospace>hapl</monospace><monospace>o</monospace><monospace>type_variants</monospace> identifies unique combinations of SNPs within each haplotype. Each unique combination of SNPs is a haplotype variant and is allocated a letter (A-Z), or a combination of letters if there are &gt;26 variants within a haplotype (AA-ZZ, with the exclusion of NA). Haplotype variants present in fewer individuals than minFreq (default = 2) are removed. The genotype for individuals where none of the remaining haplotype variants are present are set to 0. The function haplotype_variants outputs one of six formats depending on the parameter format (default = 1) (see Note 1, available as supplementary data at <italic toggle="yes">Bioinformatics</italic> online). The different output tables can be used as input for a wide range of GWAS and GS tools. The general workflow of the <monospace>hapl</monospace><monospace>o</monospace><monospace>type_variants</monospace> function is shown in <xref rid="btaf602-F1" ref-type="fig">Fig. 1</xref>. The function <monospace>hapl</monospace><monospace>o</monospace><monospace>type_variants_global</monospace> runs <monospace>haplotype_variants</monospace> for a list of VCF files and corresponding LD matrices and collates the results into one table. The final function for identifying haplotype variants <monospace>collate_haplotype_variants</monospace> requires a list of outputs from <monospace>hapl</monospace><monospace>o</monospace><monospace>type_variants</monospace> or <monospace>haplotype_variants_global</monospace> and collates the results to form one table. All tables within the list of output tables must be formatted in the same way. An example of how to run the base <monospace>haplotype_variants</monospace> function is given below:</p><fig position="float" id="btaf602-F1" orientation="portrait"><label>Figure 1.</label><caption><p>Workflow of HaploVar’s haplotype_variants function.</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" position="float" orientation="portrait" xlink:href="/publication/139/files/1528"/></fig><p>
<disp-quote content-type="extract"><p>
<monospace>haplotype_variants(vcf, LD, epsilon = 0.6, MGmin = 30, minFreq = 2, hetmiss_as =</monospace>
<monospace>“</monospace>
<monospace>allele</monospace>
<monospace>”</monospace>
<monospace>, keep_outliers = FALSE, format = 1)</monospace>
</p></disp-quote>
</p><p>Vignettes and documentation on how to use <monospace>HaploVar</monospace> are available at <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://github.com/TessaMacNish/HaploVar" ext-link-type="uri">https://github.com/TessaMacNish/HaploVar</ext-link>.</p></sec></sec><sec><title>3 Conclusions and perspectives</title><p>
<monospace>HaploVar</monospace> is designed to improve MAB pipelines by the preparation of haplotype-based data for GWAS and GS. <monospace>HaploVar</monospace> takes SNP and LD data, calculates local haplotypes, identifies haplotype variants, and formats the output for use in GWAS and GS tools. An example application of <monospace>HaploVar</monospace> can be found in Note 2, available as supplementary data at <italic toggle="yes">Bioinformatics</italic> online. Comparison of <monospace>HaploVar</monospace> with other haplotyping tools is shown in Note 3, available as supplementary data at <italic toggle="yes">Bioinformatics</italic> online. Note 4, available as supplementary data at <italic toggle="yes">Bioinformatics</italic> online shows a parameter sensitivity analysis. Using haplotypes in MAB studies can improve power and trait prediction accuracy.</p><p>Current local haplotyping tools focus on the downstream analysis and fine-mapping of GWAS results or are limited to only haplotype-based GWAS. <monospace>HaploVar</monospace> is the first tool designed utilize the benefits of local haplotypes for both haplotype-based GWAS and haplotype-based GS.</p></sec><sec sec-type="supplementary-material"><title>Supplementary Material</title><supplementary-material id="sup1" position="float" content-type="local-data" orientation="portrait"><label>btaf602_Supplementary_Data</label><media xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="btaf602_supplementary_data.zip" position="float" orientation="portrait"/></supplementary-material></sec></body>
  <back><ack id="ack1"><title>Acknowledgements</title><p>This research was carried out while Tessa MacNish was in receipt of an Australian Government Research Training Program Stipend at The University of Western Australia.</p></ack><sec><title>Author contributions</title><p>Tessa R. MacNish (Conceptualization [equal], Methodology [lead], Writing—original draft [lead]), Hawlader A. Al-Mamun (Investigation [supporting], Writing—review &amp; editing [supporting]), Thomas Bergmann (Investigation [supporting], Writing—review &amp; editing [supporting]), Mitchell S. Bestry (Investigation [supporting], Writing—review &amp; editing [supporting]), Jacob I. Marsh (Investigation [supporting], Writing—review &amp; editing [supporting]), and David Edwards (Conceptualization [equal], Funding acquisition [lead], Methodology [supporting], Project administration [lead], Resources [lead], Supervision [lead], Writing—review &amp; editing [equal])</p></sec><sec><title>Supplementary data</title><p>
<xref rid="sup1" ref-type="supplementary-material">Supplementary data</xref> are available at <italic toggle="yes">Bioinformatics</italic> online.</p><p>Conflict of interest: None declared.</p></sec><sec><title>Funding</title><p>This work was supported by resources provided by the Pawsey Supercomputing Centre with funding from the Australian Government and the Government of Western Australia. We acknowledge funding from the Australia Research Council [Projects DP200100762, DP210100296 and LP230100351].</p></sec><ref-list id="ref1"><title>References</title><ref id="btaf602-B1"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Belzile</surname>
<given-names>F</given-names>
</string-name>, <string-name name-style="western"><surname>Abed</surname><given-names>A</given-names></string-name>, <string-name name-style="western"><surname>Torkamaneh</surname><given-names>D.</given-names></string-name></person-group>  <article-title>Time for a paradigm shift in the use of plant genetic resources</article-title>. <source>Genome</source>  <year>2020</year>;<volume>63</volume>:<fpage>189</fpage>–<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1139/gen-2019-0141</pub-id><pub-id pub-id-type="pmid">31825685</pub-id>
</mixed-citation></ref><ref id="btaf602-B2"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Bian</surname>
<given-names>C</given-names>
</string-name>, <string-name name-style="western"><surname>Prakapenka</surname><given-names>D</given-names></string-name>, <string-name name-style="western"><surname>Tan</surname><given-names>C</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Haplotype genomic prediction of phenotypic values based on chromosome distance and gene boundaries using low-coverage sequencing in duroc pigs</article-title>. <source>Genet Sel Evol</source>  <year>2021</year>;<volume>53</volume>:<fpage>78</fpage>. <pub-id pub-id-type="doi">10.1186/s12711-021-00661-y</pub-id><pub-id pub-id-type="pmid">34620094</pub-id>
<pub-id pub-id-type="pmcid">PMC8496108</pub-id></mixed-citation></ref><ref id="btaf602-B3"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Chen</surname>
<given-names>J</given-names>
</string-name>, <string-name name-style="western"><surname>Tan</surname><given-names>C</given-names></string-name>, <string-name name-style="western"><surname>Zhu</surname><given-names>M</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>CropGS-Hub: a comprehensive database of genotype and phenotype resources for genomic prediction in major crops</article-title>. <source>Nucleic Acids Res</source>  <year>2024</year>; <volume>52</volume>: <fpage>D1519</fpage>–<lpage>29</lpage>. <pub-id pub-id-type="doi">10.1093/nar/gkad1062</pub-id><pub-id pub-id-type="pmid">38000385</pub-id>
<pub-id pub-id-type="pmcid">PMC10767954</pub-id></mixed-citation></ref><ref id="btaf602-B4"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Chen</surname>
<given-names>S</given-names>
</string-name>, <string-name name-style="western"><surname>Liu</surname><given-names>F</given-names></string-name>, <string-name name-style="western"><surname>Wu</surname><given-names>W</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>A SNP-based GWAS and functional haplotype-based GWAS of flag leaf-related traits and their influence on the yield of bread wheat (<italic toggle="yes">Triticum aestivum L</italic>.)</article-title>. <source>Theor Appl Genet</source>  <year>2021</year>;<volume>134</volume>:<fpage>3895</fpage>–<lpage>909</lpage>. <pub-id pub-id-type="doi">10.1007/s00122-021-03935-7</pub-id><pub-id pub-id-type="pmid">34436627</pub-id>
</mixed-citation></ref><ref id="btaf602-B5"><mixed-citation publication-type="other">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Clayton</surname>
<given-names>D.</given-names>
</string-name>
</person-group>  <italic toggle="yes">snpStats: SnpMatrix and XSnpMatrix Classes and Methods. R Package Version 1.59.2</italic>. <year>2025</year>. <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://bioconductor.org/packages/snpStats" ext-link-type="uri">https://bioconductor.org/packages/snpStats</ext-link></mixed-citation></ref><ref id="btaf602-B6"><mixed-citation publication-type="other">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Ester</surname>
<given-names>M</given-names>
</string-name>, <string-name name-style="western"><surname>Kriegel</surname><given-names>HP</given-names></string-name>, <string-name name-style="western"><surname>Sander</surname><given-names>J</given-names></string-name></person-group>  <etal>et al</etal> A density-based algorithm for discovering clusters in large spatial databases with noise. <italic toggle="yes">Knowl Discov Data Min</italic>  <year>1996</year>;<fpage>226</fpage>–<lpage>31</lpage>.</mixed-citation></ref><ref id="btaf602-B7"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Helal</surname>
<given-names>MMU</given-names>
</string-name>, <string-name name-style="western"><surname>Gill</surname><given-names>RA</given-names></string-name>, <string-name name-style="western"><surname>Tang</surname><given-names>M</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>SNP-and haplotype-based GWAS of flowering-related traits in <italic toggle="yes">Brassica napus</italic></article-title>. <source>Plants (Basel)</source>  <year>2021</year>;<volume>10</volume>:<fpage>2475</fpage>. <pub-id pub-id-type="doi">10.3390/plants10112475</pub-id><pub-id pub-id-type="pmid">34834840</pub-id>
<pub-id pub-id-type="pmcid">PMC8619824</pub-id></mixed-citation></ref><ref id="btaf602-B8"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Khvorykh</surname>
<given-names>GV</given-names>
</string-name>, <string-name name-style="western"><surname>Sapozhnikov</surname><given-names>NA</given-names></string-name>, <string-name name-style="western"><surname>Limborska</surname><given-names>SA</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Evaluation of density-based spatial clustering for identifying genomic loci associated with ischemic stroke in genome-wide data</article-title>. <source>Int J Mol Sci</source>  <year>2023</year>;<volume>24</volume>:<fpage>Article 15355</fpage>. <pub-id pub-id-type="doi">10.3390/ijms242015355</pub-id><pub-id pub-id-type="pmid">37895035</pub-id>
<pub-id pub-id-type="pmcid">PMC10607504</pub-id></mixed-citation></ref><ref id="btaf602-B9"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Klein</surname>
<given-names>RJ</given-names>
</string-name>, <string-name name-style="western"><surname>Zeiss</surname><given-names>C</given-names></string-name>, <string-name name-style="western"><surname>Chew</surname><given-names>EY</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Complement factor H polymorphism in age-related macular degeneration</article-title>. <source>Science</source>  <year>2005</year>;<volume>308</volume>:<fpage>385</fpage>–<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1126/science.1109557</pub-id><pub-id pub-id-type="pmid">15761122</pub-id>
<pub-id pub-id-type="pmcid">PMC1512523</pub-id></mixed-citation></ref><ref id="btaf602-B10"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Li</surname>
<given-names>X</given-names>
</string-name>, <string-name name-style="western"><surname>Shi</surname><given-names>Z</given-names></string-name>, <string-name name-style="western"><surname>Gao</surname><given-names>J</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>CandiHap: a haplotype analysis toolkit for natural variation study</article-title>. <source>Mol Breed</source>  <year>2023</year>;<volume>43</volume>:<fpage>21</fpage>. <pub-id pub-id-type="doi">10.1007/s11032-023-01366-4</pub-id><pub-id pub-id-type="pmid">37313297</pub-id>
<pub-id pub-id-type="pmcid">PMC10248607</pub-id></mixed-citation></ref><ref id="btaf602-B11"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Marsh</surname>
<given-names>JI</given-names>
</string-name>, <string-name name-style="western"><surname>Petereit</surname><given-names>J</given-names></string-name>, <string-name name-style="western"><surname>Johnston</surname><given-names>BA</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>crosshap: R package for local haplotype visualization for trait association analysis</article-title>. <source>Bioinformatics</source>  <year>2023</year>;<volume>39</volume>:btad518. <pub-id pub-id-type="doi">10.1093/bioinformatics/btad518</pub-id><pub-id pub-id-type="pmcid">PMC10471896</pub-id><pub-id pub-id-type="pmid">37607004</pub-id></mixed-citation></ref><ref id="btaf602-B12"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Meuwissen</surname>
<given-names>THE</given-names>
</string-name>, <string-name name-style="western"><surname>Hayes</surname><given-names>BJ</given-names></string-name>, <string-name name-style="western"><surname>Goddard</surname><given-names>ME.</given-names></string-name></person-group>  <article-title>Prediction of total genetic value using genome-wide dense marker maps</article-title>. <source>Genetics</source>  <year>2001</year>;<volume>157</volume>:<fpage>1819</fpage>–<lpage>29</lpage>. <pub-id pub-id-type="doi">10.1093/genetics/157.4.1819</pub-id><pub-id pub-id-type="pmid">11290733</pub-id>
<pub-id pub-id-type="pmcid">PMC1461589</pub-id></mixed-citation></ref><ref id="btaf602-B13"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Pryce</surname>
<given-names>JE</given-names>
</string-name>, <string-name name-style="western"><surname>Bolormaa</surname><given-names>S</given-names></string-name>, <string-name name-style="western"><surname>Chamberlain</surname><given-names>AJ</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>A validated genome-wide association study in 2 dairy cattle breeds for milk production and fertility traits using variable length haplotypes</article-title>. <source>J Dairy Sci</source>  <year>2010</year>;<volume>93</volume>:<fpage>3331</fpage>–<lpage>45</lpage>. <pub-id pub-id-type="doi">10.3168/jds.2009-2893</pub-id><pub-id pub-id-type="pmid">20630249</pub-id>
</mixed-citation></ref><ref id="btaf602-B14"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Purcell</surname>
<given-names>S</given-names>
</string-name>, <string-name name-style="western"><surname>Neale</surname><given-names>B</given-names></string-name>, <string-name name-style="western"><surname>Todd-Brown</surname><given-names>K</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>PLINK: a tool set for whole-genome association and population-based linkage analyses</article-title>. <source>Am J Hum Genet</source>  <year>2007</year>;<volume>81</volume>:<fpage>559</fpage>–<lpage>75</lpage>. <pub-id pub-id-type="doi">10.1086/519795</pub-id><pub-id pub-id-type="pmid">17701901</pub-id>
<pub-id pub-id-type="pmcid">PMC1950838</pub-id></mixed-citation></ref><ref id="btaf602-B15"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Sallam</surname>
<given-names>AH</given-names>
</string-name>, <string-name name-style="western"><surname>Conley</surname><given-names>E</given-names></string-name>, <string-name name-style="western"><surname>Prakapenka</surname><given-names>D</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Improving prediction accuracy using multi-allelic haplotype prediction and training population optimization in wheat</article-title>. <source>G3 (Bethesda)</source>  <year>2020</year>;<volume>10</volume>:<fpage>2265</fpage>–<lpage>73</lpage>. <pub-id pub-id-type="doi">10.1534/g3.120.401165</pub-id><pub-id pub-id-type="pmid">32371453</pub-id>
<pub-id pub-id-type="pmcid">PMC7341132</pub-id></mixed-citation></ref><ref id="btaf602-B16"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Servin</surname>
<given-names>B</given-names>
</string-name>, <string-name name-style="western"><surname>Martin</surname><given-names>OC</given-names></string-name>, <string-name name-style="western"><surname>Mezard</surname><given-names>M</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Toward a theory of marker-assisted gene pyramiding</article-title>. <source>Genetics</source>  <year>2004</year>;<volume>168</volume>:<fpage>513</fpage>–<lpage>23</lpage>. <pub-id pub-id-type="doi">10.1534/genetics.103.023358</pub-id><pub-id pub-id-type="pmid">15454561</pub-id>
<pub-id pub-id-type="pmcid">PMC1448128</pub-id></mixed-citation></ref><ref id="btaf602-B17"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Tardivel</surname>
<given-names>A</given-names>
</string-name>, <string-name name-style="western"><surname>Torkamaneh</surname><given-names>D</given-names></string-name>, <string-name name-style="western"><surname>Lemay</surname><given-names>MA</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>A systematic gene‐centric approach to define haplotypes and identify alleles on the basis of dense single nucleotide polymorphism datasets</article-title>. <source>Plant Genome</source>  <year>2019</year>;<volume>12</volume>:<fpage>1</fpage>–<lpage>11</lpage>. <pub-id pub-id-type="doi">10.3835/plantgenome2018.08.0061</pub-id><pub-id pub-id-type="pmcid">PMC12810027</pub-id><pub-id pub-id-type="pmid">33016581</pub-id></mixed-citation></ref><ref id="btaf602-B18"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Wang</surname>
<given-names>CC</given-names>
</string-name>, <string-name name-style="western"><surname>Yu</surname><given-names>H</given-names></string-name>, <string-name name-style="western"><surname>Huang</surname><given-names>J</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Towards a deeper haplotype mining of complex traits in rice with RFGB v2.0</article-title>. <source>Plant Biotechnol J</source>  <year>2020</year>;<volume>18</volume>:<fpage>14</fpage>–<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1111/pbi.13215</pub-id><pub-id pub-id-type="pmid">31336017</pub-id>
<pub-id pub-id-type="pmcid">PMC6920129</pub-id></mixed-citation></ref><ref id="btaf602-B19"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Weber</surname>
<given-names>SE</given-names>
</string-name>, <string-name name-style="western"><surname>Frisch</surname><given-names>M</given-names></string-name>, <string-name name-style="western"><surname>Snowdon</surname><given-names>RJ</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Haplotype blocks for genomic prediction: a comparative evaluation in multiple crop datasets</article-title>. <source>Front Plant Sci</source>  <year>2023</year>;<volume>14</volume>:<fpage>1217589</fpage>. <pub-id pub-id-type="doi">10.3389/fpls.2023.1217589</pub-id><pub-id pub-id-type="pmid">37731980</pub-id>
<pub-id pub-id-type="pmcid">PMC10507710</pub-id></mixed-citation></ref><ref id="btaf602-B20"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Wu</surname>
<given-names>D</given-names>
</string-name>, <string-name name-style="western"><surname>Liang</surname><given-names>Z</given-names></string-name>, <string-name name-style="western"><surname>Yan</surname><given-names>T</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Whole-genome resequencing of a worldwide collection of rapeseed accessions reveals the genetic basis of ecotype divergence</article-title>. <source>Mol Plant</source>  <year>2019</year>;<volume>12</volume>:<fpage>30</fpage>–<lpage>43</lpage>. <pub-id pub-id-type="doi">10.1016/j.molp.2018.11.007</pub-id><pub-id pub-id-type="pmid">30472326</pub-id>
</mixed-citation></ref><ref id="btaf602-B21"><mixed-citation publication-type="journal">
<person-group person-group-type="author">
<string-name name-style="western">
<surname>Wu</surname>
<given-names>X</given-names>
</string-name>, <string-name name-style="western"><surname>Jiang</surname><given-names>W</given-names></string-name>, <string-name name-style="western"><surname>Fragoso</surname><given-names>C</given-names></string-name></person-group>  <etal>et al</etal>  <article-title>Prioritized candidate causal haplotype blocks in plant genome-wide association studies</article-title>. <source>PLoS Genet</source>  <year>2022</year>; <volume>18</volume>:<fpage>e1010437</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pgen.1010437</pub-id><pub-id pub-id-type="pmid">36251695</pub-id>
<pub-id pub-id-type="pmcid">PMC9612827</pub-id></mixed-citation></ref></ref-list>
    <sec sec-type="data-availability">
      <title>Data Availability</title>
      <p>The data underlying this article are available in CropGS-Hub at https://iagr.genomics.cn/CropGS/#/Datasets?species=Rapeseed</p>
    </sec>
  </back>
</article>
