Download CNV.zip and click *.html file(in CNV.zip) to open this demo in local browser!.
Users should prepare the input data in the following format (separated by tabs).
#chr start end value
1 764788 87109267 2.5
1 87109268 120217058 2
1 144101324 222713034 4
1 222713035 222867750 6
......
9 30330084 140139368 3.5
X 105073 114046817 1
X 114112404 114299959 2
X 114376344 154884814 1
Following fields are required:
The 1 column(chr
) is the name of the chromosome.
The 2 column(start
) is the start of the CNV region.
The 3 column(end
) is the end of the CNV region.
The 4 column(value
) is the copy number of CNV region.
python NGCircos_PrepareData.py CNV CNV01.txt > CNV01.js
var CNV01 = [ "CNV01" , {
maxRadius: 175,
minRadius: 116,
CNVwidth: 2,
CNVColor: "#4876FF",
} , [
{chr: "1", start: "764788", end: "87109267", value: "2.5"},
{chr: "1", start: "87109268", end: "120217058", value: "2"},
{chr: "1", start: "144101324", end: "222713034", value: "4"},
{chr: "1", start: "222713035", end: "222867750", value: "6"},
......
{chr: "9", start: "30330084", end: "140139368", value: "3.5"},
{chr: "X", start: "105073", end: "114046817", value: "1"},
{chr: "X", start: "114112404", end: "114299959", value: "2"},
{chr: "X", start: "114376344", end: "154884814", value: "1"},
]];
<script src="js/CNV01.js"></script>
NGCircos01 = new NGCircos(CNV01,NGCircosGenome,{ // Initialize with "CNV01" data tag
Download svg ↓