-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
executable file
·1150 lines (691 loc) · 39.5 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
7 Mar 2005 - v0.1
24 May 2005 - v0.2
A large number of changes. Primarily
- support for non-linear scale
- support for optional tick labels and minimum tick separation
- reworked 2D data file formats
A lot of bugs fixed. Primarily
- fixed poor text layout on tick labels
- fixed support for newer GD (stringFT vs stringTTF)
25 May 2005 - v0.21
Added global scaling, described in Tutorial 6.
23 Jan 2007 - v0.22
Focused tutorials on figures in NYT article. Added support for multiple fonts. You no longer need to define $FONT yourself.
17 Oct 2007 - v0.31pre0
Prelease of 0.31. Nearly everything has been revamped.
Revamped configuration syntax, making it more intuitive and consistent.
New tutorials posted. Axes breaks added. More flexible ideogram ordering.
Significant changes to placement of data elements, now with support for relative and absolute position values.
18 Oct 2007 - v0.31pre1
Fixed memory problem when drawing highlights. Now require Set::IntSpan v1.11 or newer.
Additional sanity checks when loading configuration files.
23 Oct 2007 - v0.31pre2
Added tiles and heatmaps.
26 Oct 2007 - v0.31pre3
Added scale adjustment.
28 Oct 2007 - v0.31
Finalized features in 0.31-preX.
20 Nov 2007 - v0.32
Added functionality for histograms to avoid joining neighbouring bins if their spans are not abutting.
Added ability to define rules based on format characteristics of data (e.g. color, thickness).
Added "restart" flow control for rules.
Fixed image output for Windows users.
3 Dec 2007 - v0.33
Adjusted ideogram spacing to allow pair-wise spacing definitions based on tag.
Fixed axis break issue when a break value was required but break parameter was not set.
Added text labels on ticks.
22 Dec 2007 - v0.34
Rewrote label snuggling method.
Added ability to turn text tracks into glyph tracks.
Fixed rule condition evaluation to allow broader range of characters.
24 Dec 2007 - v0.35
Unit-related error messages now more explicit.
Various fixes for handling bezier_radius.
3 Jan 2008 - v0.36
Imagemap output reformatted and made consistent.
27 Feb 2008 - v0.37
Added ability to set image background to transparent or a custom image.
Adjusted color allocation to avoid duplicate allocation of identical colors.
9 Apr 2008 v0.38
Added support for stacked histograms and ability to independently set radius for each link end.
Fixed histogram fill to drop to y=0 (or closest) level.
Circos now requires Clone module (http://search.cpan.org/~rdf/Clone-0.28/Clone.pm)
14 Apr 2008 v0.39
Added ability to orient ideograms and scale in a counterclockwise orientation using angle_orientation parameter.
Adjusted the way joined histogram bin stroke is drawn.
Fixed bug in which joined histograms bins were not being filled in correctly.
Fixed bug with text offsets at 12 o'clock position.
21 Apr 2008 v0.40
Added SVG output support.
23 Apr 2008 v0.41
Fixed bug which caused incorrect plot scaling when min>0.
Fixed a svg bug which caused images with single unspaced ideograms to display incorrectly.
Adjusted svg-related coded to avoid PNG color palette limitations (you can now have more than 256 colors in color.conf when using svg).
Modified SVG Bezier curves to use crest parameter.
28 Apr 2008 v0.42
Fixed a bug which prevented ribbons from displaying in svg files.
12 May 2008 v0.43
Tick labels can be made relative to ideogram length using relative_label.
Tick spacing can be made relative using rspacing/spacing_type.
Individual ideograms can be placed at different radius.
There is now an installation script which adjusts the Perl binary location and tutorial file output directory.
18 Jun 2008 v0.44
Fixed bug that prevented scientific notation with capital E from being parsed correctly.
Fixed bug that prevened tick mark labels from being rounded correctly.
Default ideogram spacing value can be set to be relative to total size of ideograms.
The parameter chromosomes_units can be set relative to total size of ideograms.
Added skip_run and min_value_change options to plots
The "-" character can be again used in ideogram names
PNG and SVG files can now be created at the same time
25 Jun 2008 v0.45
A variety of speed optimizations were done.
- GD brush initialization
- added memoization to speed up certain function calls
- reduced debug reporting overhead
Overall speed improvement is about 3- to 4-fold for core functions.
23 July 2008 v0.46
Fixed ideogram lookup bug when display order was customized.
Added a variety of helper scripts to create and filter data and to order chromosomes (see tools/)
Added 24-bit PNG support and adjusted color allocation accordingly
30 Sep 2008 v0.47
IMPORTANT: Math::BigFloat is now required.
Added error trap if old version of GD is used that does not support 24bit flag.
Added support for alpha channel in PNG images - now colors can have transparency level.
Fixed brush bug for outlined ribbons with newer GD version.
Added -show_ticks as a command-line parameter (to unset use -no-show-ticks).
Added -show_tick_labels as a command-line parameter (to unset use -no-show-tick_labels).
Added -silent for completely quiet operation (nothing reported to STDOUT).
Improved tick suppression consistency when tick_separation was defined.
Precision in tick mark formatting is improved with Math::BigFloat (this module is now needed).
Added ticks for specific positions via "position" and "rposition" parameter.
Added connector track (currently experimental). This will be documented in an upcoming release.
21 Oct 2008 v0.48
Direction of individual ideograms can be reversed with chromosomes_reverse.
Twist of ribbons is now correct, with a ribbon linking the start and end coordinates of each span.
Ribbon twists can be forced with twist=1 or removed with flat=1.
Individual link coordinates can be inverted by using start>end or inverted=1 parameter.
Added plot of type=highlight to allow highlights to be drawn at any z-depth.
Finalized connector track.
Added band_transparency to allow drawing semi-transparent cytogenetic bands on top of ideograms.
30 Jan 2009 v0.49
Optimized calls to Math::Bezier to reduce time taken to draw links.
Inverted link coordinates (i.e. end<start) can be tested with _REV1_ and _REV2_ in rules.
Fixed error that caused ends of ribbons to be drawn as straight lines.
Fixed error that caused highlights to be drawn on top of the grid in certain cases.
26 Jun 2009 v0.50
Added file_delim to allow any field delimiter to be used in input files (e.g. a tab).
Added sanity check for True Type font support in GD.
Added antialiasing to lines and polygins. Limitations in gd prevent antialiasing of lines that have a thickness >1 pixel or that use a color with an alpha channel.
Fixed bug with parameter parsing that was using = as a delimiter.
Added image maps (via the url parameter) to ideograms, bands, ticks, highlights, tiles, ribbons, text, scatter plots, histograms and heat maps. This is described in Tutorial 10.
Backend implementation has been adjusted, with Circos code moved to Circos.pm module (credit goes to Ken Youens-Clark (CSHL)).
5 Jul 2009 v0.51
Added more comprehensive options to show and suppress tick marks based on ideogram and position.
Fixed scale zooming for display at base resolution.
Expanded and streamlined tick mark functionality.
24 Nov 2009 v0.52
A bug release that fixes issues with ordering and axis breaks.
Ideogram labels can now be rendered with their baseline parallel to
the circle's circumference by using label_parallel=yes in the
<ideogram> block.
17 Jan 2011 v0.53
Rolled in bug fixes.
29 Mar 2011 v0.54
Tile image fills are now supported. Specify the file name instead of the fill color.
Color lists supported.
Automated track placement using counters.
Various bug fixes and error checks.
13 Apr 2011 v0.54-1
Factored out color functions to Circos::Colors
Factored out configuration functions to Circos::Configuration
Factored out constants and strings to Circos::Constants
Factored out debug functions to Circos::Debug
Factored out image variables to Circos::Image
Factored out unit checking functions to Circos::Unit
Factored out utility functions to Circos::Utils
Fixed transparency bug introduced in 0.54. Fixed tableviewer parse-table bug which was triggering error complaining about a missing '='
Added to README for Windows users.
16 Jun 2011 v0.55-1
Multiple karyotype files can be specified as comma-delimited list in 'karyotype' parameter
Color for chromosomes can be specified with chromosomes_color
hs1:red,hs2:blue,...
Chromosomes can now take a fraction of the entire image by specifying relative scale.
hs1:0.25r # hs1 will take up 1/4 of the figure
Parameters in included configuration files can be overridden using "*" suffix. Any number of *s can be
used to indicate priority.
<ideogram>
<<include ideogram.defaults.conf>>
# this will override any 'label_radius'
label_radius* = dim(ideogram,radius) + 0.25r
# this will override any 'label_radius', 'label_radius*', and 'label_radius**'
label_radius*** = dim(ideogram,radius) + 0.25r
</ideogram>
Parameter list can now use '=' for assignment, in addition to ':'. Lists that do not expect a span (e.g. chromosomes) can also use ',' as record delimiter. For example, any of these will work.
chromosomes_scale = chr1:0.5;chr2:0.25
chromosomes_scale = chr1:0.5,chr2:0.25
chromosomes_scale = chr1=0.5;chr2=0.25
chromosomes_scale = chr1=0.5,chr2=0.25
Transparent colors now include COLOR_a0, which points to the fully opaque version of COLOR. Thus, for a given auto_alpha_steps value (e.g. N=5) COLOR_a0 ... COLOR_aN are available. Previously COLOR_a0 was not available and the name COLOR had to be used (e.g. red instead of red_a0).
remap(value,min,max,remap_min,remap_max) can now be used in rules, as well as remap_int() to remap to integers (truncation) or remap_round() to remap to integers (rounding).
chromosomes_scale and chromosomes_color can accept regular expressions for chromosomes. These are evaluated first, followed by literal chromosome definitions.
chromosomes_scale = /hs/=0.2,hs5=0.5,/hs1/=0.3
order of scale adjustment:
1. all chromosomes matching /hs/ set to 0.2
2. all chromosomes matching /hs1/ set to 0.3
3. hs5 set to 0.5
'chromosomes' parameter accepts regular expressions, specified using /.../
chromosomes = /hs/
chromosomes = -/hs/
When chrromosomes_display_default=yes, use chromosomes_order_by_karyotype=yes to order chrs by their order in the karyotype. If this parameter is not set, the order is determined by a sort based on string+digit in the chromosome name (e.g. chr1=chr+1 chr2=chr+2, etc)
Histograms with transparency fill should now no longer have an outline even if no outline is desired. This artefact was due to how GD rendered antialiased filled polygons.
Rules for links and plots can have 'use=no' to turn them off.
Color lists now written to cache to speed up color allocation at run-time.
Debug groups now available to show running status of components. See etc/housekeeping.conf for a full list
e.g.
summary - summary progress
chrfilter - ideogram filtering
conf - configuration
ideogram - ideogram reports
cache - file caching
io - file input/output
_all - turn on all debugging (very verbose)
Colors such as vlred (very light red), lred (light red), etc, have been replaced by Brewer palette colors, where possible. For example, the vlred, lred, red, dred, vdred samples the 5 color sequential red palette.
Multiple counters can be adjusted with pre_increment_counter and other functions using a comma-delimited list
pre_increment_counter = counter1:10,counter2:15
Colors have always been forced to lowercase. If a user asked for a color with capitals (e.g. chrX), an error resulted. Now, only a warning is generated (if warnings are turned on) if the lowercase equivalent is found.
Parallel labels should now be better centered when using label_center for the ideogram label in <ideogram> block.
Added band_stroke_thickness to <ideogram> block.
init_counter is now used to initialize a counter value
Added example/ and moved tutorials to a separate distribution.
Speeded up the text track.
Speeded up input io - data points that don't fall on ideograms on the figure are ignored
10 Sep 2011 v0.56-pre0
Parallel ideogram labels are now centered with respect to the ideogram.
restrict_parameter_names now controls whether parameters are restricted to a pre-defined list (e.g. color, thickness, etc). If you have custom parameters (e.g. 'myspecialcode') then set restrict_parameter_names=no. By default, this is always set to 'yes'.
Added link_orientation for text tracks. When set to "out" links from text labels face out, rather than in.
28 Oct 2011 v0.56-pre1
Added font names to SVG files via font-family tag.
1 Nov 2011 v0.56-pre2
Removed -verbose. The -v flag now reports version.
Added -version.
Removed dependence on Graphics::ColorObject.
Added error handling framework.
Circos now requires Text::Format
Bug fix to heat map color mapping of last color.
26 Jan 2012 v0.56-pre3
Fixed bug which was causing line links to be drawn with a thickness half of what was requested.
Fixed bug that prevented parameters made acceptable by the restrict_parameter_names=no setting from being parsed.
Configuration file location is now guessed if guess_conf_location=yes (see etc/housekeeping.conf)
Color file cache can now be static (color_cache_static) and dir/file can be changed (color_cache_{file,dir})
Added 'placed' and 'not_placed' output for labels in text tracks to. Use -debug_group textplace to see this.
# create data file of labels that were not placed
circos -conf ... -debug_group textplace | grep not_placed > text.notplaced.txt
Parts of the code were made faster (unit checking) through Memoize.
Fixed a bug which prevented links with thickness=1 from being shown with correct transparency.
4 Feb 2012 v0.56-pre4
Fixed bug in which color errors were produced when PNG file was not asked for.
Fixed bug in which opacity of links in SVG files was missing in some cases.
Fixed but which was assigning the wrong color to transparent links in PNG files in some cases.
Centralized color configuration files colors.conf now includes brewer.conf - no need to include brewer.conf separately.
Added -paranoid flag to exit on warnings.
Made error messages friendlier. Revamped internal error handling mechanism.
5 Feb 2012 v0.56
Added data_path to allow adding to locations where files are searched for.
Added data/ to prefix path of locations where files are searched for. Now the default search locations are
{ CWD | CIRCOS_PATH } + { . | .. | ../.. } + { . | etc | data }
20 Feb 2012 v0.56-1
Added TTF versions of CMU Bright Roman and CMU Typewriter Regular. The OTF versions are incorrectly displayed by GD, when rotated.
Fixed bug that prevented regular expressions from being evaluated properly in a chromosome record.
Speeded up histogram code.
Speeded up function that draws arcs. If SVG file is not requested, this function now skips SVG-related calculations.
Fixed bug in init_counter which was causing this function to not be applied.
Added color_cache_create parameter to toggle creation of cache file on/off.
Added 'symbol' synonym for 'symbols' font.
Fixed round_up() utility function.
Added -chromosomes_display_default command line flag.
Changed chromosome prefix in Drosophila melanogaster (fruit fly) karyotype to 'dm' and colors to set1-6-qual palette.
Made the TTF support checking more robust.
4 May 2012 v0.60
Added image_map_missing_parameter=ignoreparam to allow URL parameter values with [].
Fixed bug in extend_bin which prevented extend_bin=no from being correctly interpreted.
Fixed bug in testing z-depth for plots.
Fixed bug with angle_offset.
Links with transparency should now show up correctly in SVG.
Plot axes should now show up correctly in SVG.
Fixed a bug which made reversed chromosome segments created with chromosomes_breaks show up in an unintuitive order.
Fixed behaviour of offset when drawing slices. This fixed a bug that made some slice arcs curve the wrong way.
Configuration file syntax __$CONF{a}{b}__ can now be replaced with conf(a,b). eval() is needed if the conf value is used in an expression. For example eval(2*conf(a,b)) instead of __2*$CONF{a}{b}__
Wherever you would use a color name, you can now specify colors using r,g,b or r,g,b,a values. Here 'a' is the alpha channel 0..1 (0=opaque,1=transparent).
color = red
color = 250,50,50
Added -randomcolor, just for fun.
Links can be specified on one line in input data file, instead of two
chr1 start1 end1 chr2 start2 end2 {options}
<link> blocks no longer need to be named - they now behave like <plot> blocks.
<links>
<link>
...
</link>
<link>
...
</link>
...
</links>
Rules are now ordered in two phases. First, all rules with an
'importance' value are placed first, followed by rules that don't have
this parameter, in the order that they appear. For example, if the
following are rules' importance values ("-" means not defined)
r1 -
r2 0
r3 15
r4 -
r5 20
the final order will be r5(20),r3(15),r2(0),r1(-),r4(-). Thus, rules
don't need the importance parameter at all, if you're happy with their
order of appearance.
Rule flow has been expanded. The flow parameter can now be one of
flow = continue {if true|false}
flow = restart {if true|false}
flow = stop {if true|false}
flow = goto TAG {if true|false}
By default, if the condition is not specified, a flow is always
triggered. This replaces the behaviour in which the flow triggered
only when the rule was passed.
flow = stop # always stops, regardless of whether rule is passed
flow = stop if false # stops if rule is false
The TAG is assigned to a rule with 'tag'
<rule>
# define a tag for this rule
tag = myrule
...
</rule>
<rule>
...
# goto the rule with tag=myrule
flow = goto myrule
</rule>
You can have multiple flow tags to accomodate different if true/false actions.
<rule>
...
flow = stop if false
flow = goto otherrule if true
</rule>
A rule may lack a condition if a flow directive exists. Thus, shortcircuiting all rules can now be done with
<rule>
flow = stop
</rule>
instead of
<rule>
condition = 1
flow = stop
</rule>
If you would like to always skip to a rule (e.g. to bypass rules you don't want)
<rule>
flow = goto myrule
</rule>
A rule or configuration may remove a parameter by setting its value to 'undef'. This is useful to remove default.
<rule>
condition = var(value) < 0.5
fill_color = undef
</rule>
Added normalized relative scale. Now you can set
chromosomes_scale = /hs/=0.5rn
to make all /hs/ equally sized and take up 0.5 of the circle. Previously, you had to do this
chromosomes_scale = /hs/=0.2083r
assuming that /hs/ matched 24 chromosomes.
All tracks now have default settings, taken from etc/tracks.
4 Jun 2012 v0.61
Identified a bug in gd that causes problems when lines of thickess 1px are anti-aliased. Added anti_aliasing parameter to turn aa off to mitigate this.
Fixed bug that caused elements in list defined by chromosomes_colors to be applied in the wrong order.
Fixed a bug that made backgrounds to be incorrectly oriented for tracks whose orientation is reversed.
Added skip_missing_expression_vars in etc/housekeeping.conf to allow skipping references to missing parameters with var(NAME).
Added label_format to <ideogram> block. This parameter allows you to use the same dynamic syntax for labels as you do for rules.
label_format = eval(var(chr))
label_format = eval(var(chr_with_tag))
label_format = eval(sprintf("%s %.3fMb",var(chr),var(size)/1e6))
Changed rebuild_color_cache to color_cache_rebuild.
Track axes are now defined using <axes> blocks with one or more <axis> entries. Each block can contain one or more of the following parameters: color, thickness, spacing, position, position_skip. Spacing and position parameters can be relative (use r suffix).
<axes>
color = grey
thickness = 1
<axis>
spacing = 0.1r
position_skip = 25000
</axis>
<axis>
position = 0.35r
color = red
</axis>
</axes>
Track background is now defined using <backgrounds> blocks with one or more <background> entries. Each block can contain one or more of the following parameters: color, stroke_{color|thickness}, y0, y1. If y0 and/or y1 are not specified, track minimum and maximum are used, respectively. y0 and y1 can be absolute or relative (use r suffix for relative).
<backgrounds>
<background>
color = lgrey
</background>
<background>
y0 = 0.5r
color = lgred
</background>
<background>
y1 = 0.5r
color = lgreen
</background>
</backgrounds>
When cytogenetic bands overlap, a warning is produced instead of fatal error.
Adjusted code which made v.60 incompatible with perl 5.8 due to a recursive regular expression used to parse rules. Text::Balanced is now used to extract function arguments in balanced parentheses.
Added conf(.,x) syntax to access value of 'x' in the current block.
<plot>
r0 = 0.8r
r1 = conf(.,r0)+0.1r
...
Top level blocks, such as <ideogram>, <colors>, <fonts>, <image> and <ticks> are merged. This allows you to do something like this
# define your own color(s)
<colors>
mycolor = 255,100,100
</colors>
# include default color, fonts and patterns, which brings in
# <colors>, <fonts> and <patterns> blocks
<<include etc/colors_fonts_patterns.conf>>
To override a value, don't forget to use *. For example, to hide the ideogram label in tutorial 2.2,
<ideogram>
# * is required at the end of parameter name so that it overrides the
# default value of 'show_label' defined in the block imported below
show_label* = no
</ideogram>
# default <ideogram> block from file
<<include ideogram.conf>>
snuggle_sampling can now be relative
max_snuggle_distance = 1r
snuggle_sampling = 0.2r
Text that is not placed can now be explicitly shown using 'overflow'. This text will be placed at r0 of the track. The format of the unplaced text can be controled using overflow_* parmaeters
overflow = show
overflow_font = bold
overflow_size = 36
overflow_color = red
25 Jun 2012 v0.62
Added README and cat, cow and dog assemblies in data/karyotype/assembly.
Added hs* colors, as synonym for chr* colors (e.g. hs1 <- chr1). This allows assigning chromosome name to color directly for human, instead of remapping hs to chr.
# previously
color = eval(sprintf("chr%s",substr(var(chr1),2)))
# now
color = eval(var(chr1))
Added ../../.. to file search path. Now, when the parameter 'file' is used Circos will look three directories back. This allows the tutorials to be run in place without moving the data/ directory into the Circos distribution path.
Added case_sensitive_parameter_names to allow data point parameter case to be respected. Default is case_sensitive_parameter_names=no
Fixed a bug that was preventing link overlap check in text tracks.
A bug was preventing backgrounds and axes of tracks from being shown on ideograms that had no data. Added show=data option to <backgrounds> and <axes> to show these elements only for ideograms on which the track has data.
<backgrounds>
show = data
<background>
...
</background>
</backgrounds>
Added a quick guide tutorial
http://www.circos.ca/documentation/tutorials/quick_guide/
Added a check that ensures that the etc/housekeeping.conf file is being included.
3 July 2012 v0.62-1
This version includes example/data, which was inadvertantely left out of 0.62.
5 Feb 2013 v0.63
Added the ability to change any configuration parameter from the command-line by -param
-param debug=1 changes 'debug' in root
-param image/radius=2000p changes 'radius' in <image> block
-param ideogram/spacing/default=0.002r changes 'default' in <spacing> block of <ideogram> block
A fatal error is triggered if you attempt to adjust a parameter in a block that does not exist.
Removed the following command-line parameters (use -param PARAM=VALUE instead) :
chromosomes*
show_tick*
usertext*
background
image_map*
file_delim
tagname
cdebug
The -cdump flag can now take a block, or a block path
-cdump image
-cdump ideogram/spacing
Absolute file names were improperly parsed on Windows. Fixed this by using the more general File::Spec module.
Fixed bug that prevented 'minsize' and 'padding' track parameters from being parsed.
chromosomes_color can now be used with ideogram tags
chromosomes = cycle[g1]:0-45;cycle[s]:45-80;cycle[g2]:80-95;cycle[m]:95-100
chromosomes_color = g1=red,s=orange,g2=green,m=blue
Added "pure" colors for each named color, accessed with "p" prefix. The ladder is a 10% luminance step. Other colors are pgreen, pblue, ppurple, porange.
vvlpred vlpred lpred pred dpred vdpred vvdpred
Fixed a bug in which files specified by an absolute path were not found on Windows.
Fixed a bug that was reversing connectors with start>end.
Changed the default value of restrict_parameter_names to 'no'. Now you can add options to data points without having to override this parameter.
Fixed a bug that was preventing rules from being applied to connectors.
Speeded up routines that calculated spacing between ideograms.
Added legacy_underline_expression_syntax to etc/housekeeping.conf to allow turning off for support for data point parameter access using _NAME_ syntax. By default, the parameter is set to 'no'. Set this parameter to 'yes' to support the old syntax.
The minsize parameter can now be used in a rule to enlarge a data point interval.
You can now set a default when referencing a variable with var(), e.g. var(id|0). This is useful when you are using optional fields in complex rule conditions or parameters. For example, if not all data points contain the parameter 'recurrence', then using it in a remap function requires that you provide a default
thickness = eval(remap_int(var(recurrence|0),0,20,1,10))
The default square brush used in the PNG routines created jaggies for objects with thick strokes (e.g. links with large thickness, when not drawn as ribbons). Implemented round brushes for objects with large thickness using two new parameters in etc/housekeeping.conf.
round_brush_use = yes
round_brush_min_thickness = 5
Fixed a bug that prevented using a global file option for a track. Now this works
<plots>
file = data.txt
<plot>
# if 'file' is not specified, data.txt will be used
..
</plot>
<plot>
# if 'file' is not specified, data.txt will be used
..
</plot>
...
A rule can now have multiple conditions, which are evaluated with AND. The following are equivalent
condition = on(hs1) && var(size) < 1e6
condition = on(hs1)
condition = var(size) < 1e6
Fixed a bug which was misinterpreting 'padding' for tiles as an expansion of the tile interval.
Added 'offset' parameter to tiles to allow them to be shifted radially within their layer.
<rules>
<rule>
condition = var(type) eq "exon"
thickness = 12
</rule>
<rule>
condition = var(type) eq "intron"
thickness = 2
offset = 5
</rule>
</rules>
Fixed a bug that was causing the second bin of some histograms to encroach on the first.
Reintroduced support for relative units in chromosomes_units parameter. When 'r' is used, the denominator is 10**round(log10(S)) where S is the total size of all ideograms.
Fixed a bug that was not drawing backgrounds correctly with tiles.
Fixed a bug that was breaking stacked histograms due to how bin extension works. Bin extension has been turned off for stacked histograms.
Cytogenetic bands are now drawn after ideogram labels, as not to cover labels that are placed inside the ideogram.
Fixed a bug which was prevening ideogram spacing from correctly incorporating ideogram scale.
Circos now looks for files relative to the location of the configuration file, in addition to the current and distribution directories.
7 Feb 2013 v0.63-1
Fixed bug in which parameter override (using * suffix) was not working in deep blocks.
12 Feb 2013 v0.63-2
Fixed but in which text labels were not respecting when an ideogram's radius was changed with chromosomes_radius.
Updated example/ to include chromosomes_radius, which now works correctly with text blocks.
13 Feb 2013 v0.63-3
The command-line parameters -noshow_ticks and -noshow_tick_labels now work.
15 Feb 2013 v0.63-4
Added debug_auto_timer_report in etc/housekeeping.conf to control the length of a run for which timing reports are always generated.
Added format check for reading bands from karyotype file.
18 Feb 2013 v0.63-5
Added karyotype for Sorghum bicolor (http://www.plantgdb.org/SbGDB/) version JGI Sbi1.
19 Feb 2013 v0.64-pre0
Added fill_color parameter for line plots. You can now draw line plots with fill using this
<plot>
type = line
fill_color = black
...
</plot>
Added the ability to idependently draw outlines and position mark guides for text. Use type=outline or type=cross in the <guides> block. If type is not defined, both will be drawn.
Nested calls to conf() now work. For example,
<radius>
a = 0.5
</radius>
<plots>
<plot>
...
strain = a
r0 = conf(radius,conf(.,strain))r
Fixed bug that was prevening undefining of parameters. To undefine a parameter previously set, use undef
<<include etc/housekeeping.conf>>
track_defaults* = undef
The 'radius' parameter in <ideogram> block now accepts dims(). For example,
radius = dims(image,radius) - 50p
15 Mar 2013 v0.64-pre0
Added three argument versions of on() for testing data point position.
on(hs2)
on(hs2,5Mb,10Mb)
Added within(), which acts like on() but insists that the data point falls fully within the interval.
within(hs2,5Mb,10Mb)
19 Apr 2013 v0.64-pre1
Properties of ideograms (e.g. chr, label, etc) now available at tick level in image maps.
2 May 2013 v0.64
Added code that checks whether a module is available. If not, a
specific error is reported that directs the user to the online
tutorial that explains how to install missing modules.
Added alert when too many ideograms, ticks, links, or data points were being drawn. This is controlled by max_* in etc/housekeeping conf, currently set to
max_ticks = 5000
max_ideograms = 200
max_links = 25000
max_points_per_track = 25000
Fixed a bug in which configuration parameters with multiple instances (e.g. condition in rules) weren't parsed correctly for keywords like conf().
14 May 2013 v0.65
Counter parameters can now have multiple instances in <plot>, <link> and <highlight> blocks
<plot>
init_counter = thickness:0
init_counter = fill:0
...
post_increment_counter = thickness:0.5
post_increment_counter = fill:2
...
</plot>
pre_increment_counter and post_increment_counter can be used without a counter name, in which case the counter defaults to the block type. This value will be used for each subsequent block, until it is redefined.
<plot>
post_increment_counter = 2 # plot counter incremented by 2 after block is parsed
...
</plot>
The default location of the output file has been changed from the current directory to the configuration file directory. To change this default, see etc/image.generic.conf, which is included from etc/image.conf.
# old
dir = .
# new
dir = conf(configdir)
Data points that extend past the end of their ideogram view range can now be trimmed or hidden, along with optional warnings (fatal or not). See the data_out_of_range parameter in etc/housekeeping.conf. The default is trim,warn.
A <plot> block no longer requires a file parameter. It can be used for drawing axes and/or backgrounds, without any data.
The fonts/symbols/symbols.otf font how includes hollow glyphs, encoded by lower case letters. Solid glyphs have been moved to upper case.
small
| medium
| | large
| | |
a b c square
d e f rhombus
g h i triangle up
j k l triangle down
m n o circle
upper case - solid
lower case - hollow
Tick multiplier, spacing and position now supports K, M, G and T suffixes (case-insensitive), with an optional trailing "b" (e.g. Kb). Arithmetic (e.g. division) is supported in these values
multiplier = 1/1Mb # 1e-6
spacing = 5Mb # 5000000
position = 5kb,10kb,15kb # 5000,10000,25000
Most data SVG elements can now have attributes for their SVG tags by adding svg* parameters to the data point track. Any parameter that starts with svg (e.g. svgNNN) will be turned into an attribute whose name is derived from the parameter by stripping the leading "svg" out (e.g. NNNN). (e.g. svgid -> id, svgclass -> class).
hs1 100 200 0.5 svgid=123,svgclass=abc -> <circle ... id="123" class="abc"/>
Ideograms now accept SVG attributes using svg* parameters in <ideogram> block. These can be eval()'ed
<ideogram>
...
svgclass = eval(var(chr))
svgid = eval(sprintf("chrid%s",var(label)))
Added file_rx field to parse only lines from track file that match this regular expression
file = data.txt
file_rx = id=100$
Fixed a bug that was incorrectly filling under line plots when angle_orientation = counterclockwise.
16 April 2014 v0.67-pre0
Histograms and heatmaps now accept 'pattern' parameter.
Heatmap color encoding now accepts 'color_mapping' parameter (0,1,2) that defines how colors are mapped onto the range of values.
encodings: 0,1,2,3,...,n,n+1