Annotation
Defined in: node_modules/.pnpm/betula-schema@0.6.0/node_modules/betula-schema/dist/types.d.ts:113
A GFF3-derived sequence feature (gene model) node. Shared verbatim between picea (SequenceInterval) and react-bio-viz (SequenceInterval). seqid/start/end/strand stay flat rather than nesting under core/Location, to match the real current wire shape exactly.
This interface was referenced by Betula’s JSON-Schema
via the definition “Annotation”.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
type? |
"annotation" |
Wire-format object-kind discriminator (see betula’s versioning policy). Optional. Distinct from ‘interval_type’: ‘type’ says this is a betula Annotation object, ‘interval_type’ says which GFF3 feature kind it is. |
ID |
string |
- |
seqid |
string |
- |
source |
string |
GFF3 column 2. |
interval_type |
string |
GFF3 column 3 (feature type), e.g. ‘gene’, ‘mRNA’, ‘exon’, ‘CDS’. |
start |
number |
GFF3 column 4: 1-based inclusive start. |
end |
number |
GFF3 column 5: 1-based inclusive end. |
score |
number | "." |
GFF3 column 6. ‘.’ is the GFF3 convention for ‘no score’. |
strand |
"-" | "." | "+" |
GFF3 column 7. |
phase |
0 | 2 | 1 | "." |
GFF3 column 8 (CDS reading-frame phase). ‘.’ is the GFF3 convention for ‘not applicable’. |
attributes |
Metadata |
- |
children |
Annotation[] |
Nested features, e.g. mRNA under gene, exon/CDS under mRNA. |