Use the latest version of Circos and read Circos best practices—these list recent important changes and identify sources of common problems.
If you are having trouble, post your issue to the Circos Google Group and include all files and detailed error logs. Please do not email me directly unless it is urgent—you are much more likely to receive a timely reply from the group.
Don't know what question to ask? Read Points of View: Visualizing Biological Data by Bang Wong, myself and invited authors from the Points of View series.
Circos is driven by a configuration file, but accepts several command-line flags that change how it runs (e.g. format and location of output files).
# no flags - Circos guesses location if configuration file > circos # specific configuration file > circos -conf etc/circos-fig1.conf # additional debugging > circos -debug # additional debugging, by group > circos -debug_group io,chrfilter # brief usage > circos -h # man page > circos -man # version check > circos -v # module diagnostics > circos -modules # run and shut up > circos -silent
Configuration flags can be shortened, as long as the shortened version is unambigous.
> circos -cdump image
> circos -cdum image
> circos -cdu image
> circos -cd image
# -c is not ok because it is
> circos -c image
Option c is ambiguous (cdump, chromosomes, chromosomes_display_default, chromosomes_order,
chromosomes_radius, chromosomes_scale, color_cache_rebuild, color_cache_static, configfile)
The -param
flag allows you to conveniently change the value of any configuration parameter.
# change image size > circos -param image/radius=2000p # do not draw ideograms > circos -param ideogram/show=no # draw only two chromosomes > circos -param chromosomes_display_default=no -param chromosomes=hs1;hs2
circos.conf
.
, ..
and ../..
. In other words> circos
> circos -conf etc/circos.conf
.> circos -debug_group +io
PARAM
in configuration path PATH
to VALUE
. You can use multiple -param
flags. The PATH
must point to a unique block. The flag can be used multiple times.
-param chromosomes=hs1
-param ideogram/show=no
-param ideogram/spacing/default=0.01r
-param a=10 -param b=20 -param c=30
conf()
.
BLOCK
is specified, only show that block. To show nested blocks, specify a block path delimited by /
. To limit the output to parameters that match a regular expression, include :REGEX
-cdump image
-cdump ideogram/spacing
-cdump ideogram/spacing:def
+
to add to the default list, -
to remove it. To show debuging from all groups, use _all
. To get a list of groups, use the flag without an argument.
summary
-debug_group
-debug_group=+timer
-debug_group=-summary
-debug_group=+io,+png
-debug_group _all
ERROR
from error group GROUP
.
-fakeerror
circos -fakeerror io
-paranoid
-noparanoid
> circos -debug_group=+timer
-warnings
-nowarnings
.
-dir ..
circos
-file otherfile
-file ../otherfile
-png
-nopng
-svg
-nosvg
etc/housekeeping.conf
for color* parameters.
etc/housekeeping.conf
for color* parameters.
-randomcolor white,black