Enum: Strand (StrandEnum)
GFF3 column-7 strand values.
URI: bfs:enum/StrandEnum
Permissible Values
| Value | Meaning | Description |
|---|---|---|
| + | None | Plus/forward strand |
| - | None | Minus/reverse strand |
| . | None | Not stranded (GFF3 default) |
| ? | None | Strand is relevant but unknown (GFF3 allowance) |
Slots
| Name | Description |
|---|---|
| target_strand | Strand of the alignment on the target, when the target is a nucleotide sequen... |
| strand | GFF3 column 7 |
Notes
- Permissible value names are the literal GFF3 symbols (+, -, ., ?), not word forms (Plus, Minus, ...), so a value here round-trips to a real GFF3 file unchanged. linkml-lint's standard_naming and permissible_values_format checks both flag these four as non-conforming (not uppersnake-case); that is a deliberate exception, not an oversight, since a word form would be less faithful to the source format this schema exists to represent.
- Consequence, confirmed 2026-09-18 by running gen-pydantic against this schema: the generated Python Enum member for the minus strand is named
_(StrandEnum('-') is StrandEnum._), Python's conventional throwaway name, because pydantic generation can't turn a bare '-' into a valid identifier. Anyone writing code against a generated model will hit this; it's a consequence of the choice above, not a new problem, but worth knowing before it surprises someone.
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/ber-data/feature-schemas
LinkML Source
name: StrandEnum
description: GFF3 column-7 strand values.
title: Strand
notes:
- Permissible value names are the literal GFF3 symbols (+, -, ., ?), not word forms
(Plus, Minus, ...), so a value here round-trips to a real GFF3 file unchanged. linkml-lint's
standard_naming and permissible_values_format checks both flag these four as non-conforming
(not uppersnake-case); that is a deliberate exception, not an oversight, since a
word form would be less faithful to the source format this schema exists to represent.
- 'Consequence, confirmed 2026-09-18 by running gen-pydantic against this schema:
the generated Python Enum member for the minus strand is named `_` (StrandEnum(''-'')
is StrandEnum._), Python''s conventional throwaway name, because pydantic generation
can''t turn a bare ''-'' into a valid identifier. Anyone writing code against a
generated model will hit this; it''s a consequence of the choice above, not a new
problem, but worth knowing before it surprises someone.'
from_schema: https://w3id.org/ber-data/feature-schemas
rank: 1000
permissible_values:
+:
text: +
description: Plus/forward strand.
'-':
text: '-'
description: Minus/reverse strand.
.:
text: .
description: Not stranded (GFF3 default).
'?':
text: '?'
description: Strand is relevant but unknown (GFF3 allowance).