Skip to main content
G3: Genes | Genomes | Genetics logoLink to G3: Genes | Genomes | Genetics
. 2013 Oct 11;3(12):2147–2149. doi: 10.1534/g3.113.008623

MAPfastR: Quantitative Trait Loci Mapping in Outbred Line Crosses

Ronald M Nelson *,†,1, Carl Nettelblad , Mats E Pettersson *,, Xia Shen *,§, Lucy Crooks §,**, Francois Besnier , José M Álvarez-Castro †,††,‡‡, Lars Rönnegård †,§§, Weronica Ek , Zheya Sheng *,†,***, Marcin Kierczak *,, Sverker Holmgren , Örjan Carlborg *,
PMCID: PMC3852377  PMID: 24122053

Abstract

MAPfastR is a software package developed to analyze quantitative trait loci data from inbred and outbred line-crosses. The package includes a number of modules for fast and accurate quantitative trait loci analyses. It has been developed in the R language for fast and comprehensive analyses of large datasets. MAPfastR is freely available at: http://www.computationalgenetics.se/?page_id=7

Keywords: QTL mapping, inbred line cross, outbred line cross, quantitative genetics


Quantitative trait loci (QTL) mapping is a valuable tool for unraveling the complex genetic architecture of phenotypic traits. A number of software packages currently are available for detecting QTL from marker data (for reviews, see Manly and Olson 1999; Durrant et al. 2011; Zhou et al. 2012). Most of the software were developed for analyses of various types of crosses between inbred lines, including backcrosses and F2 crosses (R/QTL, Broman 2003; Joehanes and Nelson 2008), multicross designs (heterogeneous stocks and collaborative crosses; Mott et al. 2000; Jourjon et al. 2005; Huang and George 2011), and advanced intercross lines (Peirce et al. 2008). Although we have written an extension to R/QTL that enables data from outbred lines to be analyzed (Nelson et al. 2011), the functionality is limited. There is some software designed for outbred populations and line crosses (e.g., QxPak, Pérez-Enciso and Misztal 2004 and GridQTL, Seaton et al. 2006), but as they are several years old, and the algorithms they use are not able to handle the large amount of data produced by current SNP chip technology (Crooks et al. 2011).

MAPfastR is a fast and comprehensive software package for analyzing QTL data from outbred line-crosses that has been developed for flexible analyses of large datasets. MAPfastR is distinct from other packages in several ways. Notably, MAPfastR is based on a computationally efficient algorithm that uses all available data from dense SNP-chips (i.e., tens to hundreds of thousands of markers, similar to association studies) and pedigree information (Crooks et al. 2011). MAPfastR provides functionality for F2 crosses and backcrosses under the assumption that different QTL alleles are fixed in the founder lines (Crooks et al. 2011), line-cross analyses allowing for within-line segregation (flexible interclass analysis [FIA]; Rönnegård et al. 2008), and tests for epistatic interactions (Carlborg and Andersson 2002). In addition to the standard functionality, the software comes with add-on packages that allow more experienced users to take advantage of modules for analyses of deep (Advanced Intercross Line) pedigrees. MAPfastR includes an online developer and community-based support system. MAPfastR is implemented in the R language (with optimization of the more computationally intensive algorithms in C++), accepts several standard input formats and is available for Windows, Unix, and Mac OS.

Implementation

MAPfastR integrates a number of published analytical tools by providing them within a comprehensive R package with a user-friendly interface and accompanying documentation. An outline of the analysis pipeline is shown in Figure 1. The main functions in the package are briefly described herein.

Figure 1.

Figure 1

Outline of MAPfastR.

Data import

The first release (v 1.0) of MAPfastR supports two major input formats (CRI-MAP, Green et al. 1990 and triM, Crooks et al. 2011). All imported data are stored in a standardized R object, which consists of a list with two main components (phenotypic and pedigree data, and genotypic data) and several optional attributes (storing, for example, information on which is the heterogametic sex and which is the sex chromosome). A full description of the data object is provided in Supporting Information, File S1. Once the data import is completed, the internal data format can be used for outbred pedigree analyses by use of the main and supplementary analysis modules as well as additional custom analyses coded by the user. As output from the available functions is produced, it is appended to the data object, facilitating further analyses using the results. Support for more formats is in progress and will be provided in coming releases.

Least-squares QTL mapping

A module is provided to perform QTL mapping by least-squares regression (Haley and Knott 1992), where a user-selected phenotype is regressed onto genetic effect variables derived from genotype probabilities.

Calculation of QTL genotype probabilities using trim:

The probabilities of alleles in the mapping population originating from each founder line are calculated using the triM algorithm (Nettelblad et al. 2009; Crooks et al. 2011). The algorithm uses a hidden Markov model to trace allele transmission in the pedigree. The line origins are calculated at user-defined, regular intervals along the chromosome and returned to the data object for further analysis.

Regression analysis:

Estimates of QTL effects are provided together with a plot of the test statistic from the fitted model across the genome, which illustrates the QTL locations. Analyses can be done on both autosomes and the homogametic sex chromosome, and for backcrosses and F2 crosses. Permutation testing can be performed by creating appropriately permuted datasets to derive an empirical significance threshold (Churchill and Doerge 1994).

FIA

FIA (Rönnegård et al. 2008) is an algorithm developed for analyses of outbred line-cross data where it is not reasonable to assume fixation of different QTL alleles in the founder lines. The analysis is performed by the following two steps.

IBD estimation using MCIBD:

Identity by descent (IBD) matrices are estimated from the QTL genotype probabilities calculated from triM using the Monte Carlo Identity-By-Descent Matrix Estimation (MCIBD) algorithm (Shen et al. 2011). These matrices are used in the second step of the FIA analysis.

FIA:

The variance-component-based FIA analysis scans the genome and provides estimates of genetic effects at regular spaced, user-defined locations in the genome as well as estimates of the likelihood that the QTL is fixed or segregating within the founder lines. The significance testing is based on a score-statistic and empirical significance thresholds are derived by permutation (Rönnegård et al. 2008).

Estimation of genetic effects using the Natural and Orthogonal InterAction model

The Natural and Orthogonal InterAction (NOIA) model is a unified model that ensures genetic effect estimates are orthogonal and enables effects to be translated from one population to another, aiding biological interpretation (Álvarez-Castro and Carlborg 2001). This allows users to estimate, for example, interaction effects that are comparable between populations and construct high-order genotype-phenotype maps for further analyses of interactions (e.g., Álvarez-Castro and Rouzic 2008; Le Rouzic et al. 2008; Le Rouzic and Álvarez-Castro 2008).

Variance-component-based analysis of deep intercross pedigrees

An external module for performing analyses of deep pedigrees is provided as an unsupported add-on function for advanced users (Besnier et al. 2011). When this module is used, individuals from Advanced Intercross Lines generated from outbred founders can be haplotyped and an IBD matrix created that can be used to screen the genome for QTL using the FIA module for variance-component-based analysis.

Results

Each of the functions has been extensively tested during development (Crooks et al. 2011; Ek et al. 2012; Shen et al. 2012). The complete pipeline has also been thoroughly tested to ensure that the package performs as a whole. Sample code for a complete analysis of an outbred line-cross and the resulting output is available in the supplementary documentation and example files.

In conclusion, MAPfastR is a comprehensive, fast, and accurate software that is able to perform various methods for QTL mapping in outbred line-cross data. It can also be used for analyzing data from inbred line crosses, where the computational efficiency may be a benefit. Add-on functions for the analysis of deeper pedigrees are also provided for advanced users. MAPfastR is under ongoing development to extend and improve its functionality and is extensively documented, with support available through an online forum for community and developers alike (https://groups.google.com/d/forum/mapfastr).

Supplementary Material

Supporting Information

Acknowledgments

This work was supported by the Future Research Leader program of the Swedish Foundation for Strategic Research and a EURYI Award from the European Science Foundation to Ö.C.

Footnotes

Communicating editor: R. B. Brem

Literature Cited

  1. Álvarez-Castro J. M., Carlborg Ö., 2001.  A unified model for functional and statistical epistasis and its application in quantitative trait Loci analysis. Genetics 176: 1151–1167. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Álvarez-Castro J. M., Rouzic A. L., 2008.  How to perform meaningful estimates of genetic effects. PLoS Genet. 4: e1000062. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Besnier F., Wahlberg P., Rönnegård L., Ek W., Andersson L., et al. , 2011.  Fine mapping and replication of QTL in outbred chicken advanced intercross lines. Genet. Sel. Evol. 43: 3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Broman K. W., 2003.  R/qtl: QTL mapping in experimental crosses. Bioinformatics 19: 889–890. [DOI] [PubMed] [Google Scholar]
  5. Carlborg Ö., Andersson L., 2002.  Use of randomization testing to detect multiple epistatic QTLs. Genet. Res. 79: 175–184. [DOI] [PubMed] [Google Scholar]
  6. Churchill G. A., Doerge W. R., 1994.  Empirical threshold values for quantitative trait mapping. Genetics 138: 963–971. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Crooks L., Nettelblad C., Carlborg Ö., 2011.  An improved method for estimating chromosomal line origin in QTL analysis of crosses between outbred lines. Genes. Genom. Genet. 1: 57–64. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Ek W., Sahlqvist A. S., Crooks L., Sgonc R., Dietrich H., et al. , 2012.  Mapping QTL affecting a systemic sclerosis-like disorder in a cross between UCD-200 and red jungle fowl chickens. Dev. Comp. Immunol. 38: 352–359. [DOI] [PubMed] [Google Scholar]
  9. Durrant C., Swertz M. A., Alberts R., Arends D., Moller S., et al. , 2011.  Bioinformatics tools and database resources for systems genetics analysis in mice–a short review and an evaluation of future needs. Brief. Bioinform. 13: 135–142. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Green P., Fallsand K., Crooks S., 1990.  CRI-MAP Documentation, version 2.4, Washington University School of Medicine, St. Louis, MO. [Google Scholar]
  11. Haley C. S., Knott S. A., 1992.  A simple regression method for mapping quantitative trait loci in line crosses using flanking markers. Heredity 69: 315–324. [DOI] [PubMed] [Google Scholar]
  12. Huang B. E., George A. W., 2011.  R/mpMap: a computational platform for the genetic analysis of multiparent recombinant inbred lines. Bioinformatics 27: 727–729. [DOI] [PubMed] [Google Scholar]
  13. Joehanes R., Nelson J. C., 2008.  QGene 4.0, an extensible Java QTL-analysis platform. Bioinformatics 24: 2788–2789. [DOI] [PubMed] [Google Scholar]
  14. Jourjon M. F., Jasson S., Marcel J., Ngom B., Mangin B., 2005.  MCQTL: multi-allelic QTL mapping in multi-cross design. Bioinformatics 21: 128–130. [DOI] [PubMed] [Google Scholar]
  15. Le Rouzic A., Álvarez-Castro J. M., 2008.  Estimation of genetic effects and genotype-phenotype maps. Evol. Bioinform. 4: 225–235. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Le Rouzic A., Álvarez-Castro J. M., Carlborg Ö., 2008.  Dissection of the genetic architecture of body weight in chicken reveals the impact of epistasis on domestication traits. Genetics 179: 1591–1599. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Manly K. F., Olson J. M., 1999.  Overview of QTL mapping software and introduction to map manager QT. Mamm. Genome 10: 327–334. [DOI] [PubMed] [Google Scholar]
  18. Mott R., Talbot C. J., Turri M. G., Collins A. C., Flint J., 2000.  A method for fine mapping quantitative trait loci in outbred animal stocks. Proc. Natl. Acad. Sci. USA 97: 12649–12654. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Nelson R. M., Shen X., Carlborg Ö., 2011.  qtl.outbred: Interfacing outbred line cross data with the R/qtl mapping software. BMC Res. Notes 4: 154. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Nettelblad C., Holmgren S., Crooks L., 2009.  cnF2freq: efficient determination of genotype and haplotype probabilities in outbred populations using markov models. Bioinform. Comp. Biol. 5462: 307–319. [Google Scholar]
  21. Peirce J. L., Broman K. W., Lu L., Chesler E. J., Zhou G., et al. 2008.  Genome Reshuffling for Advanced Intercross Permutation (GRAIP): simulation and permutation for advanced intercross population analysis. PloS One 3: e1977. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Pérez-Enciso M., Misztal I., 2004.  Qxpak: a versatile mixed model application for genetical genomics and QTL analyses. Bioinformatics 20: 2792–2798. [DOI] [PubMed] [Google Scholar]
  23. Rönnegård L., Besnier F., Carlborg Ö., 2008.  An improved method for quantitative trait loci detection and identification of within-line segregation in F2 intercross designs. Genetics 178: 2315–2326. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Seaton, G., J. Hernandez, J. A. Grunchec, I. White, J. Allen et al., 2006  GridQTL: a grid portal for QTL mapping of compute intensive datasets. Proceedings of the 8th World Congress on Genetics Applied to Livestock Production, August 13–18, 2006. [Google Scholar]
  25. Shen S., Rönnegard L., Carlborg Ö., 2011.  How to deal with genotype uncertainty in variance component quantitative trait loci analyses. Genet. Res. 93: 333–342. [DOI] [PubMed] [Google Scholar]
  26. Shen X., Pettersson M., Rönnegård L., Carlborg Ö., 2012.  Inheritance beyond plain heritability: variance-controlling genes in Arabidopsis thaliana. PLoS Genet. 8: e1002839. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Zhou J. J., Ghazalpour A., Sobel E. M., Sinsheimer J. S., Lange K., 2012.  Quantitative trait loci association mapping by imputation of strain origins in multifounder crosses. Genetics 190: 459–473. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supporting Information

Articles from G3: Genes|Genomes|Genetics are provided here courtesy of Oxford University Press

RESOURCES