BedAnnotation

interface BedAnnotation

An interface that describes BED records. For more information, see https://genome.ucsc.edu/FAQ/FAQformat.html#format1

Properties

blockCount

blockCount: undefined | number

A BED field for records that should be drawn as discontiguous/fragmented glyphs. This describes the number of fragments.

blockSizes

blockSizes: undefined | number []

A BED field for records that should be drawn as discontiguous/fragmented glyphs. This describes the size of each fragment.

blockStarts

blockStarts: undefined | number []

A BED field for records that should be drawn as discontiguous/fragmented glyphs. This describes the offset of each fragment.

chrom

chrom: string

A BED field that describes the chromosome of the record.

end

end: number

A BED field that describes the ending position of the record. This is chromEnd in the BED spec, but it’s end here to fit in better with the rest of SODA.

id

id: string

A unique identifier for the Annotation.

itemRgb

itemRgb: undefined | string

A BED field BED field that defines the color of the feature. It is an RGB string, e.g. (0, 1, 256).

name

name: undefined | string

A BED field that describes the name of the record.

score

score: undefined | number

A BED field that describes the “score” of the record.

start

start: number

A BED field that describes the starting position of the record. This is chromStart in the BED spec, but it’s start here to fit in better with the rest of SODA.

strand

strand: undefined | Forward | Reverse | Unknown | Unoriented

A BED field that describes the orientation/strand of the record.

thickEnd

thickEnd: undefined | number

A BED field that describes at which coordinate the feature should stop being drawn “thickly.”

thickStart

thickStart: undefined | number

A BED field that describes at which coordinate the feature should start being drawn “thickly.”