Junctions
Auto-generated from the config schema in the source. See the config guide for concepts. Provided by the alignments plugin. View source.
The alignments display's junctions setting: the junction arcs, over the
coverage band or in a strip above or below it, and in a strip of their own
while coverage.show is off. The band counts each splice junction from the reads'
N gaps and each same-reference join of a split read's segments by its class
(junction.class: deletion, duplication, which a circRNA back-splice
is, or inversion), once per pair of read-adjacent segments as the read
arcs count support. A split junction always takes its class's read-arc
color. Which junctions draw is the display's filter,
by its junction fields.
Example usage
{
type: 'LinearAlignmentsDisplay',
junctions: { placement: 'auto', labels: { show: true } },
filter: [
{ field: 'junction.reads', gte: 5 },
{ field: 'junction.canonical', equal: true },
{ field: 'junction.class', oneOf: ['splice', 'duplication'] },
],
}Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
showboolean = true |
draw the junction arcs |
heightnumber = 40 |
height in pixels of the strip the arcs draw in above or below the coverage band |
placementstringEnum ('overlay', 'above', 'below', 'auto') = 'overlay' |
where the arcs sit against the coverage band: overlay on its histogram, above in a strip of their own over it, below in a strip under it, or auto, which sends a junction below where it would cross another. With coverage hidden there is nothing to overlay: overlay and auto draw every arc hanging in the strip below, and above keeps its strip, arcs rising |
| labels JunctionLabels |
The read count on each arc: show. |
Related links
- User guide: Alignments track