Skip to content

parse target attribute

Mojo function 🡭

fn def parse_target_attribute(value: BString) -> TargetAttribute

Parse a GFF3 Target attribute value: ‘target_id start end [strand]’.

Coordinates are 1-based. Strand (+ or -) is optional. Single-pass over the span; never builds an intermediate token list.

Args:

  • value (BString)

Returns:

TargetAttribute

Raises: