Long-read options
Tolerating long-read errors, and scoring the candidate transcripts.
With --lr or --lr-hq, bramble changes how it treats reads in a few ways:
- It tries transcripts on both strands, whatever the aligner's strand tags say, and
ignores
--fr/--rf. - A read may skip one short exon of a transcript (see
--max-error-exonbelow). - Each candidate transcript gets a similarity score, used to filter candidates, choose
the primary alignment, and set
AS. - Soft-clipped read ends can be rescued with
-S.
--max-error-exon <UINT>
Long reads can have long insertions and deletions, which make an aligner miss a short exon or report one that isn't there. This option tolerates both, up to the given length. A read exon of at most this many bases, in the middle of the read, that matches no exon of the transcript is treated as an insertion. And with long reads, a transcript exon of at most this many bases that the read skips, between two of its exons, is treated as a deletion; only one exon may be skipped between two read exons. 0 turns both off.
--similarity-threshold <FLOAT>
After a read is projected onto a candidate transcript, bramble measures the projected alignment's similarity to the transcript: the fraction of its bases that line up with the transcript, where bases it had to soft clip, insert or delete at exon boundaries count against it (runs of consecutive insertions or deletions count extra). Candidates with similarity at or below the threshold are dropped. A value of 1.0 turns the filter off.
How long reads are scored
Each remaining candidate gets a score of xΒ² × (b + 1), where
b is the number of the read's exon boundaries that fall exactly on annotated
boundaries, and x is how far the similarity is above the threshold, rescaled to
0–1 (when the filter is off, x is the similarity itself). The highest-scoring
candidate becomes the primary alignment, and the
AS tag is the aligner's AS, plus the score of any rescued clip,
multiplied by this score. Short reads keep the aligner's AS unchanged.