Download ARC.zip and click *.html file(in ARC.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr start end color des
EGFR 57 167 #CD8500 Recep_L domain
EGFR 185 338 blue Furin-like domain
EGFR 361 480 #CD8500 Recep_L domain
EGFR 505 636 yellow GF_recep_IV domain
EGFR 713 965 red Pkinase Tyr domain
Following fields are required:
The 1 column(chr
) is the name of the chromosome. In this example, this field specify the protein name.
The 2 column(start
) is the start of the arc.
The 3 column(end
) is the end of the arc.
The 4 column(color
) is the color of the arc.
The 5 column(des
) is the description of the arc.
python NGCircos_PrepareData.py ARC ARC01.txt > ARC01.js
var ARC01 = [ "ARC01" , {
innerRadius: 145,
outerRadius: 155,
} , [
{chr: "EGFR", start: "57", end: "167", color: "#CD8500", des: "Recep_L domain"},
{chr: "EGFR", start: "185", end: "338", color: "blue", des: "Furin-like domain"},
{chr: "EGFR", start: "361", end: "480", color: "#CD8500", des: "Recep_L domain"},
{chr: "EGFR", start: "505", end: "636", color: "yellow", des: "GF_recep_IV domain"},
{chr: "EGFR", start: "713", end: "965", color: "red", des: "Pkinase Tyr domain"},
]];
<script src="js/ARC01.js"></script>
NGCircos01 = new NGCircos(ARC01,NGCircosGenome,{ // Initialize with "ARC01" data tag
Download svg ↓