8 "golang.org/x/crypto/blake2b"
11 type CompactGenome struct {
13 Variants []tileVariantID
16 type LibraryEntry struct {
18 CompactGenomes []CompactGenome
19 TileVariants []struct {
21 Blake2b [blake2b.Size]byte
26 func ReadCompactGenomes(rdr io.Reader) ([]CompactGenome, error) {
27 dec := gob.NewDecoder(rdr)
28 var ret []CompactGenome
31 err := dec.Decode(&ent)
34 } else if err != nil {
37 ret = append(ret, ent.CompactGenomes...)