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 an observable notebook.

Parameters

as

Field names for the flattened exons.

Default: ["exonStart", "exonEnd"]

exons

The field containing the exons.

Default: "exons"

start

Start coordinate of the gene body.

Default: "start"

Example

TODO