Read-type presets
Choose the preset that matches your sequencing technology.
Aligners don't always put exon boundaries exactly where the annotation has them,
especially for long reads, where a sequencing error near a splice junction can shift the
alignment by a few bases. A preset sets how much of this bramble tolerates, and turns on
the long-read behaviour for long reads. Short reads are the default; add
--lr-hq or --lr for long reads, and --strict to any of
them to require exact boundaries.
| Option | short reads (default) | --lr-hq | --lr | --strict |
|---|---|---|---|---|
--max-soft-clip | 5 | 5 | 40 | 0 |
--max-junction-insertion | 0 | 10 | 40 | 0 |
--max-junction-deletion | 0 | 10 | 40 | 0 |
--max-error-exon | 0 | 35 | 35 | 0 |
--similarity-threshold | off | 0.90 | 0.60 | off |
Any of these options that you set yourself overrides the preset, for example
--lr --max-soft-clip 100.
Short reads (default)
For Illumina and other short reads. Read exon boundaries at splice junctions must match the annotation exactly, and the read's exons must match consecutive exons of the transcript. Up to 5 bases at either end of the read may extend past the transcript's exon and are soft clipped. There is no similarity filter, so every compatible transcript is reported. The strandedness options apply only in this mode.
--lr-hq
For high-accuracy long reads, such as PacBio HiFi. Each read exon boundary at a splice
junction may be up to 10 bases off the annotated boundary, a short read exon or skipped
transcript exon of up to 35 bases is tolerated as a sequencing error, and transcripts
are kept when the projected alignment's similarity is above 0.90. It also turns on the
long-read behaviour: both transcript strands are tried, alignments are scored by
similarity, which sets the primary alignment and the AS tag, and soft-clipped
ends can be rescued with -S. The
long-read options page explains these.
--lr
For noisier long reads, such as Oxford Nanopore. It has the same long-read behaviour as
--lr-hq with wider tolerances: boundaries may be up to 40 bases off, up to
40 bases may be soft clipped at the read ends, and the similarity threshold is 0.60.
--lr and --lr-hq can't be used together.
--strict
Requires every read exon boundary to match an annotated exon boundary exactly: all
tolerances are 0, nothing may extend past the transcript's exons, short exon errors
are not tolerated, and the similarity filter is off (with exact boundaries, every
remaining transcript is a perfect structural match). --strict wins over the
values of --lr and --lr-hq, but keeps their long-read behaviour,
so --lr --strict still tries both strands, scores alignments, and rescues
clips with -S. Options you set yourself still override it.