Circa is a powerful, intuitive visualization tools for creating circos plots from genomic data. Use it to make a circos plot with variants, copy number profiles, repeats, or any other genomic features imaginable.
This page contains tutorials and an FAQ for Circa.
The easiest circos tutorials ever:
Q: What operating systems can I run Circa on?
A: Mac, Windows, and Linux
Q: How do I install Circa on Linux
A: You will be able to download Circa as an AppImage. In order to run Circa, you download the AppImage, right click on it, choose Properties, go to the Permissions tab, and click the make executable checkbox. Now you can double-click it to open.
Q: Is Circa built using the circos Perl library?
A: Nope, Circa is made completely from scratch using D3.js. This makes Circa run much faster compared to constantly calling some Perl code every time you make a change to the plot.
Q: How do I cite Circa?
A: You can mention Circa in the methods of your paper by saying something like “circos plot created with Circa,” but you don’t have to cite any papers.
Q: Can I plot non-genomic data in Circa?
A: Circa plots all data with respect to chromosomes and positions within the chromosomes. It works for any genomic data where you have that chromosome and position information. For non-genomic data, a circos plot is usually not an ideal way to show the data. Consider making regular cartesian plots of non-genomic data instead, for instance using ggplot in R.
Q: What types of data can I plot with Circa?
A: Anything you can put into a CSV, tab-separated, or VCF text file of less than 10 MB. If you have bigger data, try to consolidate it first into a smaller file. You can test the size of a file on the command-line using “du -skh my_file.csv” See the file formats guide for more information.
Q: How can I save my plot as an image?
A: To save your plot in Circa as an image, just click on File in the navigation menu, go to Save as image, and click on either PNG or SVG. PNG is a regular image file that you can put into your paper or presentations. SVG stands for Scalable Vector Graphics, which is perfect for final submission to a journal when they want vector formats instead of raster. SVG makes your image look crisp in print and allows readers to zoom into the plot infinitely without it ever looking pixelated.
Q: Why can’t I select a certain column in my file to be the position, size, or y?
A: Position, size, and y must be numbers. If that column contains any data points that are not numbers, then the column cannot be used as a numeric variable. Check to make sure that column doesn’t have any NA values or other non-numeric content.
You can easily filter these out in Excel or on the command-line.
Q: What if I only have one chromosome?
A: You still need a genome file with a header and a single line.
The “chromosome” name can also be your species name, just make sure it appears the same way across all your datasets, so for bacterial genomes you may want to add a column to all your datasets that have some common chromosome name, and you can always hide that one boring chromosome label once you make the plot. If you experience errors with short genome files like this, make sure you have updated your version of Circa to at least 1.1.0 (June 2017).
Q: Why do I get an error that some points are being ignored?
A: Data can only be plotted if the chromosome names match those in the genome file you initialized your circos plot with. Make sure those chromosomes affected have the exact same names as in the circos plot labels (see note on “chr” prefixes below). If only a few points are ignored, it is usually because their given positions are outside the size of the chromosome, pointing to inconsistencies between the chosen reference genome (chromosome sizes) and the data you are plotting.
Q: Why does Circa ask about removing “chr” prefixes?
A: Circa will ask you whether you want to remove “chr” prefixes from your datasets, which is recommended to make the labels look nicer and to remove inconsistencies in naming conventions across files. If you choose to leave in the “chr” prefix by hitting “Cancel” when Circa asks about it, make sure all of your datasets also have the “chr” prefix or their points will be ignored.
Q: How can I stop text in the text layer from overlapping?
A: To stop the text from overlapping you could decrease the font size of the Text layer, or you can manually move around the labels in Illustrator or Inkscape after exporting the SVG from Circa.
If you have any question that is not answered here, don’t hesitate to email me at email@example.com