Download GENE.zip and click *.html file(in GENE.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr strand start end type name
EGFR + 57 965 gene EGFR
EGFR + 57 167 cds EGFR
EGFR + 185 338 cds EGFR
EGFR + 361 480 cds EGFR
EGFR + 505 636 cds EGFR
EGFR + 713 965 cds EGFR
Following fields are required:
The 1 column(chr
) is the name of the gene.
The 2 column(strand
) is the strand of the gene.
The 3 column(start
) is the start position of the gene.
The 4 column(end
) is the end position of the point.
The 5 column(type
) is the type of this fragment in gene.
Others are optional:
The 6 column(name
) is the neme of the fragment.
python NGCircos_PrepareData.py GENE GENE01.txt > GENE01.js
var GENE01 = [ "GENE01" , {
outerRadius: 225,
innerRadius: 210,
arrowGap: 2,
arrowColor: "blue",
arrowSize: "12px",
cdsColor: "blue",
cdsStrokeColor: "blue",
cdsStrokeWidth: 1,
utrWidth: -5,
utrColor: "blue",
utrStrokeColor: "blue",
utrStrokeWidth: 1,
} , [
{chr: "EGFR", strand: "+", start: "57", end: "965", type: "gene", name: "EGFR"},
{chr: "EGFR", strand: "+", start: "57", end: "167", type: "cds", name: "EGFR"},
{chr: "EGFR", strand: "+", start: "185", end: "338", type: "cds", name: "EGFR"},
{chr: "EGFR", strand: "+", start: "361", end: "480", type: "cds", name: "EGFR"},
{chr: "EGFR", strand: "+", start: "505", end: "636", type: "cds", name: "EGFR""},
{chr: "EGFR", strand: "+", start: "713", end: "965", type: "cds", name: "EGFR"},
]];
<script src="js/GENE01.js"></script>
NGCircos01 = new NGCircos(GENE01,NGCircosGenome,{ // Initialize with "GENE01" data tag
Download svg ↓