Skip to content

Flatten Compressed Exons

The "flattenCompressedExons" transform flattens "delta encoded" exons. The transform inputs the start coordinate of the gene body and a comma-delimited string of alternating intron and exon lengths. A new data object is created for each exon.

This transform is mainly intended to be used with an optimized gene annotation track. Read more at Annotation Tracks notebook.

Parameters

as
Type: array

Field names for the flattened exons.

Default: ["exonStart", "exonEnd"]

exons
Type: string (field name)

The field containing the exons.

Default: "exons"

start
Type: string (field name)

Start coordinate of the gene body.

Default: "start"