Closed sygao closed 4 months ago
Revision of PR 152.
Add ref.snapshot.index
ref.snapshot.index
.SnapshotIndex
.id_to_taxid
index_by_taxid
.index_by_name
.index_by_legacy_id
EventSourcedRepoOTU
.OTUKeys
Add ref.snapshot.otu
ref.snapshot.otu
.OTUSnapshot
OTUSnapshot.load()
OTUSnapshot.cache()
OTUSnapshotToC
OTUSnapshotDataStore
data
Add ref.snapshot.models:
ref.snapshot.models
OTUSnapshotSequence
OTUSnapshotIsolate
OTUSnapshotOTU
OTUSnapshotToCIsolate
OTUSnapshotMeta
.at_event
Add tests/snapshot
tests/snapshot
:tada: This PR is included in version 2.0.0-alpha.31 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Revision of PR 152.
Add
ref.snapshot.index
.SnapshotIndex
.id_to_taxid
maps Virtool id to taxidindex_by_taxid
,.index_by_name
and.index_by_legacy_id
maps to Virtool idEventSourcedRepoOTU
.OTUKeys
dataclass to hold indexable informationAdd
ref.snapshot.otu
.OTUSnapshot
OTUSnapshot.load()
returns snapshot dataOTUSnapshot.cache()
writes snapshot data for a whole OTUOTUSnapshotToC
: Loads and writes table of contents dataOTUSnapshotDataStore
: Handles thedata
subdirectory, writes isolates and sequencesAdd
ref.snapshot.models
:OTUSnapshotSequence
,OTUSnapshotIsolate
,OTUSnapshotOTU
base models parse, validate and serialize repo dataOTUSnapshotToCIsolate
base model handles table of contents entries for each isolateOTUSnapshotMeta
holds metadata for the OTU, namely.at_event
Add
tests/snapshot