Export HGVS.
[lightning.git] / gob.go
diff --git a/gob.go b/gob.go
index 2fb061c5b1fc1770982dbeb9400d35b33ef562fb..a8401d8af8627f45882c8fae82704595495baeaa 100644 (file)
--- a/gob.go
+++ b/gob.go
@@ -14,6 +14,11 @@ type CompactGenome struct {
        Variants []tileVariantID
 }
 
+type CompactSequence struct {
+       Name          string
+       TileSequences map[string][]tileLibRef
+}
+
 type TileVariant struct {
        Tag      tagID
        Variant  tileVariantID
@@ -22,9 +27,10 @@ type TileVariant struct {
 }
 
 type LibraryEntry struct {
-       TagSet         [][]byte
-       CompactGenomes []CompactGenome
-       TileVariants   []TileVariant
+       TagSet           [][]byte
+       CompactGenomes   []CompactGenome
+       CompactSequences []CompactSequence
+       TileVariants     []TileVariant
 }
 
 func ReadCompactGenomes(rdr io.Reader) ([]CompactGenome, error) {