Plotting two identical karyotypes for comparison

120 views
Skip to first unread message

Allison Galassie

unread,
Aug 12, 2014, 5:24:33 PM8/12/14
to circos-data-...@googlegroups.com
I am looking to make a plot showing the shared connections between two cell types from the same organism using links. However, when I try to plot even just the ideogram, I get an error that [hs1] is being repeated.

My input for defining the karyotype: karyotype = data/karyotype/karyotype.human.txt,data/karyotype/karyotype.human.txt

Error: Chromosome [hs1] defined more than once in karyotype file.


Is there a way to plot two human karyotypes on the same plot without having to make a separate unique karyotype file for each one?


Thanks,
Allison

Martin Krzywinski

unread,
Aug 12, 2014, 7:32:36 PM8/12/14
to circos-data-...@googlegroups.com
Yes, you'll have to rename the chromosomes in the second karyotype to something else. Circos requires that each chromosome has a unique name.

If I have two samples with the same genome, I do something like this

# in sample 1
hs1-1
hs2-1
...

# in sample 2
hs1-2
hs2-2
...

Your data files would then look like

# link between hs1 in sample 1 to hs10 in sample 2
hs1-1 50 75 hs10-2 100 150



Martin Krzywinski
science + art



--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages