Genetic variation for gene expression is a source of phenotypic variation for natural and agricultural species. The common approach to map and to quantify gene expression from genetically distinct individuals is to assign their RNA-seq reads to a single reference genome. However, RNA-seq reads from alleles dissimilar to this reference genome may fail to map correctly, causing transcript levels to be underestimated. Presently, the extent of this mapping problem is not clear, particularly in highly diverse species. We investigated if mapping bias occurred and if chromosomal features associated with mapping bias. Zea mays presents a model species to assess these questions, given it has genotypically distinct and well-studied genetic lines.
In Zea mays, the inbred B73 genome is the standard reference genome and template for RNA-seq read assignments. In the absence of mapping bias, B73 and a second inbred line, Mo17, would each have an approximately equal number of regulatory alleles that increase gene expression. Remarkably, Mo17 had 2–4 times fewer such positively acting alleles than did B73 when RNA-seq reads were aligned to the B73 reference genome. Reciprocally, over one-half of the B73 alleles that increased gene expression were not detected when reads were aligned to the Mo17 genome template. Genes at dissimilar chromosomal ends were strongly affected by mapping bias, and genes at more similar pericentromeric regions were less affected. Biased transcript estimates were higher in untranslated regions and lower in splice junctions. Bias occurred across software and alignment parameters.
Mapping bias very strongly affects gene transcript abundance estimates in maize, and bias varies across chromosomal features. Individual genome or transcriptome templates are likely necessary for accurate transcript estimation across genetically variable individuals in maize and other species.
Gene expression differences among genetically distinct individuals contribute to phenotypic differences. For example, disease resistant genotypes in plants may suppress the expression of genes that cause them to be susceptible to a pathogen  or have distinct transcriptome responses to pathogens . In response to abiotic stresses, distinct transcripts underlie genotypes with different secondary metabolite accumulation and survival [3, 4]. Developmentally, flowering time , seed size [6, 7], and fruit size  all vary because of gene regulatory variation. Selection may act on these regulatory differences .
RNA-seq is the major platform for genome-wide assessment of transcript abundances . A standard practice is to first assign RNA-seq reads to a single, high quality reference genome or transcriptome and second to use the number of assigned reads as an indicator of transcript abundance [10, 11]. Nonetheless, estimating gene expression using this method across genetically distinct individuals can be problematic. An RNA-seq read may map to its source gene, but an RNA-seq read from an allele dissimilar to the reference allele may not map  or may map to an incorrect genomic location . Preferential alignment of reads can be detected if transcript levels from different genotypes are systematically unequal.
The extent to which genetic variation affects RNA-seq based transcript estimates correlates with genetic distance. Quinn et al. (2014) aligned RNA-seq reads from the F1 progeny of a cross between two inbred Drosophila melanogaster lines to the D. melanogaster reference genome and estimated allele transcript abundances at polymorphic sites. The expected proportion of aligned reads carrying the reference allele was 0.5, and the observed mean proportion was 0.535 using standard alignment methods . The two Drosophila lines differ on average by 3.3 SNPs and 0.74 indels per kb (29,999 SNPs over 5404 genes) [14, 15]. In humans, Panousis et al. (2014) found that 15.6% of variants unequally aligned to the human reference genome . The focal set of European populations in Panousis et al. (2014) had on average 3.53 million SNPs and 546,000 indels (about 1.1 SNPs and 0.17 SNPS per kb) relative to the reference. The studies reviewed so far used a single reference genome. In contrast, Munger et al. 2014 put forth an approach that uses individual genomes as references . They simulated RNA-seq reads from 277 genetically distinct mice, finding that reads which mapped to the individual genome sequences yielded notably different results than reads mapped to a single, reference genome . Out of 6437 true positive cis-acting loci, aligning reads to individual genomes yielded 6349 (98.6%). One percent of all cis-acting regulatory loci (64) were false positives. In contrast, aligning to one reference genome captured 5973 (92.8%) of the true positive cis-acting loci and 1086 false positive loci, 16.9% of the true positive number. The mice lines reported in Munger et al. 2014 had on average 4.6 SNPs per kb and 0.61 indels per kb.
Maize is highly polymorphic, so mapping bias may be common. In an analysis of 916 maize lines, genotypes differed by as many as 60 million variant sites, or about 29 variants per kb . Inbred lines B73 and Mo17 are parents of a high-yielding hybrid and are frequently used in maize genetics research. Chromosomes from Mo17 differ from B73 at about 8 SNPs and 1 indel per kb (7.66 SNPs and 1.11 indels per kilobase) . The first objective of this study was to explore the extent to which estimates of genetic variation for gene expression in maize are affected by preferential read mapping of some genotypes’ RNA-seq reads. Although, there is a large amount of diversity on average, some genomic regions, both large and small, are less variable . Untranslated regions (UTRs) are more variable than coding sequences [21,22,23]. Splice sites have relatively few SNP differences and are usually highly conserved over very long periods of time [23, 24]. The second objective of this study was to determine if and how preferential read mappings are affected by chromosome and gene level attributes.
We discovered that the effect of mapping bias on maize transcript levels was very strong. Changes in read mapping methodology ameliorated the magnitude of bias, but the number of biased genes was largely unchanged. The degree of preferential mapping differed across splice sites, UTRs, and most notably chromosomal regions. We propose only mapping to individual genomes will ensure the accuracy of maize transcript abundance estimates.
Alignment bias affected many genes’ transcript abundance estimates
To evaluate if mapping bias affected maize transcript abundance estimates, we determined if reads from a template genome’s alleles were mapped more often than reads from non-template alleles. We estimated genes’ expression abundances across a population of 105 recombinant inbred maize lines (RILs) derived from a cross between two inbred parents, B73 and Mo17  using STAR and StringTie to align RNA-seq reads and estimate gene coverage [26, 27]. Unlinked loci within this population are in linkage equilibrium. Thus, an association between a gene’s allele and the gene’s expression level across the population, e.g. the presence of a cis-eQTL, indicates allelic variation affects gene expression. 3.47 billion, single-end RNA-seq reads from the 105 lines were aligned to both the B73 and Mo17 genome sequences [19, 28], and gene transcript abundances estimated. If reads from B73 alleles preferentially aligned to the B73 genome relative to reads from Mo17 alleles, RILs with B73 alleles at cis-eQTL would have higher transcript abundances than RILs with Mo17 alleles. Similarly, if reads from Mo17 alleles preferentially aligned to the Mo17 genome, Mo17 alleles would tend to upregulate transcripts relative to B73 alleles. Using the B73 genome as a reference, we detected 9306 cis-eQTL out of 22,408 variable genes. Remarkably, 68.1% (6341) of the eQTL had positive B73 alleles and 31.9% (2965) had positive Mo17 alleles (Table 1). In contrast, using Mo17 the reference genome detected 7985 cis-eQTL from 16,983 variable genes. 64.7% (5169) had positive Mo17 alleles and 35.3% (2816) had positive B73 alleles (Table 1). 50% of the detected eQTL depended on the reference genome. 56% (3525/6341) of the positive B73 cis-eQTL detected when reads were aligned to the B73 reference genome were not detected when Mo17 was used as a reference genome. 43% (2204/5169) of Mo17 positive cis-eQTL detected when reads were aligned to the Mo17 reference genome were not detected when B73 was used as the reference genome.
The eQTL analyses identified 1000s of genes whose expression level differences amongst inbred lines depended on the reference genome used to assay expression. Other genes’ expression levels were likely affected but not detected by eQTL mapping because the reference genome had a small effect on transcript level estimates and/or because there was insufficient power to detect a difference between alleles’ transcripts. Since neighboring genes are in strong linkage disequilibrium within the RIL population , chromosomal regions are comprised of B73 and Mo17 haplotypes. To detect possible biased alignment amongst genes without eQTL, we determined if genes within haplotypes had correlated transcript levels. In the presence of mapping bias when aligning reads to the B73 reference, linked genes within B73 haplotypes would consistently have higher levels of expression than linked genes within a Mo17 haplotype, and these genes would be coexpressed across the RIL population (Fig. 1a). In contrast, if a B73 haplotype did not have a consistent, positive effect on gene expression, all linked genes would not be coexpressed in a single group (Fig. 1b). The B73 haplotype was inferred to often consistently increase transcript levels of linked genes relative to the Mo17 haplotype. For example, a 132 Mb region of chromosome 10 had one group of 296 correlated genes, the cyan cluster. All genes within this group were positively affected by B73 alleles. At 212 genes, B73 alleles significantly increased transcript expression resulting in cis-eQTL. Similarly, a 20 Mb region of chromosome 3 had one group of 92 coexpressed genes, the plum1 cluster (Tables S1 and S2). All genes within this group were also positively affected by B73 alleles. 79 genes had cis eQTL, and the B73 allele had a positive effect on gene expression for all 79. The large number of genes without eQTL that correlated with linked genes with eQTL (Tables S1 and S2) suggested alignment bias was widespread.
Sequence divergence between B73 and Mo17 affected transcript abundance estimates
The frequency of alignment bias greatly increased from chromosomes’ centromeres to telomeres mirroring the occurrence of SNPs between B73 and Mo17. While we could identify SNPs from our RNA-seq data, gene transcript abundance affects SNP calls . Thus, we used SNPs detected by genomic DNA analyses . The occurrence of SNPs between B73 and Mo17 increased from the centromeres to the end of the chromosomes. The correlation between alignment bias and sequence divergence can be seen, for example, in chromosome 3. The proportion of B73 positive eQTL increased from below 40% near the centromeres to close to 80% at one chromosome end (Fig. 2). The number of SNPs per gene increased from an average of 1 SNP around the centromere to an average of 1.5 SNPs at the chromosome ends. Higher alignment bias at divergent chromosome ends can be seen across all chromosomes (Fig. S1).
Nucleotide sequence divergence positively correlated with transcript level differences between the B73 reference alleles and the Mo17 non-reference alleles. We correlated B73 and Mo17 SNPs detected by genomic DNA analyses with allelic differences in gene expression . Of the 6341 genes upregulated by B73 cis-eQTL, 5559 had one or more SNP. Median fragments per kilobase exon per million mapped reads (FPKM) difference between individuals homozygous for alternative alleles increased by 0.05 FPKM per SNP per 1 kb exon (Fig. 3a, P = 2.9e-6, R2 = 0.82). Transcript abundances in divergent sequences may differ because sequence divergence can correlate with regulatory divergence . To investigate this idea, we examined the effects of sequence divergence on Mo17 reads aligned to the B73 reference genome. Among Mo17 positive eQTL, the expression differences between Mo17 genes dissimilar to B73 genes were only slightly higher than differences between the Mo17 genes similar to B73 genes (Fig. 3b, P = 0.014, R2 = 0.38). Preferential mapping of B73 reads to the B73 genome at diverged loci best explained the positive relationship between sequence divergence and expression divergence amongst eQTL.
Preferential mapping of reads was also higher across UTRs relative to other gene features. Among the genes with positive B73 cis-eQTL effects, a median of 15.7% of reads mapped to UTRs. In contrast, among the genes with negative B73 cis-eQTL effects, the median was 13.4% (Wilcoxon rank sum test, W = 25,439,952, P < 2.2e-16; Table 2). Furthermore, among those genes that had B73 alleles that enhanced expression, reads from B73 alleles aligned more to UTRs than did reads from Mo17 alleles. Among these genes, 17.1% of genes’ reads from B73 mapped to UTRs. By contrast, 14.3% of reads from Mo17 mapped to UTRs (Wilcoxon signed rank test, V = 7,544,600, P < 2.2e-16, Table 2).
Genes with biased read alignments had a low proportion of reads aligning to splice junctions. Transcript levels of genes with more junction spanning reads were less affected by preferential alignment than genes with fewer. Genes with B73 positive eQTL had a very small but significantly lower percentage of reads that spanned splice junctions than did reads with Mo17 positive eQTL (15.2% vs. 15.7%; Wilcoxon rank sum test, W = 23,696,329, p-value = 4.518e-4; Table 3). In addition, across the genes with splice sites for which Mo17 alleles enhanced expression, reads from Mo17 alleles overlapped splice sites at a small yet significantly higher percent than reads from B73 alleles (15.8 vs. 15.6; Wilcoxon signed rank test, V = 1,269,200, p-value = 0.019; Table 3).
Read alignment parameters and software reduced the effects of preferential read alignments, but all analyses detected a large number of biased genes
Allowing more SNPs between reads and the genome template reduced the effects of preferential read alignment. New eQTL identified when allowing more SNPs in alignment criteria had significantly more Mo17 positive effects than B73 positive effects relative to existing eQTL identified with default criteria (Table S3, X2-test, P < 2.2e-16). The effects of eQTL also changed. 5951 eQTL at which B73 alleles promoted gene expression were shared between analyses that used gene expression estimates calculated by the default and most relaxed mapping criteria. 4801 (80.7%) had greater effects on transcript abundance in the default analysis (Fig. 4). Similarly, among the 6005 cis-eQTL detected in analyses of both the default and more relaxed alignment datasets, 4872 (81.1%) had greater B73 effects in the default analysis (Fig. S2).
Changing alignment criteria had little effect on the numbers of genes with biased read alignment. B73 alleles promoted expression at 66.6% of eQTL detected with the most relaxed alignment criteria. This proportion was not significantly lower than the 68.1% found using default criteria (X2-test, P = 0.03, Table 4).
Many studies have reported genetic variation for gene expression using TopHat and Cufflinks analyses . Although the STAR read alignment and StringTie transcript assembly analyses detected large numbers of genes whose expression values were due to preferential read mapping, TopHat and Cufflinks transcript estimates were even more affected. Among the 28,289 genes with the most variable expression, 11,908 were significantly affected by one cis-eQTL and no trans-eQTL (Table 4). For 83.2% (9905) of these genes, the B73 cis-eQTL upregulated transcript levels (Table 4). Among detected cis-eQTL, sequence divergence explained almost all variation in median allele expression differences (Fig. S3, P = 4.4e-10, R2 = 0.95). Alignment bias affected genes in addition to those with cis eQTL. Genes in many chromosomal regions were solely upregulated by B73 alleles and thus correlated across the RIL population (Fig. 1, Tables S4 and S5). As with the STAR/StringTie analyses, allowing more SNPs in alignments enabled more reads to align, but preferential alignment remained widespread. 87.0% (7826 of 8999) of the B73 positive cis-eQTL detected from analyses of gene expression from both the default and the most relaxed alignment criteria had higher effects in the former. Nonetheless, the number of genes affected by bias was largely unchanged. Reducing stringency reduced the total number of genes with cis eQTL by only 2% (265 genes) and the proportion of B73 positive eQTL by only 1.6% (Table 4).
Analyses of gene expression estimates calculated with salmon, an alignment free based approach to map reads to transcripts , also revealed preferential read mapping. Salmon estimated gene transcript abundances from reads mapped to B73 transcripts. Among the genes that varied across the RIL population, B73 alleles upregulated 63.1% (4959/7855) (Table 4).
Large-scale alignment bias in maize may indicate frequent misestimation of allelic effects on gene expression
Our results show that in maize mapping bias had a strong effect on transcript abundance estimates and was a major, genome-wide driver of eQTL detection. About 50% of cis-eQTL that were detected depended on the reference genome template that was used (Table 1), and many genes not associated with cis-eQTL likely had preferential alignment of one parent’s alleles (Fig. 1; Tables S1 and S2). Previous investigations of genetic variation for maize gene expression may have included high proportions of false positives. For example, we utilized RNA-seq data from Li et al. 2013. Li et al. estimated gene transcript abundance by aligning reads to the B73 genome using a method very similar to our default method, so 50% of eQTL reported in Li et al. were potentially false positives. Similarly, Wang et al. (2018) aligned reads from maize and its wild progenitor teosinte to the B73 genome. Wang et al. reported maize eQTL alleles condition higher expression than do teosinte alleles  and reported linked genes had cis-eQTL with the same, positive acting allele . While Wang et al. interpreted these results as biologically relevant, they may at least partially be due to alignment bias both genome-wide (Table 1) and within chromosomal domains (Fig. 2, Table 2, Fig. S1).
The very large effects of alignment bias on transcript estimates would likely occur in other species that are highly variable. In Arabidopsis thaliana, accession Can-0 harbors 6.63 SNPs/kb and 1.76 indels/kb compared to the reference accession Col-0 . A wild-derived mouse strain MOLF/EiJ contains 6.34 SNPs/kb and 0.96 indels/kb relative to the reference strain C57BL/6 J . Two different specimens of the nematode Caenorhabditis brenneri differ on nearly every sixth base pair on average .
Remarkably, preferential mapping in maize was unevenly distributed across chromosomes and scaled with chromosomal features’ sequence divergence. Highly divergent chromosome arms had much more frequent mapping biases than more similar pericentromeric chromosomal regions (Fig. 2; Fig. S1). This chromosomal effect on mapping bias may occur in other cereals including rice and wheat that have large pericentromeric regions with low crossover frequencies and low diversity relative to terminal regions [38, 39]. In plant breeding, large chromosomal segments from an unrelated species also may be introgressed into elite germplasm .
Reads that aligned to splice site junctions, whose sequences evolve slowly, were slightly but significantly underrepresented amongst genes with biased alignments (Table 3). Genes’ UTRs are more divergent than other genic regions, and reads that align to UTRs were also slightly but significantly enriched amongst genes with preferential read alignment (Table 2). While differences in UTR and splice site read alignments were small between B73 and Mo17 alleles, other, relatively short genome sequence domains likely have greater effects on gene expression across genotypes. For example, NB-LRR genes and other biotic response genes are highly polymorphic compared to housekeeping genes .
The high level of maize alignment bias may be due to structural variants that can be accounted for by de novo genome assemblies
Increasing the number SNPs allowed in alignments to the B73 genome by relaxing criteria caused the effect sizes of 4/5 B73 positive eQTL to decrease (Fig. 4). Nonetheless allowing more SNPs within alignments did little to resolve biased alignment. The total number of B73 positive eQTL was similar regardless of alignment criteria changes (Tables 1 and 4). Structural variants including translocations, inversions, indels, and copy number variants, likely contributed most to biased alignment. Between B73 and Mo17, structural variants occur within about ~ 20% of maize genes, and 10% of annotated genes are exclusive to one or the other inbred line . In humans, eQTL were enriched 50-fold amongst genes with structural variants relative to genes with SNPs or short indels . Structural variants would cause reads not to align to a reference genome or to misalign to the reference. While in mice reads that did not map to a reference occurred about 20 times more often than reads that mismapped to the reference , maize has a large number of closely related gene and pseudogene sequences because of genome duplication and transposon activity [19, 28]. Non-target reference genome sequences may improperly capture a relatively high proportion of reads from non-reference genotypes .
Software notably affected read alignment bias magnitudes (Tables 1 and 4). For example, while 68.1% of eQTL had B73 alleles that increased expression in STAR/StringTie analyses, 83.2% did in TopHat/Cufflinks analyses, and 63.1% did in Salmon analyses. STAR’s alignment algorithm accurately assigns a higher proportion of reads to a template than does TopHat2’s , and StringTie provides better estimates of gene expression abundances compared to Cufflinks . Salmon’s accounting for factors that affect read coverage such as fragment GC content and 5′ and 3′ sequence bias may have increased the similarity of different alleles’ expression values relative to STAR/ StringTie . Steps such as removing UTRs from a reference template prior to alignment (Table 2), masking polymorphic sites , and extending reads  would generate more accurate transcript abundance estimates. Cho et al. 2014 showed that compared to short paired reads, long paired reads have a higher unique alignment rate; have a higher chance of differentiating haplotypes at heterozygous sites; and more accurately quantified transcript abundances . Thus, we anticipate modified genome templates, novel software, and longer sequencing reads will reduce biased transcript level estimates.
Nonetheless, these methods are partial solutions in the presence of structural variants . De novo genome sequencing is becoming more routine, comprehensive, and accurate because of long-read sequencing, long paired-end reads, and optical mapping [47,48,49,50,51]. Individual genomes can be inferred from a small number of core genome sequences , reducing sequencing and bioinformatics burdens. These distinct genome references will enable reads from sequences affected by structural rearrangements to correctly align enabling accurate estimates of gene expression across genotypes.
In conclusion, read mapping bias greatly affects transcript abundance estimates in maize genotypes. Transcript level misestimation is much greater for genes at chromosome ends than in pericentromeric regions, and its misestimation is slightly but significantly higher for genes with many UTR sourced reads. Alignment parameters and software reduced the magnitude of mapping bias but had little effect on its widespread presence. Previous studies of genetic variation of gene expression for maize and other species with highly divergent chromosomal sequences were likely strongly affected by read mapping bias. Assigning reads to individual genomes or transcriptomes is likely necessary to consistently and accurately estimate genotypes’ transcript abundances.
Gene expression estimation, genetic map construction, and eQTL mapping
A recombinant inbred line population derived from selfing F2 plants from a biparental cross is an excellent resource for identifying alleles that affect gene expression abundance. Each allele is expected to be within 50% of the population, so allelic comparisons are well-powered. In addition, unlinked loci are in linkage equilibrium, so an association between an allele and a gene’s abundance signifies the region causes the expression variation. The RNA-seq data was composed of raw 103-110 nt single end RNA-seq reads without barcodes or adapters from 105 maize B73 x Mo17 RILs and two parents. Data were downloaded from NCBI accession SRA055066 . Details on plant growth, RNA extraction, and sequence generation are given in Li et al. 2013. We trimmed low quality 3′ sequences using fastx_trimmer (http://hannonlab.cshl.edu/fastx_toolkit/).
Genes’ transcript levels were estimated for the parental lines and 97 RILs eight times. Eight of the 105 RILs were excluded because of high heterozygosity and missing marker calls. The first analysis was with the Mo17 genome Zm-Mo17-REFERENCE-CAU-1.0 . STAR-2.5.3a aligned reads using default parameters as listed in Table S6; StringTie-1.3.3b estimated gene transcript abundances. The next six analyses used alignments to the B73 reference genome AGPv3.19 . In the first three analyses, STAR-2.5.3a software was used with three parameter sets, default, relaxed, and most relaxed, which allowed 3, 6 and 12 nucleotide mismatches to the template, respectively (Table S6), and StringTie estimated transcript abundances. TopHat-2.1.1 and Cufflinks-2.1.1 software estimated transcript abundances in the second three analyses with parameter sets analogous to those used in the STAR alignment (Table S6). In these first seven analyses, samtools-1.3.1 rmdup removed duplicate reads, and gene transcript abundance was reported as FPKM. Analysis of TPM estimates generated by StringTie with STAR using the default parameters revealed an almost identical degree of read mapping bias as did FPKM analysis (Table S7). Salmon 1.3.0 was used for the eighth analysis. Trimmed reads were mapped to the AGPv3.19 transcriptome, and transcript abundances were translated to gene level expression abundances using Tximport-1.18.0.
To construct a genetic map for eQTL mapping, we used samtools-1.3.1 mpileup to collect nucleotide information from the bam files produced by aligning B73, Mo17 and RIL reads to the B73 reference with Tophat2 default criteria. BCFtools-1.3.1 called variants. We identified 25,822 SNPs between B73 and Mo17, requiring nucleotide calls to have > = 5 reads with phred-scaled quality scores of > = 20. We used these SNPs to genotype RILs. To be included in the genetic map, SNP markers had to have a minor allele frequency > 30% and a missing data rate < 5%. MadMapper (https://github.com/alex-kozik/atgc-map) and MSTmap  grouped and ordered markers, respectively, producing a map with 2236 markers separated by 0.1 to 31.5 cM. The total map length was 3606 cM. Markers were distributed throughout the linkage groups corresponding to the 10 maize chromosomes without any breaks, except chromosome 7 was represented by two linkage groups. As expected, the SNP genotyping revealed that individuals have chromosomes composed of long stretches of B73 and Mo17 DNA. There were no cases where a Mo17 allele was detected in a B73 region or visa- versa.
Using this genetic map, eQTL mapping was conducted with each of the 8 different gene expression datasets. We first selected genes expressed at > 1 FPKM or > 1.82 TPM in at least 42 RILs (43%) and subsequently selected the 75% most variable genes among the RILs. eQTL were mapped using non-parametric interval mapping in R/qtl  (version 1.36–6). 1000 permutations were used to define a genome-wide LOD significance threshold for an eQTL at α = 0.05. eQTL linked to the target gene were deemed cis-eQTL , and all other eQTLs were termed trans-eQTL. The average gene expression of lines carrying the B73 and Mo17 cis-eQTL alleles were estimated using the effectplot function in R/qtl. Cis-eQTL magnitude was expressed as half of the difference between the two alleles.
Correlating sequence divergence of eQTL genes with eQTL magnitudes
To determine the relationship between sequence divergence and expression divergence, we downloaded the Zea mays haplotype map, HapMap v3.2.1  (https://www.panzea.org/genotypes), and extracted the B73 and Mo17 SNPs. We mapped the SNPs to exons annotated in the B73 reference genome AGPv3.19, selected those exons to which RNA-seq reads mapped, and calculated the number of SNPs per 1 kb exon. We used SNPs from the haplotype map instead of the RNA-seq data to have a complete set of independently measured SNPs. To map SNP frequencies across chromosomal regions and compare them to eQTL (Fig. 2), we captured consecutive, non-overlapping windows of 2 Mb. Within the window, we averaged the numbers of SNPs per gene and calculated the proportion of genes with eQTL that had positively acting B73 alleles. We plotted results from the loess.smooth() function in R for each chromosome. To evaluate the significance of the relationship between SNPs and eQTL magnitudes (Fig. 3), we modeled median eQTL magnitude as a linear function of SNP number using R.
Identification of co-expressed linked genes across the RIL population
One expects mapping bias would affect genes in addition to those detected in eQTL analyses. We investigated if a region’s haplotype had a consistent effect on the region’s gene expression values (Fig. 1). To determine if a chromosomal region’s genes were positively correlated, we used the R package WGCNA-1.49 [55, 56], with a soft threshold power, β, of 5 to identify correlated gene groups. The STAR/StringTie and TopHat2/Cufflinks default criteria expression datasets used for the eQTL analyses were used for coexpression analyses. Default WGCNA settings were used to define groups of genes, except groups with fewer than 60 genes and/or higher than 0.8 topological overlap (TO) similarity were merged into the closest neighbour group. We determined the chromosomal positions of genes within groups, and we identified the haplotype allele that increased the expression levels of group’s genes.
Determining if reads’ UTR and splice site usage affected eQTL bias
We used similar approaches to test if splice sites and UTRs affected preferential read alignment. In both cases, we used processed RNA-seq reads of the B73 and Mo17 inbred lines aligned to the B73 genome with STAR-2.5.3a with default alignment criteria. For each gene with a cis-eQTL, the SGSeq R package recorded the number of B73 and Mo17 reads overlapping annotated splice junctions and all exons . For each line, we calculated each gene’s splice junction read ratio, the ratio of splice junction mapped reads relative to the total mapped reads. Only genes with reads mapping across splice junctions and other genic regions were considered. The Bioconductor package Rsubread was used to count RNA-seq reads mapping to exons and UTRs. For each cis-eQTL gene, we calculated the ratio between the number of reads mapping to UTRs and the number of reads mapping to all exons for B73 derived reads and Mo17 derived reads . Only genes with reads mapping to UTRs and CDS sequences were evaluated. The median difference in splice junction read ratio and the median difference in UTR read ratio between the B73 inbred and the Mo17 inbred were calculated and the significance evaluated using the Wilcoxon signed rank test for genes with cis-eQTL. A similar analysis was done on the subset of eQTL genes for which the B73 cis-eQTL allele was positive and the subset for which the Mo17 cis-eQTL allele was positive. The significances of the median differences in splice junction and UTR read ratios between B73 cis-eQTL genes and Mo17 cis-eQTL genes were calculated using the Wilcoxon rank sum test.
Availability of data and materials
Single Nucleotide Polymorphism
Cis-acting expression quantitative trait loci
Trans-acting expression quantitative trait loci
Fragments per kilobase of exon model per million reads mapped
Transcripts per kilobase million
Nucleotide-binding and leucine-rich repeat
Recombinant inbred lines
Sequence Read Archive
Staal J, Kaliff M, Dewaele E, Persson M, Dixelius C. RLM3, a TIR domain encoding gene involved in broad-range immunity of Arabidopsis to necrotrophic fungal pathogens. Plant J. 2008;55(2):188–200. https://doi.org/10.1111/j.1365-313X.2008.03503.x.
Becker MG, Zhang X, Walker PL, Wan JC, Millar JL, Khan D, et al. Transcriptome analysis of the Brassica napus–Leptosphaeria maculans pathosystem identifies receptor, signaling and structural genes underlying plant resistance. Plant J. 2017;90(3):573–86. https://doi.org/10.1111/tpj.13514.
Wang X, Wang H, Liu S, Ferjani A, Li J, Yan J, et al. Genetic variation in ZmVPP1 contributes to drought tolerance in maize seedlings. Nat Genet. 2016;48(10):1233–41. https://doi.org/10.1038/ng.3636.
Avila LM, Obeidat W, Earl H, Niu X, Hargreaves W, Lukens L. Shared and genetically distinct Zea mays transcriptome responses to ongoing and past low temperature exposure. BMC Genomics. 2018;19(1):761. https://doi.org/10.1186/s12864-018-5134-7.
Taylor CM, Kamphuis LG, Zhang W, Garg G, Berger JD, Mousavi-Derazmahalleh M, et al. INDEL variation in the regulatory region of the major flowering time gene LanFTc1 is associated with vernalization response and flowering time in narrow-leafed lupin (Lupinus angustifolius L.). Plant Cell Environ. 2019;42(1):174–87. https://doi.org/10.1111/pce.13320.
Sekhon RS, Hirsch CN, Childs KL, Breitzman MW, Kell P, Duvick S, et al. Phenotypic and transcriptional analysis of divergently selected maize populations reveals the role of developmental timing in seed size determination. Plant Physiol. 2014;165(2):658–69. https://doi.org/10.1104/pp.114.235424.
Gu Y, Li W, Jiang H, Wang Y, Gao H, Liu M, et al. Differential expression of a WRKY gene between wild and cultivated soybeans correlates to seed size. J Exp Bot. 2017;68(11):2717–29. https://doi.org/10.1093/jxb/erx147.
Alonge M, Wang X, Benoit M, Soyk S, Pereira L, Zhang L, et al. Major impacts of widespread structural variation on gene expression and crop improvement in tomato. Cell. 2020;182(1):145–61. https://doi.org/10.1016/j.cell.2020.05.021.
House MA, Griswold CK, Lukens LN. Evidence for selection on gene expression in cultivated rice (Oryza sativa). Mol Biol Evol. 2014;31(6):1514–25. https://doi.org/10.1093/molbev/msu110.
Wang Z, Gerstein M, Snyder M. RNA-Seq: a revolutionary tool for transcriptomics. Nat Rev Genet. 2009;10(1):57–63. https://doi.org/10.1038/nrg2484.
Zielezinski A, Vinga S, Almeida J, Karlowski WM. Alignment-free sequence comparison: benefits, applications, and tools. Genome Biol. 2017;18(1):1–7.
Stevenson KR, Coolon JD, Wittkopp PJ. Sources of bias in measures of allele-specific expression derived from RNA-seq data aligned to a single reference genome. BMC Genomics. 2013;14(1):536. https://doi.org/10.1186/1471-2164-14-536.
Degner JF, Marioni JC, Pai AA, Pickrell JK, Nkadori E, Gilad Y, et al. Effect of read-mapping biases on detecting allele-specific expression from RNA-sequencing data. Bioinformatics. 2009;25(24):3207–12. https://doi.org/10.1093/bioinformatics/btp579.
Quinn A, Juneja P, Jiggins FM. Estimates of allele-specific expression in Drosophila with a single genome sequence and RNA-seq data. Bioinformatics. 2014;30(18):2603–10. https://doi.org/10.1093/bioinformatics/btu342.
Huang W, Massouras A, Inoue Y, Peiffer J, Ràmia M, Tarone AM, et al. Natural variation in genome architecture among 205 Drosophila melanogaster genetic reference panel lines. Genome Res. 2014;24(7):1193–208. https://doi.org/10.1101/gr.171546.113.
Panousis NI, Gutierrez-Arcelus M, Dermitzakis ET, Lappalainen T. Allelic mapping bias in RNA-sequencing is not a major confounder in eQTL studies. Genome Biol. 2014;15(9):467. https://doi.org/10.1186/s13059-014-0467-2.
Munger SC, Raghupathy N, Choi K, Simons AK, Gatti DM, Hinerfeld DA, et al. RNA-Seq alignment to individualized genomes improves transcript abundance estimates in multiparent populations. Genetics. 2014;198(1):59–73. https://doi.org/10.1534/genetics.114.165886.
Bukowski R, Guo X, Lu Y, Zou C, He B, Rong Z, et al. Construction of the third-generation Zea mays haplotype map. Gigascience. 2017;7(4):gix134.
Sun S, Zhou Y, Chen J, Shi J, Zhao H, Zhao H, et al. Extensive intraspecific gene order and gene structural variations between Mo17 and other maize genomes. Nat Genet. 2018;50(9):1289–95. https://doi.org/10.1038/s41588-018-0182-0.
Wu X, Li Y, Fu J, Li X, Li C, Zhang D, Shi Y, Song Y, Li Y, Wang T. Exploring identity-by-descent segments and putative functions using different foundation parents in maize. PLoS One. 2016;11(12):e0168374. https://doi.org/10.1371/journal.pone.0168374.
Ching AD, Caldwell KS, Jung M, Dolan M, Smith OS, Tingey S, et al. SNP frequency, haplotype structure and linkage disequilibrium in elite maize inbred lines. BMC Genet. 2002;3(1):19. https://doi.org/10.1186/1471-2156-3-19.
Fu J, Cheng Y, Linghu J, Yang X, Kang L, Zhang Z, et al. RNA sequencing reveals the complex regulatory network in the maize kernel. Nat Commun. 2013;4(1):2832. https://doi.org/10.1038/ncomms3832.
Tatarinova TV, Chekalin E, Nikolsky Y, Bruskin S, Chebotarov D, McNally KL, et al. Nucleotide diversity analysis highlights functionally important genomic regions. Sci Rep. 2016;6(1):35730. https://doi.org/10.1038/srep35730.
Hastings ML, Sachidanandam R. Evolutionary conservation of splice sites. eLS. 2008;13. https://doi.org/10.1002/9780470015902.a0020782.
Li L, Petsch K, Shimizu R, Liu S, Xu WW, Ying K, et al. Mendelian and non-Mendelian regulation of gene expression in maize. PLoS Genet. 2013;9(1):e1003202 Erratum in: PLoS genetics. 2018 Feb 14;14(2):e1007234.
Dobin A, Davis CA, Schlesinger F, Drenkow J, Zaleski C, Jha S, et al. STAR: ultrafast universal RNA-seq aligner. Bioinformatics. 2013;29(1):15–21. https://doi.org/10.1093/bioinformatics/bts635.
Pertea M, Pertea GM, Antonescu CM, Chang TC, Mendell JT, Salzberg SL. StringTie enables improved reconstruction of a transcriptome from RNA-seq reads. Nat Biotechnol. 2015;33(3):290–5. https://doi.org/10.1038/nbt.3122.
Schnable PS, Ware D, Fulton RS, Stein JC, Wei F, Pasternak S, et al. The B73 maize genome: complexity, diversity, and dynamics. Science. 2009;326(5956):1112–5. https://doi.org/10.1126/science.1178534.
Lee M, Sharopova N, Beavis WD, Grant D, Katt M, Blair D, et al. Expanding the genetic map of maize with the intermated B73× Mo17 (IBM) population. Plant Mol Biol. 2002;48(5–6):453–61. https://doi.org/10.1023/A:1014893521186.
Raherison E, Majidi MM, Goessen R, Hughes N, Cuthbert R, Knox R, et al. Evidence for the Accumulation of Nonsynonymous Mutations and Favorable Pleiotropic Alleles During Wheat Breeding. G3: Genes, Genomes, Genetics. 2020;10(11):4001–11. https://doi.org/10.1534/g3.120.401269.
McManus CJ, Coolon JD, Duff MO, Eipper-Mains J, Graveley BR, Wittkopp PJ. Regulatory divergence in Drosophila revealed by mRNA-seq. Genome Res. 2010;20(6):816–25. https://doi.org/10.1101/gr.102491.109.
Trapnell C, Roberts A, Goff L, Pertea G, Kim D, Kelley DR, et al. Differential gene and transcript expression analysis of RNA-seq experiments with TopHat and cufflinks. Nat Protoc. 2012;7(3):562–78. https://doi.org/10.1038/nprot.2012.016.
Patro R, Duggal G, Love MI, Irizarry RA, Kingsford C. Salmon provides fast and bias-aware quantification of transcript expression. Nat Methods. 2017;14(4):417–9. https://doi.org/10.1038/nmeth.4197.
Wang X, Chen Q, Wu Y, Lemmon ZH, Xu G, Huang C, et al. Genome-wide analysis of transcriptional variability in a large maize-teosinte population. Mol Plant. 2018;11(3):443–59. https://doi.org/10.1016/j.molp.2017.12.011.
Gan X, Stegle O, Behr J, Steffen JG, Drewe P, Hildebrand KL, et al. Multiple reference genomes and transcriptomes for Arabidopsis thaliana. Nature. 2011;477(7365):419–23. https://doi.org/10.1038/nature10414.
Doran AG, Wong K, Flint J, Adams DJ, Hunter KW, Keane TM. Deep genome sequencing and variation analysis of 13 inbred mouse strains defines candidate phenotypic alleles, private variation and homozygous truncating mutations. Genome Biol. 2016;17(1):167. https://doi.org/10.1186/s13059-016-1024-y.
Dey A, Chan CK, Thomas CG, Cutter AD. Molecular hyperdiversity defines populations of the nematode Caenorhabditis brenneri. Proc Natl Acad Sci. 2013;110(27):11056–60. https://doi.org/10.1073/pnas.1303057110.
See DR, Brooks S, Nelson JC, Brown-Guedira G, Friebe B, Gill BS. Gene evolution at the ends of wheat chromosomes. Proc Natl Acad Sci. 2006;103(11):4162–7. https://doi.org/10.1073/pnas.0508942102.
Arai-Kichise Y, Shiwa Y, Nagasaki H, Ebana K, Yoshikawa H, Yano M, et al. Discovery of genome-wide DNA polymorphisms in a landrace cultivar of japonica rice by whole-genome sequencing. Plant Cell Physiol. 2011;52(2):274–82. https://doi.org/10.1093/pcp/pcr003.
Venuti S, Copetti D, Foria S, Falginella L, Hoffmann S, Bellin D, et al. Historical introgression of the downy mildew resistance gene Rpv12 from the Asian species Vitis amurensis into grapevine varieties. PLoS One. 2013;8(4):e61228. https://doi.org/10.1371/journal.pone.0061228.
Clark RM, Schweikert G, Toomajian C, Ossowski S, Zeller G, Shinn P, et al. Common sequence polymorphisms shaping genetic diversity in Arabidopsis thaliana. Science. 2007;317(5836):338–42. https://doi.org/10.1126/science.1138632.
Sudmant PH, Rausch T, Gardner EJ, Handsaker RE, Abyzov A, Huddleston J, et al. An integrated map of structural variation in 2,504 human genomes. Nature. 2015;526(7571):75–81. https://doi.org/10.1038/nature15394.
Haberer G, Kamal N, Bauer E, Gundlach H, Fischer I, Seidel MA, et al. European maize genomes highlight intraspecies variation in repeat and gene content. Nat Genet. 2020;27:1–8.
Engström PG, Steijger T, Sipos B, Grant GR, Kahles A, Alioto T, et al. Systematic evaluation of spliced alignment programs for RNA-seq data. Nat Methods. 2013;10(12):1185–91. https://doi.org/10.1038/nmeth.2722.
Cho H, Davis J, Li X, Smith KS, Battle A, Montgomery SB. High-resolution transcriptome analysis with long-read RNA sequencing. PLoS One. 2014;9(9):e108095. https://doi.org/10.1371/journal.pone.0108095.
Gabur I, Chawla HS, Snowdon RJ, Parkin IA. Connecting genome structural variation with complex traits in crop plants. Theor Appl Genet. 2019;132(3):733–50. https://doi.org/10.1007/s00122-018-3233-0.
Chapman JA, Ho I, Sunkara S, Luo S, Schroth GP, Rokhsar DS. Meraculous: de novo genome assembly with short paired-end reads. PLoS One. 2011;6(8):e23501. https://doi.org/10.1371/journal.pone.0023501.
Lam ET, Hastie A, Lin C, Ehrlich D, Das SK, Austin MD, et al. Genome mapping on nanochannel arrays for structural variation analysis and sequence assembly. Nat Biotechnol. 2012;30(8):771–6. https://doi.org/10.1038/nbt.2303.
Tang H, Lyons E, Town CD. Optical mapping in plant comparative genomics. GigaScience. 2015;4(1):s13742–015.
Pollard MO, Gurdasani D, Mentzer AJ, Porter T, Sandhu MS. Long reads: their purpose and place. Hum Mol Genet. 2018;27(R2):R234–41. https://doi.org/10.1093/hmg/ddy177.
Jung H, Winefield C, Bombarely A, Prentis P, Waterhouse P. Tools and strategies for long-read sequencing and de novo assembly of plant genomes. Trends Plant Sci. 2019;24(8):700–24. https://doi.org/10.1016/j.tplants.2019.05.003.
Wu Y, Bhat PR, Close TJ, Lonardi S. Efficient and accurate construction of genetic linkage maps from the minimum spanning tree of a graph. PLoS Genet. 2008;4(10):e1000212. https://doi.org/10.1371/journal.pgen.1000212.
Broman KW, Wu H, Sen Ś, Churchill GA. R/QTL: QTL mapping in experimental crosses. Bioinformatics. 2003;19(7):889–90. https://doi.org/10.1093/bioinformatics/btg112.
Druka A, Potokina E, Luo Z, Jiang N, Chen X, Kearsey M, et al. Expression quantitative trait loci analysis in plants. Plant Biotechnol J. 2010;8(1):10–27. https://doi.org/10.1111/j.1467-7652.2009.00460.x.
Zhang B, Horvath S. A general framework for weighted gene co-expression network analysis. Stat Appl Genet Mol Biol. 2005;4(1). https://doi.org/10.2202/1544-6115.1128.
Langfelder P, Horvath S. WGCNA: an R package for weighted correlation network analysis. BMC Bioinformatics. 2008;9(1):559. https://doi.org/10.1186/1471-2105-9-559.
Goldstein LD, Cao Y, Pau G, Lawrence M, Wu TD, Seshagiri S, et al. Prediction and quantification of splice events from RNA-seq data. PLoS One. 2016;11(5):e0156132. https://doi.org/10.1371/journal.pone.0156132.
Liao Y, Smyth GK, Shi W. The Subread aligner: fast, accurate and scalable read mapping by seed-and-vote. Nucleic Acids Res. 2013;41(10):e108.
We are grateful to all the labs whose data were used in our analyses. This work was made possible by the facility of the Shared Hierarchical Academic Research Computing Network and Compute Canada.
S. Zhan was funded by the National Science and Engineering Research Council of Canada (NSERC) and Genome Canada. The funder had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Ethics approval and consent to participate
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The relationship between the proportion of cis-eQTL for which B73 alleles had positive effects on gene expression when aligned to the B73 reference genome and the number of SNPs between B73 and Mo17 genes. The line plots are lowess smooths of the number of SNPs per gene per 2 Mb of a chromosome sequence and the proportion of B73 positive cis-eQTL per gene in 2 Mb of chromosome sequence. The x-axis is the physical location in Mb along a chromosome. The left y-axis is the average number of SNPs within cis-eQTL genes in 2 Mb intervals. The right y-axis is the proportion of B73 positive cis-eQTL out of all cis-eQTL in a 2 Mb interval. Arrows indicate the centromere locations.
Comparison of alignment criteria on cis-eQTL effect size. Each locus for which the B73 increased a target genes expression was labelled “yes” if the B73 effect estimated using the more relaxed alignment criteria was lower than its effect using the default alignment criteria. The proportion of “yes” genes was calculated. Cis-eQTL effect is estimated as the average of the mean expression of genotype B73 minus the mean expression of genotype Mo17. A large proportion of B73 positive cis-eQTLs have greater effects using default alignment criteria (binomial test, P < 2.2e-16).
For genes with B73 positive cis-eQTL when aligned to the B73 genome by TopHat2 with the default parameters, the expression level differences of homozygous B73 and Mo17 lines were plotted relative to SNP frequency. Exon sequence divergence was calculated the number of SNPs matching exons in a gene divided by the total exon lengths and multiplied by 1000. The numbers in parenthesis represent the numbers of genes in each group. Allelic expression differences between B73 and Mo17 were highly correlated with numbers of SNPs per 1 kb exon for the 8794 B73 positive cis-eQTL genes with SNP information. The y-axis is the allelic expression level difference of B73 minus Mo17 in FPKM, or two times the expected additive effect of the locus.
The chromosomal locations of and parental allele contributions to genes coexpressed across RILs.
Genetic and physical map locations of physically and genetically linked coexpressed genes.
A comparison of the numbers of cis-eQTL genes detected with the default alignment data and cis-eQTL genes detected with relaxed and most relaxed alignment data.
The chromosomal locations and parental allele contributions to genes coexpressed across RILs from TopHat2-Cufflinks analyses with the default parameters.
Genetic and physical map locations of physically and genetically linked coexpressed genes from a TopHat2-Cufflinks analysis with the default parameters.
Different sets of varying alignment parameters used for TopHat2 and STAR against maize reference genomes.
Numbers of genes with B73 and Mo17 positively acting cis regulatory alleles using gene expression TPM and FPKM metrics from STAR-StringTie analyses with the default parameters revealed read mapping preferences for reference alleles.
About this article
Cite this article
Zhan, S., Griswold, C. & Lukens, L. Zea mays RNA-seq estimated transcript abundances are strongly affected by read mapping bias. BMC Genomics 22, 285 (2021). https://doi.org/10.1186/s12864-021-07577-3
- Mapping bias
- eQTL analysis
- Sequence divergence
- Gene coexpression analysis
- Genetic diversity
- Transcriptome variation