Dataclass to store parsed entries from the annotations dictionary. Exists to support modularity and readibility within the Query class.

add(id_, value, sources, accessions)

Adds an annotation with an ID, value, and accession IDs. Args can be 'NA'.

to_polars()

Converts object to a Polars DataFrame.