-
-
Save sehilyi/66a1091fc3766be1a76718bfaf79c491 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layout": "linear", | |
"arrangement": "vertical", | |
"centerRadius": 0.5, | |
"assembly": "hg19", | |
"spacing": 40, | |
"style": { | |
"outlineWidth": 1, | |
"outline": "lightgray", | |
"enableSmoothPath": false, | |
"withinLinkVerticalLines": true | |
}, | |
"views": [ | |
{ | |
"arrangement": "vertical", | |
"views": [ | |
{ | |
"linkingId": "mid-scale", | |
"xDomain": {"chromosome": "chr1"}, | |
"layout": "linear", | |
"tracks": [ | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-driver", | |
"title": "Putative Driver", | |
"data": { | |
"values": [ | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "9", | |
"pos": 139388896, | |
"ref": "NOTCH1_SEC16A", | |
"alt": "x", | |
"gene": " NOTCH1", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "gene_fusion", | |
"top_category": "SV", | |
"biallelic": "no" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "8", | |
"pos": 128747680, | |
"ref": "x", | |
"alt": "x", | |
"gene": " MYC", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_amplification", | |
"top_category": "CNA", | |
"biallelic": "no" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "13", | |
"pos": "32914137", | |
"ref": "C", | |
"alt": "A", | |
"gene": "⊙ BRCA2", | |
"driver": "cds", | |
"driver_statement": "driver_by_rules", | |
"category": "coding", | |
"top_category": "mutational", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "17", | |
"pos": "7577511", | |
"ref": "A", | |
"alt": "T", | |
"gene": "⊙ TP53", | |
"driver": "cds", | |
"driver_statement": "driver_by_rank", | |
"category": "coding", | |
"top_category": "mutational", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "13", | |
"pos": 32889611, | |
"ref": "x", | |
"alt": "x", | |
"gene": "⊙ BRCA2", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_deletion", | |
"top_category": "CNA", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "17", | |
"pos": 7565097, | |
"ref": "x", | |
"alt": "x", | |
"gene": "⊙ TP53", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_deletion", | |
"top_category": "CNA", | |
"biallelic": "yes" | |
} | |
], | |
"type": "json", | |
"chromosomeField": "chr", | |
"genomicFields": ["pos"] | |
}, | |
"mark": "text", | |
"x": {"field": "pos", "type": "genomic"}, | |
"text": {"field": "gene", "type": "nominal"}, | |
"color": {"value": "black"}, | |
"style": {"textFontWeight": "normal"}, | |
"tooltip": [ | |
{"field": "pos", "alt": "Position", "type": "genomic"}, | |
{"field": "ref", "alt": "REF", "type": "nominal"}, | |
{"field": "alt", "alt": "ALT", "type": "nominal"}, | |
{"field": "category", "alt": "Category", "type": "nominal"}, | |
{ | |
"field": "top_category", | |
"alt": "Top Category", | |
"type": "nominal" | |
}, | |
{"field": "biallelic", "alt": "Biallelic", "type": "nominal"} | |
], | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "driver-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-mutation", | |
"title": "Point Mutation", | |
"style": {"background": "#FFFFFF", "inlineLegend": true}, | |
"data": { | |
"type": "vcf", | |
"url": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20160830.somatic.snv_mnv.sorted.vcf.gz", | |
"indexUrl": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20160830.somatic.snv_mnv.sorted.vcf.gz.tbi", | |
"sampleLength": 400 | |
}, | |
"dataTransform": [ | |
{ | |
"field": "DISTPREV", | |
"type": "filter", | |
"oneOf": [0], | |
"not": true | |
} | |
], | |
"mark": "point", | |
"x": {"field": "POS", "type": "genomic"}, | |
"color": { | |
"field": "SUBTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["C>A", "C>G", "C>T", "T>A", "T>C", "T>G"] | |
}, | |
"y": { | |
"field": "DISTPREVLOGE", | |
"type": "quantitative", | |
"axis": "left", | |
"range": [0, 50] | |
}, | |
"opacity": {"value": 0.9}, | |
"tooltip": [ | |
{ | |
"field": "DISTPREV", | |
"type": "nominal", | |
"format": "s1", | |
"alt": "Distance To Previous Mutation (BP)" | |
}, | |
{"field": "POS", "type": "genomic"}, | |
{"field": "SUBTYPE", "type": "nominal"} | |
], | |
"width": 1407, | |
"height": 60 | |
}, | |
{ | |
"id": "mutation-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-indel", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"url": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20161006.somatic.indel.sorted.vcf.gz", | |
"indexUrl": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20161006.somatic.indel.sorted.vcf.gz.tbi", | |
"type": "vcf", | |
"sampleLength": 400 | |
}, | |
"dataTransform": [ | |
{ | |
"type": "concat", | |
"fields": ["REF", "ALT"], | |
"separator": " → ", | |
"newField": "LAB" | |
}, | |
{ | |
"type": "replace", | |
"field": "MUTTYPE", | |
"replace": [ | |
{"from": "insertion", "to": "Insertion"}, | |
{"from": "deletion", "to": "Deletion"} | |
], | |
"newField": "MUTTYPE" | |
} | |
], | |
"alignment": "overlay", | |
"tracks": [ | |
{ | |
"size": {"value": 19}, | |
"visibility": [ | |
{ | |
"target": "track", | |
"operation": "GT", | |
"measure": "zoomLevel", | |
"threshold": 1000 | |
} | |
] | |
}, | |
{ | |
"xe": {"field": "POSEND", "type": "genomic", "axis": "top"}, | |
"visibility": [ | |
{ | |
"target": "track", | |
"operation": "LTET", | |
"measure": "zoomLevel", | |
"threshold": 1000 | |
} | |
] | |
} | |
], | |
"mark": "rect", | |
"x": {"field": "POS", "type": "genomic"}, | |
"stroke": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"strokeWidth": {"value": 0}, | |
"color": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"row": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"tooltip": [ | |
{"field": "POS", "type": "genomic"}, | |
{"field": "POSEND", "type": "genomic"}, | |
{"field": "MUTTYPE", "type": "nominal"}, | |
{"field": "ALT", "type": "nominal"}, | |
{"field": "REF", "type": "nominal"}, | |
{"field": "QUAL", "type": "quantitative"} | |
], | |
"opacity": {"value": 0.9}, | |
"width": 1407, | |
"height": 40 | |
}, | |
{ | |
"id": "indel-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-cnv", | |
"title": "CNV", | |
"style": {"background": "#FFFFFF"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"alignment": "overlay", | |
"tracks": [ | |
{ | |
"y": { | |
"field": "total_cn", | |
"type": "quantitative", | |
"axis": "right", | |
"grid": true, | |
"range": [0, 50] | |
}, | |
"color": {"value": "#808080"} | |
} | |
], | |
"tooltip": [ | |
{"field": "total_cn", "type": "quantitative"}, | |
{"field": "major_cn", "type": "quantitative"}, | |
{"field": "minor_cn", "type": "quantitative"} | |
], | |
"size": {"value": 5}, | |
"stroke": {"value": "#808080"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 0.7}, | |
"width": 1407, | |
"height": 60 | |
}, | |
{ | |
"id": "cnv-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-gain", | |
"title": "Gain", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"dataTransform": [ | |
{"type": "filter", "field": "total_cn", "inRange": [5, 999]} | |
], | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"color": {"value": "#73C475"}, | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "gain-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-loh", | |
"title": "LOH", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"dataTransform": [ | |
{"type": "filter", "field": "minor_cn", "oneOf": ["0"]}, | |
{ | |
"type": "filter", | |
"field": "total_cn", | |
"oneOf": ["0"], | |
"not": true | |
} | |
], | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"color": {"value": "#FB6A4B"}, | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "loh-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-sv", | |
"alignment": "overlay", | |
"experimental": { | |
"performanceMode": true, | |
"mouseEvents": { | |
"click": true, | |
"mouseOver": true, | |
"groupMarksByField": "sv_id" | |
} | |
}, | |
"data": { | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.pcawg_consensus_1.6.161022.somatic.sv.bedpe", | |
"type": "csv", | |
"separator": "\t", | |
"headerNames": [ | |
"chrom1", | |
"start1", | |
"end1", | |
"chrom2", | |
"start2", | |
"end2", | |
"sv_id", | |
"pe_support", | |
"strand1", | |
"strand2" | |
], | |
"genomicFieldsToConvert": [ | |
{ | |
"chromosomeField": "chrom1", | |
"genomicFields": ["start1", "end1"] | |
}, | |
{ | |
"chromosomeField": "chrom2", | |
"genomicFields": ["start2", "end2"] | |
} | |
] | |
}, | |
"mark": "withinLink", | |
"tracks": [ | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 200, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 50}, | |
"ye": {"value": 0}, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"y": { "value": 150 }, | |
"ye": { "value": 100 }, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 200, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2}, | |
"stroke": {"value": "grey"} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": false, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": false, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{"type": "filter", "field": "sv_id", "oneOf": [""]} | |
], | |
"mark": "rule", | |
"x": {"field": "start1", "type": "genomic"}, | |
"color": {"value": "black"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 1}, | |
"style": {"dashed": [3, 3]} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{"type": "filter", "field": "sv_id", "oneOf": [""]} | |
], | |
"mark": "rule", | |
"x": {"field": "end2", "type": "genomic"}, | |
"color": {"value": "black"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 1}, | |
"style": {"dashed": [3, 3]} | |
} | |
], | |
"y": {"value": 50}, | |
"color": { | |
"field": "svclass", | |
"type": "nominal", | |
"legend": true, | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"stroke": { | |
"field": "svclass", | |
"type": "nominal", | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 0.7}, | |
"tooltip": [ | |
{"field": "start1", "type": "genomic"}, | |
{"field": "end2", "type": "genomic"}, | |
{"field": "strand1", "type": "nominal"}, | |
{"field": "strand2", "type": "nominal"}, | |
{"field": "svclass", "type": "nominal"}, | |
{"field": "sv_id", "type": "nominal"}, | |
{"field": "pe_support", "type": "nominal"} | |
], | |
"style": { | |
"linkStyle": "elliptical", | |
"linkMinHeight": 0.7, | |
"mouseOver": {"stroke": "#242424", "strokeWidth": 1} | |
}, | |
"width": 1407, | |
"height": 250 | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layout": "linear", | |
"arrangement": "vertical", | |
"centerRadius": 0.5, | |
"assembly": "hg19", | |
"spacing": 40, | |
"style": { | |
"outlineWidth": 1, | |
"outline": "lightgray", | |
"enableSmoothPath": false | |
}, | |
"views": [ | |
{ | |
"arrangement": "vertical", | |
"views": [ | |
{ | |
"linkingId": "mid-scale", | |
"xDomain": {"chromosome": "chr1"}, | |
"layout": "linear", | |
"tracks": [ | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-sv", | |
"alignment": "overlay", | |
"data": { | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.pcawg_consensus_1.6.161022.somatic.sv.bedpe", | |
"type": "csv", | |
"separator": "\t", | |
"headerNames": [ | |
"chrom1", | |
"start1", | |
"end1", | |
"chrom2", | |
"start2", | |
"end2", | |
"sv_id", | |
"pe_support", | |
"strand1", | |
"strand2" | |
], | |
"genomicFieldsToConvert": [ | |
{ | |
"chromosomeField": "chrom1", | |
"genomicFields": ["start1", "end1"] | |
}, | |
{ | |
"chromosomeField": "chrom2", | |
"genomicFields": ["start2", "end2"] | |
} | |
] | |
}, | |
"mark": "withinLink", | |
"tracks": [ | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 200, | |
"flipY": true | |
} | |
], | |
"y": {"value": 50}, | |
"color": { | |
"field": "svclass", | |
"type": "nominal", | |
"legend": true, | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"stroke": { | |
"field": "svclass", | |
"type": "nominal", | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"experimental": { | |
"performanceMode": true | |
}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 0.7}, | |
"tooltip": [ | |
{"field": "start1", "type": "genomic"}, | |
{"field": "end2", "type": "genomic"}, | |
{"field": "strand1", "type": "nominal"}, | |
{"field": "strand2", "type": "nominal"}, | |
{"field": "svclass", "type": "nominal"}, | |
{"field": "sv_id", "type": "nominal"}, | |
{"field": "pe_support", "type": "nominal"} | |
], | |
"style": { | |
"linkStyle": "elliptical", | |
"linkMinHeight": 0.7, | |
"mouseOver": {"stroke": "#242424", "strokeWidth": 1} | |
}, | |
"width": 1407, | |
"height": 250 | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layout": "linear", | |
"arrangement": "vertical", | |
"centerRadius": 0.5, | |
"assembly": "hg19", | |
"spacing": 40, | |
"style": { | |
"outlineWidth": 1, | |
"outline": "lightgray", | |
"enableSmoothPath": false | |
}, | |
"views": [ | |
{ | |
"arrangement": "vertical", | |
"views": [ | |
{ | |
"linkingId": "mid-scale", | |
"xDomain": {"chromosome": "chr1"}, | |
"layout": "linear", | |
"tracks": [ | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-driver", | |
"title": "Putative Driver", | |
"data": { | |
"values": [ | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "9", | |
"pos": 139388896, | |
"ref": "NOTCH1_SEC16A", | |
"alt": "x", | |
"gene": " NOTCH1", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "gene_fusion", | |
"top_category": "SV", | |
"biallelic": "no" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "8", | |
"pos": 128747680, | |
"ref": "x", | |
"alt": "x", | |
"gene": " MYC", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_amplification", | |
"top_category": "CNA", | |
"biallelic": "no" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "13", | |
"pos": "32914137", | |
"ref": "C", | |
"alt": "A", | |
"gene": "⊙ BRCA2", | |
"driver": "cds", | |
"driver_statement": "driver_by_rules", | |
"category": "coding", | |
"top_category": "mutational", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "17", | |
"pos": "7577511", | |
"ref": "A", | |
"alt": "T", | |
"gene": "⊙ TP53", | |
"driver": "cds", | |
"driver_statement": "driver_by_rank", | |
"category": "coding", | |
"top_category": "mutational", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "13", | |
"pos": 32889611, | |
"ref": "x", | |
"alt": "x", | |
"gene": "⊙ BRCA2", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_deletion", | |
"top_category": "CNA", | |
"biallelic": "yes" | |
}, | |
{ | |
"sample_id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f", | |
"ttype": "Ovary-AdenoCA", | |
"chr": "17", | |
"pos": 7565097, | |
"ref": "x", | |
"alt": "x", | |
"gene": "⊙ TP53", | |
"driver": "known", | |
"driver_statement": "known", | |
"category": "coding_deletion", | |
"top_category": "CNA", | |
"biallelic": "yes" | |
} | |
], | |
"type": "json", | |
"chromosomeField": "chr", | |
"genomicFields": ["pos"] | |
}, | |
"mark": "text", | |
"x": {"field": "pos", "type": "genomic"}, | |
"text": {"field": "gene", "type": "nominal"}, | |
"color": {"value": "black"}, | |
"style": {"textFontWeight": "normal"}, | |
"tooltip": [ | |
{"field": "pos", "alt": "Position", "type": "genomic"}, | |
{"field": "ref", "alt": "REF", "type": "nominal"}, | |
{"field": "alt", "alt": "ALT", "type": "nominal"}, | |
{"field": "category", "alt": "Category", "type": "nominal"}, | |
{ | |
"field": "top_category", | |
"alt": "Top Category", | |
"type": "nominal" | |
}, | |
{"field": "biallelic", "alt": "Biallelic", "type": "nominal"} | |
], | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "driver-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-mutation", | |
"title": "Point Mutation", | |
"style": {"background": "#FFFFFF", "inlineLegend": true}, | |
"data": { | |
"type": "vcf", | |
"url": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20160830.somatic.snv_mnv.sorted.vcf.gz", | |
"indexUrl": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20160830.somatic.snv_mnv.sorted.vcf.gz.tbi", | |
"sampleLength": 400 | |
}, | |
"dataTransform": [ | |
{ | |
"field": "DISTPREV", | |
"type": "filter", | |
"oneOf": [0], | |
"not": true | |
} | |
], | |
"mark": "point", | |
"x": {"field": "POS", "type": "genomic"}, | |
"color": { | |
"field": "SUBTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["C>A", "C>G", "C>T", "T>A", "T>C", "T>G"] | |
}, | |
"y": { | |
"field": "DISTPREVLOGE", | |
"type": "quantitative", | |
"axis": "left", | |
"range": [0, 50] | |
}, | |
"opacity": {"value": 0.9}, | |
"tooltip": [ | |
{ | |
"field": "DISTPREV", | |
"type": "nominal", | |
"format": "s1", | |
"alt": "Distance To Previous Mutation (BP)" | |
}, | |
{"field": "POS", "type": "genomic"}, | |
{"field": "SUBTYPE", "type": "nominal"} | |
], | |
"width": 1407, | |
"height": 60 | |
}, | |
{ | |
"id": "mutation-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-indel", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"url": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20161006.somatic.indel.sorted.vcf.gz", | |
"indexUrl": "https://somatic-browser-test.s3.amazonaws.com/browserExamples/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20161006.somatic.indel.sorted.vcf.gz.tbi", | |
"type": "vcf", | |
"sampleLength": 5000 | |
}, | |
"dataTransform": [ | |
{ | |
"type": "concat", | |
"fields": ["REF", "ALT"], | |
"separator": " → ", | |
"newField": "LAB" | |
}, | |
{ | |
"type": "replace", | |
"field": "MUTTYPE", | |
"replace": [ | |
{"from": "insertion", "to": "Insertion"}, | |
{"from": "deletion", "to": "Deletion"} | |
], | |
"newField": "MUTTYPE" | |
} | |
], | |
"alignment": "overlay", | |
"tracks": [ | |
{ | |
"size": {"value": 19}, | |
"visibility": [ | |
{ | |
"target": "track", | |
"operation": "GT", | |
"measure": "zoomLevel", | |
"threshold": 1000 | |
} | |
] | |
}, | |
{ | |
"xe": {"field": "POSEND", "type": "genomic", "axis": "top"}, | |
"visibility": [ | |
{ | |
"target": "track", | |
"operation": "LTET", | |
"measure": "zoomLevel", | |
"threshold": 1000 | |
} | |
] | |
}, | |
{ | |
"mark": "text", | |
"text": {"field": "LAB", "type": "nominal"}, | |
"xe": {"field": "POSEND", "type": "genomic", "axis": "top"}, | |
"color": {"value": "white"}, | |
"strokeWidth": {"value": 0}, | |
"opacity": {"value": 1}, | |
"visibility": [ | |
{ | |
"target": "mark", | |
"operation": "LT", | |
"measure": "width", | |
"transitionPadding": 30, | |
"threshold": "|xe-x|" | |
} | |
] | |
} | |
], | |
"mark": "rect", | |
"x": {"field": "POS", "type": "genomic"}, | |
"stroke": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"strokeWidth": {"value": 1}, | |
"color": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"row": { | |
"field": "MUTTYPE", | |
"type": "nominal", | |
"legend": true, | |
"domain": ["Insertion", "Deletion"] | |
}, | |
"tooltip": [ | |
{"field": "POS", "type": "genomic"}, | |
{"field": "POSEND", "type": "genomic"}, | |
{"field": "MUTTYPE", "type": "nominal"}, | |
{"field": "ALT", "type": "nominal"}, | |
{"field": "REF", "type": "nominal"}, | |
{"field": "QUAL", "type": "quantitative"} | |
], | |
"opacity": {"value": 0.9}, | |
"width": 1407, | |
"height": 40 | |
}, | |
{ | |
"id": "indel-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-cnv", | |
"title": "CNV", | |
"style": {"background": "#FFFFFF"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"alignment": "overlay", | |
"tracks": [ | |
{ | |
"y": { | |
"field": "total_cn", | |
"type": "quantitative", | |
"axis": "right", | |
"grid": true, | |
"range": [0, 50] | |
}, | |
"color": {"value": "#808080"} | |
} | |
], | |
"tooltip": [ | |
{"field": "total_cn", "type": "quantitative"}, | |
{"field": "major_cn", "type": "quantitative"}, | |
{"field": "minor_cn", "type": "quantitative"} | |
], | |
"size": {"value": 5}, | |
"stroke": {"value": "#808080"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 0.7}, | |
"width": 1407, | |
"height": 60 | |
}, | |
{ | |
"id": "cnv-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-gain", | |
"title": "Gain", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"dataTransform": [ | |
{"type": "filter", "field": "total_cn", "inRange": [5, 999]} | |
], | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"color": {"value": "#73C475"}, | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "gain-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-loh", | |
"title": "LOH", | |
"style": {"background": "#F6F6F6"}, | |
"data": { | |
"separator": "\t", | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.consensus.20170119.somatic.cna.annotated.txt", | |
"type": "csv", | |
"chromosomeField": "chromosome", | |
"genomicFields": ["start", "end"] | |
}, | |
"dataTransform": [ | |
{"type": "filter", "field": "minor_cn", "oneOf": ["0"]}, | |
{ | |
"type": "filter", | |
"field": "total_cn", | |
"oneOf": ["0"], | |
"not": true | |
} | |
], | |
"mark": "rect", | |
"x": {"field": "start", "type": "genomic"}, | |
"xe": {"field": "end", "type": "genomic"}, | |
"color": {"value": "#FB6A4B"}, | |
"width": 1407, | |
"height": 20 | |
}, | |
{ | |
"id": "loh-mid-boundary", | |
"data": { | |
"type": "json", | |
"chromosomeField": "c", | |
"genomicFields": ["p"], | |
"values": [ | |
{"c": "chr2", "p": 0}, | |
{"c": "chr3", "p": 0}, | |
{"c": "chr4", "p": 0}, | |
{"c": "chr5", "p": 0}, | |
{"c": "chr6", "p": 0}, | |
{"c": "chr7", "p": 0}, | |
{"c": "chr8", "p": 0}, | |
{"c": "chr9", "p": 0}, | |
{"c": "chr10", "p": 0}, | |
{"c": "chr11", "p": 0}, | |
{"c": "chr12", "p": 0}, | |
{"c": "chr13", "p": 0}, | |
{"c": "chr14", "p": 0}, | |
{"c": "chr15", "p": 0}, | |
{"c": "chr16", "p": 0}, | |
{"c": "chr17", "p": 0}, | |
{"c": "chr18", "p": 0}, | |
{"c": "chr19", "p": 0}, | |
{"c": "chr20", "p": 0}, | |
{"c": "chr21", "p": 0}, | |
{"c": "chrX", "p": 0}, | |
{"c": "chrY", "p": 0} | |
] | |
}, | |
"mark": "rule", | |
"x": {"field": "p", "type": "genomic"}, | |
"color": {"value": "lightgray"}, | |
"opacity": {"value": 0.5}, | |
"overlayOnPreviousTrack": true | |
}, | |
{ | |
"id": "7a921087-8e62-4a93-a757-fd8cdbe1eb8f-mid-sv", | |
"alignment": "overlay", | |
"experimental": { | |
"mouseEvents": { | |
"click": true, | |
"mouseOver": true, | |
"groupMarksByField": "sv_id" | |
} | |
}, | |
"data": { | |
"url": "https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.pcawg_consensus_1.6.161022.somatic.sv.bedpe", | |
"type": "csv", | |
"separator": "\t", | |
"headerNames": [ | |
"chrom1", | |
"start1", | |
"end1", | |
"chrom2", | |
"start2", | |
"end2", | |
"sv_id", | |
"pe_support", | |
"strand1", | |
"strand2" | |
], | |
"genomicFieldsToConvert": [ | |
{ | |
"chromosomeField": "chrom1", | |
"genomicFields": ["start1", "end1"] | |
}, | |
{ | |
"chromosomeField": "chrom2", | |
"genomicFields": ["start2", "end2"] | |
} | |
] | |
}, | |
"mark": "withinLink", | |
"tracks": [ | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 200, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": true | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": false | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": false | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": true | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 50}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 50}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": true | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 1}, | |
"strokeWidth": {"value": 0}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 50}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 50}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 200}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"mark": "bar", | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "end2", "type": "genomic"}, | |
"y": {"value": 250}, | |
"ye": {"value": 100}, | |
"size": {"value": 2}, | |
"strokeWidth": {"value": 1}, | |
"flipY": false | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Translocation"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 200, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2}, | |
"stroke": {"value": "grey"} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Duplication"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Deletion"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 50, | |
"flipY": false, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (TtT)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": false, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{ | |
"type": "filter", | |
"field": "sv_id", | |
"oneOf": [""], | |
"not": false | |
}, | |
{ | |
"type": "filter", | |
"field": "svclass", | |
"oneOf": ["Inversion (HtH)"], | |
"not": false | |
} | |
], | |
"x": {"field": "start1", "type": "genomic"}, | |
"xe": {"field": "end2", "type": "genomic"}, | |
"baselineY": 150, | |
"flipY": true, | |
"opacity": {"value": 1}, | |
"strokeWidth": {"value": 2} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{"type": "filter", "field": "sv_id", "oneOf": [""]} | |
], | |
"mark": "rule", | |
"x": {"field": "start1", "type": "genomic"}, | |
"color": {"value": "black"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 1}, | |
"style": {"dashed": [3, 3]} | |
}, | |
{ | |
"dataTransform": [ | |
{ | |
"type": "svType", | |
"firstBp": { | |
"chrField": "chrom1", | |
"posField": "start1", | |
"strandField": "strand1" | |
}, | |
"secondBp": { | |
"chrField": "chrom2", | |
"posField": "start2", | |
"strandField": "strand2" | |
}, | |
"newField": "svclass" | |
}, | |
{ | |
"type": "replace", | |
"field": "svclass", | |
"replace": [ | |
{"from": "DUP", "to": "Duplication"}, | |
{"from": "TRA", "to": "Translocation"}, | |
{"from": "DEL", "to": "Deletion"}, | |
{"from": "t2tINV", "to": "Inversion (TtT)"}, | |
{"from": "h2hINV", "to": "Inversion (HtH)"} | |
], | |
"newField": "svclass" | |
}, | |
{"type": "filter", "field": "sv_id", "oneOf": [""]} | |
], | |
"mark": "rule", | |
"x": {"field": "end2", "type": "genomic"}, | |
"color": {"value": "black"}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 1}, | |
"style": {"dashed": [3, 3]} | |
} | |
], | |
"y": {"value": 50}, | |
"color": { | |
"field": "svclass", | |
"type": "nominal", | |
"legend": true, | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"stroke": { | |
"field": "svclass", | |
"type": "nominal", | |
"domain": [ | |
"Translocation", | |
"Duplication", | |
"Deletion", | |
"Inversion (TtT)", | |
"Inversion (HtH)" | |
], | |
"range": [ | |
"lightgrey", | |
"#409F7A", | |
"#3275B4", | |
"#CC7DAA", | |
"#E6A01B" | |
] | |
}, | |
"strokeWidth": {"value": 1}, | |
"opacity": {"value": 0.7}, | |
"tooltip": [ | |
{"field": "start1", "type": "genomic"}, | |
{"field": "end2", "type": "genomic"}, | |
{"field": "strand1", "type": "nominal"}, | |
{"field": "strand2", "type": "nominal"}, | |
{"field": "svclass", "type": "nominal"}, | |
{"field": "sv_id", "type": "nominal"}, | |
{"field": "pe_support", "type": "nominal"} | |
], | |
"style": { | |
"linkStyle": "elliptical", | |
"linkMinHeight": 0.7, | |
"mouseOver": {"stroke": "#242424", "strokeWidth": 1} | |
}, | |
"width": 1407, | |
"height": 250 | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment