Download LOLLIPOP.zip and click *.html file(in LOLLIPOP.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#protein chr pos strand CancerTypeNumber AA_pos AA_change Consequence color type link
EGFR 7 101219410 + 2 AA_858 L/R missense_variant #FEFF00 Hetero https://www.intogen.org/search?gene=EGFR
EGFR 7 101219417 + 2 AA_858 L/R missense_variant #FEFF00 Homo https://www.intogen.org/search?gene=EGFR
EGFR 7 101219425 + 1 AA_858 L/R missense_variant #FEFF00 Homo https://www.intogen.org/search?gene=EGFR
EGFR 7 101219431 + 3 AA_858 L/R missense_variant #FEFF00 Homo https://www.intogen.org/search?gene=EGFR
......
EGFR 7 101220278 + 3 AA_858 L/R missense_variant #FEFF00 Hetero https://www.intogen.org/search?gene=EGFR
EGFR 7 101220281 + 2 AA_858 L/R missense_variant #FEFF00 Homo https://www.intogen.org/search?gene=EGFR
EGFR 7 101220288 + 1 AA_858 L/R missense_variant #FEFF00 Homo https://www.intogen.org/search?gene=EGFR
EGFR 7 101220295 + 1 AA_858 L/R missense_variant #FEFF00 Hetero https://www.intogen.org/search?gene=EGFR
Following fields are required:
The 1 column(protein
) is the name of the protein.
The 2 column(chr
) is the name of the chromosome.
The 3 column(pos
) is the position of the point.
Others are optional:
The 4 column(strand
) is the strand position of the point.
The 5 column(CancerTypeNumber
) is the number of cancer where the mutation is found.
The 6 column(AA_pos
) is the AA position of the point.
The 7 column(AA_change
) is the AA_change of the point.
The 8 column(Consequence
) is the consequence of the point.
The 9 column(color
) is the specific color of the point.
The 10 column(type
) is the mutation type of the point.
The 11 column(link
) is the hyperlink address of the point.
python NGCircos_PrepareData.py LOLLIPOP LOLLIPOP01.txt > LOLLIPOP01.js
var LOLLIPOP01 = [ "LOLLIPOP01" , {
LOLLIPOPFillColor:"#9400D3",
LOLLIPOPSecondColor: "#FFFFFFF",
PointType: "circle",
circleSize: 6,
stroke:true,
strokeColor: "#999999",
strokeWidth: "1px",
lineAutoHeight: true,
LOLLIPOPAnimationDisplay: false,
LOLLIPOPLineWidth: 1,
LOLLIPOPLineColor: "#000000",
realStart: 101219350,
} , [
{protein: "EGFR", chr: "7", pos: "101219410", strand: "+", CancerTypeNumber: "2", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Hetero"},
{protein: "EGFR", chr: "7", pos: "101219417", strand: "+", CancerTypeNumber: "2", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Homo"},
{protein: "EGFR", chr: "7", pos: "101219425", strand: "+", CancerTypeNumber: "1", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Homo"},
{protein: "EGFR", chr: "7", pos: "101219431", strand: "+", CancerTypeNumber: "3", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Homo"},
......
{protein: "EGFR", chr: "7", pos: "101220278", strand: "+", CancerTypeNumber: "3", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Hetero"},
{protein: "EGFR", chr: "7", pos: "101220281", strand: "+", CancerTypeNumber: "2", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Homo"},
{protein: "EGFR", chr: "7", pos: "101220288", strand: "+", CancerTypeNumber: "1", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Homo"},
{protein: "EGFR", chr: "7", pos: "101220295", strand: "+", CancerTypeNumber: "1", AA_pos: "AA_858", AA_change: "L/R", Consequence: "missense_variant", color: "#FEFF00", type: "Hetero"},
]];
<script src="js/LOLLIPOP01.js"></script>
NGCircos01 = new NGCircos(LOLLIPOP01,ARC01,NGCircosGenome,{ // Initialize with "LOLLIPOP01,ARC01" data tag
Download svg ↓