// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`gets settings 1`] = `
TrackDbFile {
  "data": {
    "myFirstTrack": RaStanza {
      "data": {
        "bigDataUrl": "data/first.bb",
        "longLabel": "The first track in my subtrack",
        "parent": "myFolder",
        "shortLabel": "My first track",
        "track": "myFirstTrack",
        "type": "bigBed 3",
        "visibility": "dense",
      },
      "name": "myFirstTrack",
      "nameKey": "track",
    },
    "myFolder": RaStanza {
      "data": {
        "group": "regulation",
        "longLabel": "My folder keeps my tracks together",
        "shortLabel": "My Folder",
        "superTrack": "on show",
        "track": "myFolder",
      },
      "name": "myFolder",
      "nameKey": "track",
    },
    "mySecondTrack": RaStanza {
      "data": {
        "bigDataUrl": "data/second.bb",
        "longLabel": "The second track in my subtrack",
        "parent": "myFolder",
        "shortLabel": "My second track",
        "track": "mySecondTrack",
        "type": "bigBed 3",
        "visibility": "hide",
      },
      "name": "mySecondTrack",
      "nameKey": "track",
    },
  },
  "nameKey": "track",
}
`;

exports[`gets settings 2`] = `
{
  "data": {
    "bigDataUrl": "data/first.bb",
    "longLabel": "The first track in my subtrack",
    "parent": "myFolder",
    "shortLabel": "My first track",
    "track": "myFirstTrack",
    "type": "bigBed 3",
    "visibility": "dense",
  },
  "name": "myFirstTrack",
  "nameKey": "track",
}
`;

exports[`parses an extended trackDB.txt file 1`] = `
TrackDbFile {
  "data": {
    "13_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/13_RNA-seq.html",
        "longLabel": "Iron Control Pig #13 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Control_13",
        "shortLabel": "Iron Control 13 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "13_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "13_RNA-seq",
      "nameKey": "track",
    },
    "13_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/13_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Control Pig #13 Hippocampal DNA Methylation",
        "parent": "Iron_Control_13",
        "shortLabel": "Iron Control 13 RRBS",
        "track": "13_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "13_RRBS",
      "nameKey": "track",
    },
    "13_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/13_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #13 Hippocampal CpG Methylation",
        "parent": "13_RRBS on",
        "shortLabel": "Iron Control 13 CpG",
        "track": "13_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "13_RRBS_CpG",
      "nameKey": "track",
    },
    "13_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/13_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #13 Hippocampal Non-CpG Methylation",
        "parent": "13_RRBS off",
        "shortLabel": "Iron Control 13 Non-CpG",
        "track": "13_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "13_RRBS_non_CpG",
      "nameKey": "track",
    },
    "13_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/13_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Control Pig #13 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "13_RNA-seq",
        "shortLabel": "Iron Control 13 Minus",
        "track": "13_minus",
        "type": "bigWig 0 -100",
      },
      "name": "13_minus",
      "nameKey": "track",
    },
    "13_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/13_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Control Pig #13 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "13_RNA-seq",
        "shortLabel": "Iron Control 13 Plus",
        "track": "13_plus",
        "type": "bigWig 0 100",
      },
      "name": "13_plus",
      "nameKey": "track",
    },
    "15_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/15_RNA-seq.html",
        "longLabel": "Iron Deficient Pig #15 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Deficient_15",
        "shortLabel": "Iron Deficient 15 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "15_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "15_RNA-seq",
      "nameKey": "track",
    },
    "15_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/15_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Deficient Pig #15 Hippocampal DNA Methylation",
        "parent": "Iron_Deficient_15",
        "shortLabel": "Iron Deficient 15 RRBS",
        "track": "15_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "15_RRBS",
      "nameKey": "track",
    },
    "15_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/15_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #15 Hippocampal CpG Methylation",
        "parent": "15_RRBS on",
        "shortLabel": "Iron Deficient 15 CpG",
        "track": "15_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "15_RRBS_CpG",
      "nameKey": "track",
    },
    "15_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/15_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #15 Hippocampal Non-CpG Methylation",
        "parent": "15_RRBS off",
        "shortLabel": "Iron Deficient 15 Non-CpG",
        "track": "15_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "15_RRBS_non_CpG",
      "nameKey": "track",
    },
    "15_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/15_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Deficient Pig #15 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "15_RNA-seq",
        "shortLabel": "Iron Deficient 15 Minus",
        "track": "15_minus",
        "type": "bigWig 0 -100",
      },
      "name": "15_minus",
      "nameKey": "track",
    },
    "15_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/15_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Deficient Pig #15 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "15_RNA-seq",
        "shortLabel": "Iron Deficient 15 Plus",
        "track": "15_plus",
        "type": "bigWig 0 100",
      },
      "name": "15_plus",
      "nameKey": "track",
    },
    "19_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/19_RNA-seq.html",
        "longLabel": "Iron Control Pig #19 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Control_19",
        "shortLabel": "Iron Control 19 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "19_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "19_RNA-seq",
      "nameKey": "track",
    },
    "19_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/19_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Control Pig #19 Hippocampal DNA Methylation",
        "parent": "Iron_Control_19",
        "shortLabel": "Iron Control 19 RRBS",
        "track": "19_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "19_RRBS",
      "nameKey": "track",
    },
    "19_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/19_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #19 Hippocampal CpG Methylation",
        "parent": "19_RRBS on",
        "shortLabel": "Iron Control 19 CpG",
        "track": "19_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "19_RRBS_CpG",
      "nameKey": "track",
    },
    "19_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/19_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #19 Hippocampal Non-CpG Methylation",
        "parent": "19_RRBS off",
        "shortLabel": "Iron Control 19 Non-CpG",
        "track": "19_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "19_RRBS_non_CpG",
      "nameKey": "track",
    },
    "19_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/19_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Control Pig #19 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "19_RNA-seq",
        "shortLabel": "Iron Control 19 Minus",
        "track": "19_minus",
        "type": "bigWig 0 -100",
      },
      "name": "19_minus",
      "nameKey": "track",
    },
    "19_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/19_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Control Pig #19 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "19_RNA-seq",
        "shortLabel": "Iron Control 19 Plus",
        "track": "19_plus",
        "type": "bigWig 0 100",
      },
      "name": "19_plus",
      "nameKey": "track",
    },
    "25_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/25_RNA-seq.html",
        "longLabel": "Iron Control Pig #25 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Control_25",
        "shortLabel": "Iron Control 25 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "25_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "25_RNA-seq",
      "nameKey": "track",
    },
    "25_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/25_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Control Pig #25 Hippocampal DNA Methylation",
        "parent": "Iron_Control_25",
        "shortLabel": "Iron Control 25 RRBS",
        "track": "25_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "25_RRBS",
      "nameKey": "track",
    },
    "25_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/25_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #25 Hippocampal CpG Methylation",
        "parent": "25_RRBS on",
        "shortLabel": "Iron Control 25 CpG",
        "track": "25_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "25_RRBS_CpG",
      "nameKey": "track",
    },
    "25_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/25_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #25 Hippocampal Non-CpG Methylation",
        "parent": "25_RRBS off",
        "shortLabel": "Iron Control 25 Non-CpG",
        "track": "25_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "25_RRBS_non_CpG",
      "nameKey": "track",
    },
    "25_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/25_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Control Pig #25 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "25_RNA-seq",
        "shortLabel": "Iron Control 25 Minus",
        "track": "25_minus",
        "type": "bigWig 0 -100",
      },
      "name": "25_minus",
      "nameKey": "track",
    },
    "25_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/25_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Control Pig #25 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "25_RNA-seq",
        "shortLabel": "Iron Control 25 Plus",
        "track": "25_plus",
        "type": "bigWig 0 100",
      },
      "name": "25_plus",
      "nameKey": "track",
    },
    "26_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/26_RNA-seq.html",
        "longLabel": "PRRSv Control Pig #26 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Control_26",
        "shortLabel": "PRRSv Control RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "26_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "26_RNA-seq",
      "nameKey": "track",
    },
    "26_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/26_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Control Pig #26  Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "26_RNA-seq",
        "shortLabel": "PRRSv Control Minus",
        "track": "26_minus",
        "type": "bigWig 0 -100",
      },
      "name": "26_minus",
      "nameKey": "track",
    },
    "26_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/26_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Control Pig #26 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "26_RNA-seq",
        "shortLabel": "PRRSv Control Plus",
        "track": "26_plus",
        "type": "bigWig 0 100",
      },
      "name": "26_plus",
      "nameKey": "track",
    },
    "27_a_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/27_RNA-seq.html",
        "longLabel": "Iron Deficient Pig #27 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Deficient_27",
        "shortLabel": "Iron Deficient 27 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "27_a_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "27_a_RNA-seq",
      "nameKey": "track",
    },
    "27_a_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/27_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Deficient Pig #27 Hippocampal DNA Methylation",
        "parent": "Iron_Deficient_27",
        "shortLabel": "Iron Deficient 27 RRBS",
        "track": "27_a_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "27_a_RRBS",
      "nameKey": "track",
    },
    "27_a_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/27_a_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #27 Hippocampal CpG Methylation",
        "parent": "27_a_RRBS on",
        "shortLabel": "Iron Deficient 27 CpG",
        "track": "27_a_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "27_a_RRBS_CpG",
      "nameKey": "track",
    },
    "27_a_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/27_a_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #27 Hippocampal Non-CpG Methylation",
        "parent": "27_a_RRBS off",
        "shortLabel": "Iron Deficient 27 Non-CpG",
        "track": "27_a_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "27_a_RRBS_non_CpG",
      "nameKey": "track",
    },
    "27_a_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/27_a_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Deficient Pig #27 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "27_a_RNA-seq",
        "shortLabel": "Iron Deficient 27 Minus",
        "track": "27_a_minus",
        "type": "bigWig 0 -100",
      },
      "name": "27_a_minus",
      "nameKey": "track",
    },
    "27_a_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/27_a_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Deficient Pig #27 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "27_a_RNA-seq",
        "shortLabel": "Iron Deficient 27 Plus",
        "track": "27_a_plus",
        "type": "bigWig 0 100",
      },
      "name": "27_a_plus",
      "nameKey": "track",
    },
    "27_b_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/27_b_RNA-seq.html",
        "longLabel": "PRRSv Control Pig #27 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Control_27",
        "shortLabel": "PRRSv Control RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "27_b_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "27_b_RNA-seq",
      "nameKey": "track",
    },
    "27_b_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/27_b_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Control Pig #27 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "27_b_RNA-seq",
        "shortLabel": "PRRSv Control Minus",
        "track": "27_b_minus",
        "type": "bigWig 0 -100",
      },
      "name": "27_b_minus",
      "nameKey": "track",
    },
    "27_b_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/27_b_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Control Pig #27 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "27_b_RNA-seq",
        "shortLabel": "PRRSv Control Plus",
        "track": "27_b_plus",
        "type": "bigWig 0 100",
      },
      "name": "27_b_plus",
      "nameKey": "track",
    },
    "30_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/30_RNA-seq.html",
        "longLabel": "PRRSv Control Pig #30 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Control_30",
        "shortLabel": "PRRSv Control RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "30_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "30_RNA-seq",
      "nameKey": "track",
    },
    "30_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/30_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Control Pig #30 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "30_RNA-seq",
        "shortLabel": "PRRSv Control Minus",
        "track": "30_minus",
        "type": "bigWig 0 -100",
      },
      "name": "30_minus",
      "nameKey": "track",
    },
    "30_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/30_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Control Pig #30 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "30_RNA-seq",
        "shortLabel": "PRRSv Control Plus",
        "track": "30_plus",
        "type": "bigWig 0 100",
      },
      "name": "30_plus",
      "nameKey": "track",
    },
    "31_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/31_RNA-seq.html",
        "longLabel": "Iron Control Pig #31 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Control_31",
        "shortLabel": "Iron Control 31 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "31_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "31_RNA-seq",
      "nameKey": "track",
    },
    "31_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/31_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Control Pig #31 Hippocampal DNA Methylation",
        "parent": "Iron_Control_31",
        "shortLabel": "Iron Control 31 RRBS",
        "track": "31_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "31_RRBS",
      "nameKey": "track",
    },
    "31_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/31_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #31 Hippocampal CpG Methylation",
        "parent": "31_RRBS on",
        "shortLabel": "Iron Control 31 CpG",
        "track": "31_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "31_RRBS_CpG",
      "nameKey": "track",
    },
    "31_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/31_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Control Pig #31 Hippocampal Non-CpG Methylation",
        "parent": "31_RRBS off",
        "shortLabel": "Iron Control 31 Non-CpG",
        "track": "31_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "31_RRBS_non_CpG",
      "nameKey": "track",
    },
    "31_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/31_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Control Pig #31 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "31_RNA-seq",
        "shortLabel": "Iron Control 31 Minus",
        "track": "31_minus",
        "type": "bigWig 0 -100",
      },
      "name": "31_minus",
      "nameKey": "track",
    },
    "31_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/31_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Control Pig #31 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "31_RNA-seq",
        "shortLabel": "Iron Control 31 Plus",
        "track": "31_plus",
        "type": "bigWig 0 100",
      },
      "name": "31_plus",
      "nameKey": "track",
    },
    "33_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "Iron/33_RNA-seq.html",
        "longLabel": "Iron Deficient Pig #33 Hippocampal RNA-seq Raw Signal",
        "parent": "Iron_Deficient_33",
        "shortLabel": "Iron Deficient 33 RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "33_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "33_RNA-seq",
      "nameKey": "track",
    },
    "33_RRBS": RaStanza {
      "data": {
        "allButtonPair": "on",
        "compositeTrack": "on",
        "exonArrows": "off",
        "html": "Iron/33_RRBS.html",
        "itemRgb": "on",
        "longLabel": "Iron Deficient Pig #33 Hippocampal DNA Methylation",
        "parent": "Iron_Deficient_33",
        "shortLabel": "Iron Deficient 33 RRBS",
        "track": "33_RRBS",
        "type": "bigBed 9 +",
        "visibility": "pack",
      },
      "name": "33_RRBS",
      "nameKey": "track",
    },
    "33_RRBS_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/33_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #33 Hippocampal CpG Methylation",
        "parent": "33_RRBS on",
        "shortLabel": "Iron Deficient 33 CpG",
        "track": "33_RRBS_CpG",
        "type": "bigBed 9 +",
      },
      "name": "33_RRBS_CpG",
      "nameKey": "track",
    },
    "33_RRBS_non_CpG": RaStanza {
      "data": {
        "bigDataUrl": "Iron/33_non_CpG.bb",
        "labelOnFeature": "on",
        "longLabel": "Iron Deficient Pig #33 Hippocampal Non-CpG Methylation",
        "parent": "33_RRBS off",
        "shortLabel": "Iron Deficient 33 Non-CpG",
        "track": "33_RRBS_non_CpG",
        "type": "bigBed 9 +",
      },
      "name": "33_RRBS_non_CpG",
      "nameKey": "track",
    },
    "33_minus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/33_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "Iron Deficient Pig #33 Hippocampal Minus Strand RNA-seq Raw Signal",
        "parent": "33_RNA-seq",
        "shortLabel": "Iron Deficient 33 Minus",
        "track": "33_minus",
        "type": "bigWig 0 -100",
      },
      "name": "33_minus",
      "nameKey": "track",
    },
    "33_plus": RaStanza {
      "data": {
        "bigDataUrl": "Iron/33_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "Iron Deficient Pig #33 Hippocampal Plus Strand RNA-seq Raw Signal",
        "parent": "33_RNA-seq",
        "shortLabel": "Iron Deficient 33 Plus",
        "track": "33_plus",
        "type": "bigWig 0 100",
      },
      "name": "33_plus",
      "nameKey": "track",
    },
    "34_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/34_RNA-seq.html",
        "longLabel": "PRRSv Control Pig #34 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Control_34",
        "shortLabel": "PRRSv Control RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "34_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "34_RNA-seq",
      "nameKey": "track",
    },
    "34_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/34_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Control Pig #34 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "34_RNA-seq",
        "shortLabel": "PRRSv Control Minus",
        "track": "34_minus",
        "type": "bigWig 0 -100",
      },
      "name": "34_minus",
      "nameKey": "track",
    },
    "34_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/34_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Control Pig #34 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "34_RNA-seq",
        "shortLabel": "PRRSv Control Plus",
        "track": "34_plus",
        "type": "bigWig 0 100",
      },
      "name": "34_plus",
      "nameKey": "track",
    },
    "37_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/37_RNA-seq.html",
        "longLabel": "PRRSv Control Pig #37 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Control_37",
        "shortLabel": "PRRSv Control RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "37_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "37_RNA-seq",
      "nameKey": "track",
    },
    "37_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/37_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Control Pig #37 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "37_RNA-seq",
        "shortLabel": "PRRSv Control Minus",
        "track": "37_minus",
        "type": "bigWig 0 -100",
      },
      "name": "37_minus",
      "nameKey": "track",
    },
    "37_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/37_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Control Pig #37 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "37_RNA-seq",
        "shortLabel": "PRRSv Control Plus",
        "track": "37_plus",
        "type": "bigWig 0 100",
      },
      "name": "37_plus",
      "nameKey": "track",
    },
    "40_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/40_RNA-seq.html",
        "longLabel": "PRRSv Infected Pig #40 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Infected_40",
        "shortLabel": "PRRSv Infected RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "40_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "40_RNA-seq",
      "nameKey": "track",
    },
    "40_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/40_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Infected Pig #40 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "40_RNA-seq",
        "shortLabel": "PRRSv Infected Minus",
        "track": "40_minus",
        "type": "bigWig 0 -100",
      },
      "name": "40_minus",
      "nameKey": "track",
    },
    "40_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/40_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Infected Pig #40 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "40_RNA-seq",
        "shortLabel": "PRRSv Infected Plus",
        "track": "40_plus",
        "type": "bigWig 0 100",
      },
      "name": "40_plus",
      "nameKey": "track",
    },
    "41_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/41_RNA-seq.html",
        "longLabel": "PRRSv Infected Pig #41 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Infected_41",
        "shortLabel": "PRRSv Infected RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "41_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "41_RNA-seq",
      "nameKey": "track",
    },
    "41_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/41_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Infected Pig #41 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "41_RNA-seq",
        "shortLabel": "PRRSv Infected Minus",
        "track": "41_minus",
        "type": "bigWig 0 -100",
      },
      "name": "41_minus",
      "nameKey": "track",
    },
    "41_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/41_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Infected Pig #41 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "41_RNA-seq",
        "shortLabel": "PRRSv Infected Plus",
        "track": "41_plus",
        "type": "bigWig 0 100",
      },
      "name": "41_plus",
      "nameKey": "track",
    },
    "45_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/45_RNA-seq.html",
        "longLabel": "PRRSv Infected Pig #45 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Infected_45",
        "shortLabel": "PRRSv Infected RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "45_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "45_RNA-seq",
      "nameKey": "track",
    },
    "45_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/45_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Infected Pig #45 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "45_RNA-seq",
        "shortLabel": "PRRSv Infected Minus",
        "track": "45_minus",
        "type": "bigWig 0 -100",
      },
      "name": "45_minus",
      "nameKey": "track",
    },
    "45_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/45_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Infected Pig #45 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "45_RNA-seq",
        "shortLabel": "PRRSv Infected Plus",
        "track": "45_plus",
        "type": "bigWig 0 100",
      },
      "name": "45_plus",
      "nameKey": "track",
    },
    "48_RNA-seq": RaStanza {
      "data": {
        "aggregate": "solidOverlay",
        "container": "multiWig",
        "html": "PRRSv/48_RNA-seq.html",
        "longLabel": "PRRSv Infected Pig #48 Hippocampal RNA-seq Raw Signal",
        "parent": "PRRSv_Infected_48",
        "shortLabel": "PRRSv Infected RNA-seq",
        "showSubtrackColorOnUi": "on",
        "track": "48_RNA-seq",
        "type": "bigWig",
        "viewLimits": "-10:10",
        "visibility": "full",
        "windowingFunction": "mean+whiskers",
      },
      "name": "48_RNA-seq",
      "nameKey": "track",
    },
    "48_minus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/48_minus.bigwig",
        "color": "255,0,0",
        "longLabel": "PRRSv Infected Pig #48 Minus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "48_RNA-seq",
        "shortLabel": "PRRSv Infected Minus",
        "track": "48_minus",
        "type": "bigWig 0 -100",
      },
      "name": "48_minus",
      "nameKey": "track",
    },
    "48_plus": RaStanza {
      "data": {
        "bigDataUrl": "PRRSv/48_plus.bigwig",
        "color": "0,0,255",
        "longLabel": "PRRSv Infected Pig #48 Plus Strand Hippocampal RNA-seq Raw Signal",
        "parent": "48_RNA-seq",
        "shortLabel": "PRRSv Infected Plus",
        "track": "48_plus",
        "type": "bigWig 0 100",
      },
      "name": "48_plus",
      "nameKey": "track",
    },
    "Iron_Control_13": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Control Pig #13 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Control 13",
        "superTrack": "on",
        "track": "Iron_Control_13",
      },
      "name": "Iron_Control_13",
      "nameKey": "track",
    },
    "Iron_Control_19": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Control Pig #19 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Control 19",
        "superTrack": "on",
        "track": "Iron_Control_19",
      },
      "name": "Iron_Control_19",
      "nameKey": "track",
    },
    "Iron_Control_25": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Control Pig #25 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Control 25",
        "superTrack": "on",
        "track": "Iron_Control_25",
      },
      "name": "Iron_Control_25",
      "nameKey": "track",
    },
    "Iron_Control_31": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Control Pig #31 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Control 31",
        "superTrack": "on",
        "track": "Iron_Control_31",
      },
      "name": "Iron_Control_31",
      "nameKey": "track",
    },
    "Iron_Deficient_15": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Deficient Pig #15 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Deficient 15",
        "superTrack": "on show",
        "track": "Iron_Deficient_15",
      },
      "name": "Iron_Deficient_15",
      "nameKey": "track",
    },
    "Iron_Deficient_27": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Deficient Pig #27 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Deficient 27",
        "superTrack": "on show",
        "track": "Iron_Deficient_27",
      },
      "name": "Iron_Deficient_27",
      "nameKey": "track",
    },
    "Iron_Deficient_33": RaStanza {
      "data": {
        "group": "regulation",
        "html": "Iron/description.html",
        "longLabel": "Iron Deficient Pig #33 Hippocampal DNA Methylation and Gene Expression",
        "shortLabel": "Iron Deficient 33",
        "superTrack": "on show",
        "track": "Iron_Deficient_33",
      },
      "name": "Iron_Deficient_33",
      "nameKey": "track",
    },
    "PRRSv_Control_26": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Control Pig #26 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Control 26",
        "superTrack": "on",
        "track": "PRRSv_Control_26",
      },
      "name": "PRRSv_Control_26",
      "nameKey": "track",
    },
    "PRRSv_Control_27": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Control Pig #27 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Control 27",
        "superTrack": "on",
        "track": "PRRSv_Control_27",
      },
      "name": "PRRSv_Control_27",
      "nameKey": "track",
    },
    "PRRSv_Control_30": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Control Pig #30 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Control 30",
        "superTrack": "on",
        "track": "PRRSv_Control_30",
      },
      "name": "PRRSv_Control_30",
      "nameKey": "track",
    },
    "PRRSv_Control_34": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Control Pig #34 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Control 34",
        "superTrack": "on",
        "track": "PRRSv_Control_34",
      },
      "name": "PRRSv_Control_34",
      "nameKey": "track",
    },
    "PRRSv_Control_37": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Control Pig #37 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Control 37",
        "superTrack": "on",
        "track": "PRRSv_Control_37",
      },
      "name": "PRRSv_Control_37",
      "nameKey": "track",
    },
    "PRRSv_Infected_40": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Infected Pig #40 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Infected 40",
        "superTrack": "on show",
        "track": "PRRSv_Infected_40",
      },
      "name": "PRRSv_Infected_40",
      "nameKey": "track",
    },
    "PRRSv_Infected_41": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Infected Pig #41 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Infected 41",
        "superTrack": "on show",
        "track": "PRRSv_Infected_41",
      },
      "name": "PRRSv_Infected_41",
      "nameKey": "track",
    },
    "PRRSv_Infected_45": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Infected Pig #45 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Infected 45",
        "superTrack": "on show",
        "track": "PRRSv_Infected_45",
      },
      "name": "PRRSv_Infected_45",
      "nameKey": "track",
    },
    "PRRSv_Infected_48": RaStanza {
      "data": {
        "group": "regulation",
        "html": "PRRSv/description.html",
        "longLabel": "PRRSv Infected Pig #48 Hippocampal Gene Expression",
        "shortLabel": "PRRSv Infected 48",
        "superTrack": "on show",
        "track": "PRRSv_Infected_48",
      },
      "name": "PRRSv_Infected_48",
      "nameKey": "track",
    },
  },
  "nameKey": "track",
}
`;

exports[`parses an extended trackDB.txt file 2`] = `
{
  "data": {
    "bigDataUrl": "PRRSv/26_plus.bigwig",
    "color": "0,0,255",
    "longLabel": "PRRSv Control Pig #26 Plus Strand Hippocampal RNA-seq Raw Signal",
    "parent": "26_RNA-seq",
    "shortLabel": "PRRSv Control Plus",
    "track": "26_plus",
    "type": "bigWig 0 100",
  },
  "name": "26_plus",
  "nameKey": "track",
}
`;

exports[`reads a basic trackDb.txt file 1`] = `
TrackDbFile {
  "data": {
    "dnaseReads": RaStanza {
      "data": {
        "bigDataUrl": "dnaseReads.bam",
        "longLabel": "DNAse reads mapped with MAQ",
        "shortLabel": "DNAse Reads",
        "track": "dnaseReads",
        "type": "bam",
      },
      "name": "dnaseReads",
      "nameKey": "track",
    },
    "dnaseSignal": RaStanza {
      "data": {
        "bigDataUrl": "dnaseSignal.bigWig",
        "longLabel": "Depth of alignments of DNAse reads",
        "shortLabel": "DNAse Signal",
        "track": "dnaseSignal",
        "type": "bigWig",
      },
      "name": "dnaseSignal",
      "nameKey": "track",
    },
  },
  "nameKey": "track",
}
`;
