Literature DB >> 26519503

MMR: a tool for read multi-mapper resolution.

André Kahles1, Jonas Behr1, Gunnar Rätsch1.   

Abstract

MOTIVATION: Mapping high-throughput sequencing data to a reference genome is an essential step for most analysis pipelines aiming at the computational analysis of genome and transcriptome sequencing data. Breaking ties between equally well mapping locations poses a severe problem not only during the alignment phase but also has significant impact on the results of downstream analyses. We present the multi-mapper resolution (MMR) tool that infers optimal mapping locations from the coverage density of other mapped reads.
RESULTS: Filtering alignments with MMR can significantly improve the performance of downstream analyses like transcript quantitation and differential testing. We illustrate that the accuracy (Spearman correlation) of transcript quantification increases by 15% when using reads of length 51. In addition, MMR decreases the alignment file sizes by more than 50%, and this leads to a reduced running time of the quantification tool. Our efficient implementation of the MMR algorithm is easily applicable as a post-processing step to existing alignment files in BAM format. Its complexity scales linearly with the number of alignments and requires no further inputs.
AVAILABILITY AND IMPLEMENTATION: Open source code and documentation are available for download at http://github.com/ratschlab/mmr Comprehensive testing results and further information can be found at http://bioweb.me/mmr. CONTACT: andre.kahles@ratschlab.org or gunnar.ratsch@ratschlab.org SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.
© The Author 2015. Published by Oxford University Press.

Entities:  

Mesh:

Year:  2015        PMID: 26519503      PMCID: PMC4795617          DOI: 10.1093/bioinformatics/btv624

Source DB:  PubMed          Journal:  Bioinformatics        ISSN: 1367-4803            Impact factor:   6.937


1 Introduction

Addressing the increasing need for fast and accurate mapping of high-throughput sequencing data to a reference sequence, many different software tools have been developed over the past years, many of which are frequently updated and improved (Dobin ; Jean ; Kim ; Li and Durbin, 2009). While numerous challenges have been addressed by the developers, e.g. the consideration of gaps and mismatches or the spliced alignment of RNA-Sequencing data, the problem of ambiguous read mapping still remains unresolved for many of the most popular alignment tools. Depending on factors like read length, alignment sensitivity and repetitiveness of the target genome, a large fraction of reads aligns uniquely to the target and exactly one mapping location is reported. However, for the remaining, still significantly large, fraction of reads (10–20%, depending on alignment sensitivity), several possible mapping locations exist. Currently, different strategies are employed to deal with these reads in downstream analyses, most of which have unfavorable side effects: Discarding reads with ambiguous alignments from the alignment result leads to a systematic underestimation of abundance in genomic regions with multi-mapper ambiguities, whereas picking a random alignment or distributing weight across all alignments uniformly does not have a proper biological justification. We provide a brief review of related approaches (Hashimoto ; Li ; Mortazavi ; Wang ; Zhang ) in Supplementary Section A.5. Here, we present a simple, yet powerful tool, called the multi-mapper resolution (MMR) tool, that assigns each read to a unique mapping location in a way that the overall read coverage across the genome is as uniform as possible. MMR makes use of the critical fraction of unambiguously aligned reads and iteratively selects the alignments of ambiguously mapping reads in a way the overall coverage becomes more uniform. MMR was motivated by and developed for post-processing of RNA-Seq alignments in order to improve transcript quantification and prediction. We show that it is also applicable to post-processing DNA-Seq alignments.

2 Approach

2.1 Outline of algorithm

Our approach to resolve ambiguous mapping locations is based on the simple assumption that, besides all existing biases from library preparation and sequencing that cause coverage differences over a longer range, the alignment coverage should generally be uniform within a local region (RNA-seq or whole-exome-seq) or the whole genome (WGS-seq). On the basis of this assumption, we can evaluate the fit of an alignment of a read to its current mapping location relative to other locations, by assessing the local coverage of the candidate regions. For each read, the algorithm jointly evaluates all available alignments with the goal of selecting the alignment/mapping that results in the smoothest overall coverage. At the beginning, for each read, one alignment is selected based on best alignment score, the given input order or random choice. The set of all initially picked alignments as well as alignments of uniquely mapped reads define a global coverage map. On the basis of this map, we can evaluate the quality of an alignment in its coverage context. To choose the locally optimal alignment for each read, we perform a comparison of all alignments a with respect to a loss function of placing a relative to not placing it (). In the simplest case, the loss function is defined as the empirical variance of the read coverage within a window around the alignment (see Supplementary Material). This quantity can be computed efficiently since we keep track of the global coverage map, which is updated when the selected alignment changes. Given the currently selected alignment a and an alternative alignment b, we update our choice, if the overall loss across the genome would be reduced by choosing the alternative alignment. This is the case when . This is repeated for all reads with ambiguous mapping locations. Several iterations over the whole alignment file improve the results. However, the most striking improvements are achieved within the first three iterations and only slight changes can be observed after that (cf. Supplementary Fig. S9). A more detailed description is provided in Supplementary Section A.

2.2 Paired-end reads

Handling paired-end reads in our framework is straightforward: Instead of evaluating two individual mapping locations, the same principle is used to compare two pairs of alignments. After generating a list of proper pairs, where feasibility is determined through orientation, chromosome and reasonable proximity, the list is evaluated the same way as the list of possible mapping locations for single-end reads. This approach is easily adaptable to n-tuple of mates for n > 2.

2.3 Adaptations for RNA-seq data

When mRNA is sequenced instead of DNA, the alignments to the genome show additional complexity caused by the exon/intron structure. In this case MMR can incorporate annotation information to compute the loss in local windows that do not overlap the genomic breakpoints implied by the annotated exons. For more details on this, we refer to Supplementary Section A.4.1.

2.4 Limiting ambiguity

To find a good trade-off between mapping sensitivity and the number of possible mapping locations, we allow to restrict the list of possible mapping locations. This is achieved by thresholding the difference in edit operations between the best hit and any other alignment. For instance, a filter of 0 would only include alignments as possible mapping locations that have as few edit operations as the best mapping.

2.5 Implementation

The MMR approach is implemented in C++ and its source code is publicly available at http://github.com/ratschlab/mmr. Although it has been tested and optimized for Linux-based systems, it can be compiled on other platforms. Parsing of alignment files in BAM format requires samtools (Li ). We also provide a multi-threaded implementation that keeps the coverage information in common memory, requiring no additional memory if multiple threads are used. The single-threaded running time depends on the number of possible mapping locations per read but is on average 30–45 s per one million alignments per iteration. Thus, running MMR for three iterations on 100 million alignments takes 20 min using 10 threads (Intel Xeon E5-2665 CPU).

3 Application

As a proof of principle, we tiled the A.thaliana genome with overlapping 50-mers and aligned these 50 nt reads back to the genome. This resulted in a non-uniform coverage, in particular near repetitive regions (see Supplementary Fig. S2). Using MMR, we could fully resolve mapping ambiguities, resulting in the expected uniform coverage of 50 almost everywhere. Although MMR has been successfully used in several studies (Drechsel ; Rühl ), we wanted to rigorously test our approach on a set of 7 million artificial RNA-Seq reads that were generated with FluxSimulator (Griebel ) based on a subset of 5000 genes randomly drawn from the human Gencode annotation (v19). We simulated read sets of length 32 nt, 51 nt, 76 nt and 101 nt, resulting in average coverages between 9× and 28×. The reads were then mutated using an empirical error model that led to a native error rate of 0.9%. Three levels of random noise (+1%, +2%, +3%) were applied in addition. We aligned the reads with TopHat2 (v2.0.2; Kim ) and PALMapper (v0.6; Jean ), allowing for up to 6 edit operations, with no annotation provided. Further information is provided in Supplementary Section B.2. To investigate the effect of MMR on downstream analyses, we performed transcript quantification using Cufflinks (Trapnell ) (v2.1.1) and rQuant (Bohnert ) on the MMR-filtered alignments, the best alignments only (the alignment ranked highest by the aligner) and on completely unfiltered alignments. For TopHat2 and PALMapper the quantifications based on the MMR-filtered alignments showed a consistently better correlation to the ground truth than both the best-hit and unfiltered alignments sets. The shorter reads of length 51 nt (Fig. 1) showed larger improvements compared to unfiltered (Cufflinks: 2.7%, rQuant: 15.0%) and best-hit set (Cufflinks: 5.6%, rQuant: 4.0%) than the longer reads of length 76 nt, that showed consistent but smaller improvements (Supplementary Figs S5–S7).
Fig. 1.

MMR results on simulated read data: quantification results on 7 million simulated 51 nt reads aligned with TopHat2, using rQuant and Cufflinks. Accuracy was measured as Spearman correlation to ground truth. Unfiltered read sets are shown in dark, best-hit read sets in medium and MMR-filtered in light gray. Native error rate is 0.9%, noise levels 1–3%

MMR results on simulated read data: quantification results on 7 million simulated 51 nt reads aligned with TopHat2, using rQuant and Cufflinks. Accuracy was measured as Spearman correlation to ground truth. Unfiltered read sets are shown in dark, best-hit read sets in medium and MMR-filtered in light gray. Native error rate is 0.9%, noise levels 1–3%

4 Conclusion

We presented MMR, a post-processor for BAM files, resolving ambiguous alignment locations. We showed its easy applicability to the output of different alignment methods and illustrated that MMR can greatly improve accuracy of downstream quantification methods. Although the improvements seem moderate on a global scale, the effect on single genes can be much larger. Given its lean implementation and the short running time, MMR is very well suited for large-scale genome-, exome- and RNA-sequencing efforts. Its good performance on short reads also suggests an application to ribosome footprinting data (Ingolia ). MMR may also be useful for post-processing alignments in meta-genome projects for improved selection of taxa. Click here for additional data file.
  15 in total

1.  RNA-Seq read alignments with PALMapper.

Authors:  Géraldine Jean; André Kahles; Vipin T Sreedharan; Fabio De Bona; Gunnar Rätsch
Journal:  Curr Protoc Bioinformatics       Date:  2010-12

2.  STAR: ultrafast universal RNA-seq aligner.

Authors:  Alexander Dobin; Carrie A Davis; Felix Schlesinger; Jorg Drenkow; Chris Zaleski; Sonali Jha; Philippe Batut; Mark Chaisson; Thomas R Gingeras
Journal:  Bioinformatics       Date:  2012-10-25       Impact factor: 6.937

3.  RNA-Seq gene expression estimation with read mapping uncertainty.

Authors:  Bo Li; Victor Ruotti; Ron M Stewart; James A Thomson; Colin N Dewey
Journal:  Bioinformatics       Date:  2009-12-18       Impact factor: 6.937

4.  Nonsense-mediated decay of alternative precursor mRNA splicing variants is a major determinant of the Arabidopsis steady state transcriptome.

Authors:  Gabriele Drechsel; André Kahles; Anil K Kesarwani; Eva Stauffer; Jonas Behr; Philipp Drewe; Gunnar Rätsch; Andreas Wachter
Journal:  Plant Cell       Date:  2013-10-25       Impact factor: 11.277

5.  Polypyrimidine tract binding protein homologs from Arabidopsis are key regulators of alternative splicing with implications in fundamental developmental processes.

Authors:  Christina Rühl; Eva Stauffer; André Kahles; Gabriele Wagner; Gabriele Drechsel; Gunnar Rätsch; Andreas Wachter
Journal:  Plant Cell       Date:  2012-11-27       Impact factor: 11.277

6.  Transcript assembly and quantification by RNA-Seq reveals unannotated transcripts and isoform switching during cell differentiation.

Authors:  Cole Trapnell; Brian A Williams; Geo Pertea; Ali Mortazavi; Gordon Kwan; Marijke J van Baren; Steven L Salzberg; Barbara J Wold; Lior Pachter
Journal:  Nat Biotechnol       Date:  2010-05-02       Impact factor: 54.908

7.  The ribosome profiling strategy for monitoring translation in vivo by deep sequencing of ribosome-protected mRNA fragments.

Authors:  Nicholas T Ingolia; Gloria A Brar; Silvia Rouskin; Anna M McGeachy; Jonathan S Weissman
Journal:  Nat Protoc       Date:  2012-07-26       Impact factor: 13.491

8.  GeneScissors: a comprehensive approach to detecting and correcting spurious transcriptome inference owing to RNA-seq reads misalignment.

Authors:  Zhaojun Zhang; Shunping Huang; Jack Wang; Xiang Zhang; Fernando Pardo Manuel de Villena; Leonard McMillan; Wei Wang
Journal:  Bioinformatics       Date:  2013-07-01       Impact factor: 6.937

9.  Modelling and simulating generic RNA-Seq experiments with the flux simulator.

Authors:  Thasso Griebel; Benedikt Zacher; Paolo Ribeca; Emanuele Raineri; Vincent Lacroix; Roderic Guigó; Michael Sammeth
Journal:  Nucleic Acids Res       Date:  2012-09-07       Impact factor: 16.971

10.  TopHat2: accurate alignment of transcriptomes in the presence of insertions, deletions and gene fusions.

Authors:  Daehwan Kim; Geo Pertea; Cole Trapnell; Harold Pimentel; Ryan Kelley; Steven L Salzberg
Journal:  Genome Biol       Date:  2013-04-25       Impact factor: 13.583

View more
  20 in total

1.  Production of Protein-Complex Components Is Stoichiometric and Lacks General Feedback Regulation in Eukaryotes.

Authors:  James C Taggart; Gene-Wei Li
Journal:  Cell Syst       Date:  2018-12-12       Impact factor: 10.304

2.  False positives in trans-eQTL and co-expression analyses arising from RNA-sequencing alignment errors.

Authors:  Ashis Saha; Alexis Battle
Journal:  F1000Res       Date:  2018-11-28

3.  Multimapping confounds ribosome profiling analysis: A case-study of the Hsp90 molecular chaperone.

Authors:  Jackson C Halpin; Radhika Jangi; Timothy O Street
Journal:  Proteins       Date:  2019-07-19

4.  A fuzzy method for RNA-Seq differential expression analysis in presence of multireads.

Authors:  Arianna Consiglio; Corrado Mencar; Giorgio Grillo; Flaviana Marzano; Mariano Francesco Caratozzolo; Sabino Liuni
Journal:  BMC Bioinformatics       Date:  2016-11-08       Impact factor: 3.169

5.  Internal RNAs overlapping coding sequences can drive the production of alternative proteins in archaea.

Authors:  Felipe Ten-Caten; Ricardo Z N Vêncio; Alan Péricles R Lorenzetti; Livia Soares Zaramela; Ana Carolina Santana; Tie Koide
Journal:  RNA Biol       Date:  2018-09-19       Impact factor: 4.652

6.  Assessing the impact of exact reads on reducing the error rate of read mapping.

Authors:  Farzaneh Salari; Fatemeh Zare-Mirakabad; Mehdi Sadeghi; Hassan Rokni-Zadeh
Journal:  BMC Bioinformatics       Date:  2018-11-06       Impact factor: 3.169

7.  A New Machine Learning-Based Framework for Mapping Uncertainty Analysis in RNA-Seq Read Alignment and Gene Expression Estimation.

Authors:  Adam McDermaid; Xin Chen; Yiran Zhang; Cankun Wang; Shaopeng Gu; Juan Xie; Qin Ma
Journal:  Front Genet       Date:  2018-08-14       Impact factor: 4.599

8.  Human transposons are an abundant supply of transcription factor binding sites and promoter activities in breast cancer cell lines.

Authors:  Jiayue-Clara Jiang; Kyle R Upton
Journal:  Mob DNA       Date:  2019-04-27

9.  Acute systemic inflammatory response to lipopolysaccharide stimulation in pigs divergently selected for residual feed intake.

Authors:  Haibo Liu; Kristina M Feye; Yet T Nguyen; Anoosh Rakhshandeh; Crystal L Loving; Jack C M Dekkers; Nicholas K Gabler; Christopher K Tuggle
Journal:  BMC Genomics       Date:  2019-10-11       Impact factor: 3.969

Review 10.  Ten things you should know about transposable elements.

Authors:  Guillaume Bourque; Kathleen H Burns; Mary Gehring; Vera Gorbunova; Andrei Seluanov; Molly Hammell; Michaël Imbeault; Zsuzsanna Izsvák; Henry L Levin; Todd S Macfarlan; Dixie L Mager; Cédric Feschotte
Journal:  Genome Biol       Date:  2018-11-19       Impact factor: 13.583

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.