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.
You are strongly encouraged to use the default image block from the Circos distribution (etc/image.conf
), rather than rolling your own. Override any parameters with the *
suffix.
################################################################ # circos.conf <<include ideogram.conf>> ################################################################ # ideogram.conf <ideogram> ... </ideogram>
<ideogram> <spacing> <pairwise> </pairwise> <pairwise> </pairwise> ... </spacing> <break_style> </break_style> <break_style> </break_style> ... <rules> <rule> </rule> <rule> </rule> ... </rules> </ideogram>
Flags R required, + multiple instances allowed.
Units Parameters that require units (p
pixel, r
relative, u
value of chromosomes_units
) have acceptable units listed in brackets (e.g. [p]
, [pr]
).
Expressions All parameters can be defined by an expression or code to be evaluated with eval()
.
Defaults Default values will be used for any required parameters that are missing. If no default value is available, Circos will exit with an error.
<spacing>
R
<ideogram>
<pairwise>
, <break_style>
spacing
FLOAT [ur]
0.25u
0.5r
<break_style>
R
<ideogram>
<rules>
<ideogram>
<rule>
show
R
yes|no
yes
radius
R
INT [pr]
0.9r
750p
thickness
R
FLOAT [pr]
15p
0.02r
thickness
INT [rp]
25p
2r
fill
R
yes|no
yes
stroke_color
COLOR
stroke_thickness
stroke_thickness
black
stroke_color
COLOR
stroke_thickness
stroke_thickness
dgrey
stroke_thickness
INT [p]
stroke_color
stroke_color
2p
stroke_thickness
INT [p]
stroke_color
stroke_color
2p
show_bands
yes|no
fill_bands
yes|no
band_stroke_thickness
INT [p]
band_stroke_color
band_stroke_color
2p
band_stroke_color
COLOR
band_stroke_thickness
band_stroke_thickness
dgrey
label_radius
FLOAT [rp]
1.1r
1r+50p
800p
dims(image,radius)-25p
label_size
INT
24
label_font
FONT
default
default
bold
condensed
label_parallel
yes|no
label_with_tag
chromosomes
parameter.
yes|no
label_case
upper|lower
label_format
EXPR
eval(sprintf("chr%s",var(label)))
Tutorial Spacing & Axis Breaks.
axis_break
yes|no
<break_style
>
axis_break_style
1|2
<break_style
>
axis_break_at_edge
yes|no
<break_style
>
Tutorial Spacing & Axis Breaks.
<pairwise>
R
<spacing>
default
R
FLOAT [ur]
0.5u
0.01r
break
R
FLOAT [ur]
0.25u
0.5r
Tutorial Spacing & Axis Breaks.
The name of the block defines to which ideogram pair the spacing applies.
# adjust spacing between chr1 and chr2 <pairwise chr1 chr2> </pairwise> # adjust spacing around chr1 <pairwise chr1> </pairwise>
<spacing>
R
<ideogram>
<pairwise>
, <break_style>
spacing
FLOAT [ur]
0.25u
0.5r
Tutorial Spacing & Axis Breaks.
This block defines one of two types of axis break styles.
# style 1 definition <break_style 1> </break_style> # style 2 definition <break_style 2> </break_style>
The style to be used is defined by axis_break_style
.
stroke_thickness
INT [p]
stroke_color
stroke_color
2p
stroke_color
COLOR
stroke_thickness
stroke_thickness
dgrey
thickness
INT [rp]
25p
2r
fill_color
COLOR
black