Download WIG.zip and click *.html file(in WIG.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr posStart posEnd value
1 813468 813470 6
1 3383745 3383747 3
1 6157646 6157648 3
1 24793116 24793118 9
......
X 136860114 136860116 3
X 138413104 138413106 9
X 149344414 149344416 9
X 154203563 154203565 5
Following fields are required:
The 1 column(chr
) is the name of the chromosome.
The 2 column(posStart
) is the start position of the sequence.
The 3 column(posEnd
) is the end position of the sequence.
The 4 column(value
) is the value of the point.
python NGCircos_PrepareData.py WIG WIG01.txt > WIG01.js
var WIG01 = [ "WIG01" , {
maxRadius: 220,
minRadius: 170,
WIGStrokeColor: "#EEAD0E",
WIGColor: "red",
WIGWIGStrokeType: "cardinal",
} , [
{chr: "1", pos: "813468", value: "6"},
{chr: "1", pos: "813469", value: "6"},
{chr: "1", pos: "813470", value: "6"},
{chr: "1", pos: "3383745", value: "3"},
......
{chr: "X", pos: "136860114", value: "3"},
{chr: "X", pos: "136860115", value: "3"},
{chr: "X", pos: "136860116", value: "3"},
{chr: "X", pos: "138413104", value: "9"},
]];
<script src="js/WIG01.js"></script>
NGCircos01 = new NGCircos(WIG01,NGCircosGenome,{ // Initialize with "WIG01" data tag
Download svg ↓