predictTxFeaturesPerSample(file_bam, which, paired_end, read_length, frag_length, lib_size, min_junction_count, alpha, psi, beta, gamma, min_anchor, include_counts, retain_coverage, junctions_only, max_complexity, sample_name, verbose, cores)
GRanges
of genomic regions to be considered for
feature prediction, passed to ScanBamParam
TRUE
for paired-end data,
FALSE
for single-end dataalpha
alpha
alpha
alpha
is ignored.read_length
, frag_length
and lib_size
.
alpha
is ignored if argument min_junction_count
is specified.RleList
in metadata
column coverage. This allows filtering of features
using more stringent criteria after the initial prediction.NA
.TRUE
, generate messages indicating progressTxFeatures
object
Feature prediction is performed in two steps. First, splice junctions are identified from spliced alignments. Second, exons are identified based on regions that are flanked by splice junctions and show sufficient coverage with compatible reads.
Splice junctions implied by read alignments are filtered based on
fragment count and splice frequency. The splice frequency at the
splice donor (acceptor) is defined as x_J/x_D (x_J/x_A), where
x_J is the number of fragments containing the splice junction, and
x_D (x_A) is the number of fragments overlapping the exon/intron
(intron/exon) boundary. Fragments overlapping the spliced boundary
can be either spliced or extend into the intron. To be included in
predicted features, splice junctions must have fragment count at
least min_junction_count
or FPKM at least alpha
, and
splice frequency at both donor and acceptor at least psi
.
Regions between any pair of identified splice junctions with sufficient
compatible read coverage are considered candidate internal exons.
Read coverage for a candidate exon is computed based on compatible
fragments, i.e. fragments with matching (or missing) strand information
and introns consistent with the exon under consideration.
Candidate exons are included in predicted features if the minimum
coverage is at least beta
* number of junction-containing
fragments for either flanking junctions.
Terminal exons are regions downstream or upstream of splice junctions
with compatible fragment coverage at least gamma
* number of
junction-containing fragments.