detect_alignment_errors: Detect the most common type of alignment errors in...

Description Usage Arguments Value Details

View source: R/Find_alignment_errors.R


Detect the most common type of alignment errors in full-length RNA-seq reads aligned by Minimap2


detect_alignment_errors(long_reads, min_read_support = 2)



GRangesList object.


Positive integer.


GRangesList object which is identical to the input object, except for the extra logical column aln_error.


The input GRangesList object is returned by the adjust_exons_of_long_reads() function.
The Minimap2 aligner is prone to under-split the full-length RNA-seq reads. In certain reads, two adjacent exons may appear as a single subalignment. Assuming that most of the reads are still aligned correctly, one can detect alignment errors by comparing each subalignment to the set of constitutive exons. The constitutive exons are defined here as exonic intervals supported by more than 50% of reads in given locus (but not less than min_read_support reads). Subalignment with an alternative 5'- and/or 3-border (relative to a constitutive exon) are considered valid alternative exons, only if the next constitutive exon is also present in the read. Otherwise, the alignment is marked as a possible alignment error.

Maxim-Ivanov/TranscriptomeReconstructoR documentation built on Jan. 28, 2021, 11:47 a.m.