Skip to content

Instantly share code, notes, and snippets.

@ngehlenborg
Created March 30, 2021 01:03
Show Gist options
  • Save ngehlenborg/26b4c52733211811322a56ecfe10a2ea to your computer and use it in GitHub Desktop.
Save ngehlenborg/26b4c52733211811322a56ecfe10a2ea to your computer and use it in GitHub Desktop.
GOSLING: Single-cell epigenomic analyses implicate candidate causal variants at inherited risk loci for Alzheimer’s and Parkinson’s diseases

Single-cell epigenomic analyses implicate candidate causal variants at inherited risk loci for Alzheimer’s and Parkinson’s diseases

Corces et al., Nature Genetics (2020)

Figure 4B

{
"title": "Single-cell Epigenomic Analysis",
"subtitle": "Corces et al. 2020",
"static": true,
"layout": "linear",
"arrangement": "vertical",
"views": [
{
"layout": "linear",
"xDomain": {"chromosome": "2"},
"centerRadius": 0.8,
"tracks": [
{
"alignment": "overlay",
"title": "chr2",
"data": {
"url": "https://raw.githubusercontent.com/sehilyi/gemini-datasets/master/data/cytogenetic_band.csv",
"type": "csv",
"chromosomeField": "Chr.",
"genomicFields": [
"ISCN_start",
"ISCN_stop",
"Basepair_start",
"Basepair_stop"
],
"quantitativeFields": ["Band", "Density"]
},
"tracks": [
{
"mark": "rect",
"dataTransform": {
"filter": [
{"field": "Stain", "oneOf": ["acen-1", "acen-2"], "not": true}
]
},
"color": {
"field": "Density",
"type": "nominal",
"domain": ["", "25", "50", "75", "100"],
"range": ["white", "#D9D9D9", "#979797", "#636363", "black"]
},
"size": {"value": 20}
},
{
"mark": "rect",
"dataTransform": {
"filter": [{"field": "Stain", "oneOf": ["gvar"]}]
},
"color": {"value": "#A0A0F2"},
"size": {"value": 20}
},
{
"mark": "triangleRight",
"dataTransform": {
"filter": [{"field": "Stain", "oneOf": ["acen-1"]}]
},
"color": {"value": "#B40101"},
"size": {"value": 20}
},
{
"mark": "triangleLeft",
"dataTransform": {
"filter": [{"field": "Stain", "oneOf": ["acen-2"]}]
},
"color": {"value": "#B40101"},
"size": {"value": 20}
},
{
"mark": "brush",
"x": {"linkingId": "detail"},
"color": {"value": "red"},
"opacity": {"value": 1},
"strokeWidth": {"value": 1},
"stroke": {"value": "red"}
}
],
"x": {"field": "Basepair_start", "type": "genomic", "axis": "none"},
"xe": {"field": "Basepair_stop", "type": "genomic"},
"stroke": {"value": "black"},
"strokeWidth": {"value": 1},
"style": {"outlineWidth": 0},
"width": 400,
"height": 25
}
]
},
{
"xDomain": {"chromosome": "2", "interval": [94994000, 95394000]},
"xLinkingId": "detail",
"tracks": [
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=VLFaiSVjTjW6mkbjRjWREA",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "Excitatory neurons",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#F29B67"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=UtUGUu9rS3yQ7Ie-YtX32g",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "Inhibitory neurons",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#3DC491"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=FBwldgSdQQWxh7R7-jemNA",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "Dopaminergic neurons",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#565C8B"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=Zz3CBDSqQ3ySrOSe2yj1eg",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "Microglia",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#77C0FA"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"type": "vector",
"url": "https://resgen.io/api/v1/tileset_info/?d=dc_SOjdCRgq_8PYf6W--7w",
"column": "position",
"value": "peak"
},
"title": "Oligodendrocytes",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#9B46E5"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=Nolbrk9kS3CE0jJL_7OW1g",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "Astrocytes",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#D73636"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=UZLlJyRBScWdGQ7L1eNk_g",
"type": "vector",
"column": "position",
"value": "peak"
},
"title": "OPCs",
"mark": "bar",
"x": {"field": "position", "type": "genomic"},
"y": {"field": "peak", "type": "quantitative"},
"color": {"value": "#E38ADC"},
"style": {"outline": "#20102F"},
"width": 400,
"height": 40
},
{
"alignment": "overlay",
"title": "Genes",
"data": {
"url": "https://server.gosling-lang.org/api/v1/tileset_info/?d=gene-annotation",
"type": "beddb",
"genomicFields": [
{"index": 1, "name": "start"},
{"index": 2, "name": "end"}
],
"valueFields": [
{"index": 5, "name": "strand", "type": "nominal"},
{"index": 3, "name": "name", "type": "nominal"}
],
"exonIntervalFields": [
{"index": 12, "name": "start"},
{"index": 13, "name": "end"}
]
},
"tracks": [
{
"dataTransform": {
"filter": [
{"field": "type", "oneOf": ["gene"]},
{"field": "strand", "oneOf": ["+"]}
]
},
"mark": "text",
"text": {"field": "name", "type": "nominal"},
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"style": {"textFontSize": 8, "dy": -12}
},
{
"dataTransform": {
"filter": [
{"field": "type", "oneOf": ["gene"]},
{"field": "strand", "oneOf": ["-"]}
]
},
"mark": "text",
"text": {"field": "name", "type": "nominal"},
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"style": {"textFontSize": 8, "dy": 10}
},
{
"dataTransform": {
"filter": [
{"field": "type", "oneOf": ["gene"]},
{"field": "strand", "oneOf": ["+"]}
]
},
"mark": "rect",
"x": {"field": "end", "type": "genomic"},
"size": {"value": 7}
},
{
"dataTransform": {
"filter": [
{"field": "type", "oneOf": ["gene"]},
{"field": "strand", "oneOf": ["-"]}
]
},
"mark": "rect",
"x": {"field": "start", "type": "genomic"},
"size": {"value": 7}
},
{
"dataTransform": {
"filter": [{"field": "type", "oneOf": ["exon"]}]
},
"mark": "rect",
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"size": {"value": 14}
},
{
"dataTransform": {
"filter": [{"field": "type", "oneOf": ["gene"]}]
},
"mark": "rule",
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"strokeWidth": {"value": 3}
}
],
"row": {"field": "strand", "type": "nominal", "domain": ["+", "-"]},
"color": {
"field": "strand",
"type": "nominal",
"domain": ["-", "+"],
"range": ["#012DB8", "#BE1E2C"]
},
"visibility": [
{
"operation": "less-than",
"measure": "width",
"threshold": "|xe-x|",
"transitionPadding": 10,
"target": "mark"
}
],
"style": {"outline": "#20102F"},
"width": 400,
"height": 80
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=EqSENQSXRL-EWYeBe-Y1rA",
"type": "beddb",
"genomicFields": [
{"name": "start", "index": 1},
{"name": "end", "index": 2}
]
},
"mark": "link",
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"y": {"flip": true},
"strokeWidth": {"value": 1},
"color": {"value": "none"},
"stroke": {"value": "#F97E2A"},
"opacity": {"value": 0.1},
"style": {"outline": "#20102F"},
"width": 400,
"height": 60
},
{
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=R4e7-rVfQPWTleJIJjLOEQ",
"type": "beddb",
"genomicFields": [
{"name": "start", "index": 1},
{"name": "end", "index": 2}
]
},
"mark": "link",
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"y": {"flip": true},
"strokeWidth": {"value": 1},
"color": {"value": "none"},
"stroke": {"value": "#50ADF9"},
"opacity": {"value": 0.1},
"style": {"outline": "#20102F"},
"overlayOnPreviousTrack": true,
"width": 400,
"height": 60
},
{
"title": "PLAC-seq (H3K4me3) Nott et al.",
"data": {
"url": "https://resgen.io/api/v1/tileset_info/?d=JzccFAJUQEiz-0188xaWZg",
"type": "beddb",
"genomicFields": [
{"name": "start", "index": 1},
{"name": "end", "index": 2}
]
},
"mark": "link",
"x": {"field": "start", "type": "genomic"},
"xe": {"field": "end", "type": "genomic"},
"y": {"flip": true},
"strokeWidth": {"value": 1},
"color": {"value": "none"},
"stroke": {"value": "#7B0EDC"},
"opacity": {"value": 0.1},
"style": {"outline": "#20102F"},
"overlayOnPreviousTrack": true,
"width": 400,
"height": 60
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment