~ubuntu-branches/ubuntu/utopic/circos/utopic-proposed

« back to all changes in this revision

Viewing changes to README

  • Committer: Package Import Robot
  • Author(s): Olivier Sallou, Olivier Sallou, Charles Plessy, Andreas Tille
  • Date: 2012-06-14 12:56:33 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120614125633-0wh7ovv69s5k1uiq
Tags: 0.61-1
[ Olivier Sallou ]
* New upstream release

[ Charles Plessy ]
* renamed debian/upstream-metadata.yaml to debian/upstream

[ Andreas Tille ]
* debian/upstream: enhanced citation information 

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
0.b  Requirements
58
58
 
59
59
Perl 5.8.x, or newer, is highly recommended. In addition to the core
60
 
modules that come with your Perl distribution, the following CPAN
61
 
modules are required
62
 
 
63
 
Config::General
64
 
Data::Dumper
65
 
File::Basename
66
 
GD
67
 
GD::Polyline
68
 
Getopt::Long
69
 
IO::File
70
 
List::Util
71
 
Math::Bezier
72
 
Math::BigFloat
73
 
Math::Round
74
 
Math::VecStat
75
 
Memoize
76
 
Params::Validate
77
 
Pod::Usage
78
 
Readonly
79
 
Regexp::Common
80
 
Set::IntSpan
81
 
Time::HiRes
 
60
modules that come with your Perl distribution, some CPAN modules are required.
82
61
 
83
62
On UNIX systems, for a list of modules required by Circos, run
84
63
 
102
81
 
103
82
1. GETTING STARTED
104
83
 
 
84
Refer to online tutorials for installation, configuration and troubleshooting
 
85
 
 
86
  http://www.circos.ca/documentation/tutorials/configuration/
 
87
 
105
88
1.a  Installation
106
89
 
107
90
On UNIX systems, use 'tar' to extract the files.
193
176
> cd /bin
194
177
> ln -s /usr/bin/env env
195
178
 
196
 
Now try creating an image from one of the tutorials. 
 
179
Now try creating the example image
197
180
 
198
181
> cd circos-x.xx
199
 
> bin/circos -conf tutorials/2/2/circos.conf
200
 
 
201
 
If everything goes well, the program should terminate with a line
202
 
 
203
 
  created image at /tmp/circos-tutorial.png
204
 
 
205
 
To get some verbose reporting, use 
206
 
 
207
 
> bin/circos -conf tutorials/2/2/circos.conf -debug
208
 
 
209
 
Please see L<http://www.circos.ca> for documentation. There are a large number
210
 
of tutorials that described how the configuration files are formatted.
 
182
> cd example
 
183
> ../bin/circos -conf etc/circos.conf
 
184
 
 
185
To get some verbose reporting about file I/O , use 
 
186
 
 
187
> ../bin/circos -conf etc/circos.conf -debug_group io,summary
 
188
 
 
189
Please see L<http://www.circos.ca> for documentation. There are a
 
190
large number of tutorials that described how the configuration files
 
191
are formatted. Tutorials need to be downloaded separately.
211
192
 
212
193
1.d  Tools
213
194
 
214
 
There are several helper scripts located in tools/ that are designed
 
195
There are several helper scripts, available separately, that are designed
215
196
to aid you in processing your data.
216
197
 
217
198
Many of these involve manipulating link files. These tools independent
218
199
scripts and are covered in Tutorial 9.
219
200
 
220
 
 L<http://circos.ca/tutorials/lessons/utilities>
 
201
  http://circos.ca/tutorials/lessons/utilities
221
202
 
222
203
The tools can be downloaded independently. Note that the stand-alone
223
204
tools distribution may contain scripts that are newer than those
255
236
 
256
237
2.b  Known issues
257
238
 
258
 
GD does not draw rotated text correctly when the font size is
259
 
small. For example, using a font size of 6pt, text drawn an an angle
260
 
is drawn with letters upright. If you see this, increase the font size
261
 
of the text.
262
 
 
 
239
GD does not draw rotated text correctly when the font size is small
 
240
for certain fonts. For example, using a font size of 6pt, text drawn
 
241
an an angle is drawn with letters upright. If you see this, increase
 
242
the font size of the text.
 
243
 
 
244
Fonts with which this problem occurs are
 
245
 
 
246
  CMUBright-Roman
 
247
  CMUTypewriter-Regular
 
248
 
 
249
For this reason, TTF versions of these fonts are used, rather than OTF.
263
250
 
264
251
3. INSTALLATION PROBLEMS
265
252
 
266
253
3.a  Missing modules
267
254
 
 
255
  http://www.circos.ca/documentation/tutorials/configuration/perl_and_modules/
 
256
 
268
257
In order to run Circos you may need to install some modules from CPAN
269
258
(www.cpan.org). You will need the modules listed at L<http://www.circos.ca/software/requirements>.
270
259
 
338
327
 
339
328
4.b  Typical errors and how to fix them
340
329
 
341
 
4.b.1 Numerical parameter units
342
 
 
343
 
Many numerical parameters in the .conf files require that you specify
344
 
a unit. For a given parameter, one or more of these units may be required
345
 
 
346
 
  p - absolute size in pixels
347
 
  r - relative size, with the comparator being context sensitive 
348
 
      e.g. relative tick size is relative to ideogram thickness
349
 
      e.g. relative tick label offset is relative to tick size
350
 
  u - chromosome units, as defined by chromosomes_unit
351
 
  b - bases, the natural unit along the ideogram
352
 
  n - no unit, explicitly stated
353
 
 
354
 
If you receive an error message of the kind
355
 
 
356
 
The parameter [ideogram/spacing/break_style/thickness] value [0.25] does not have 
357
 
    the correct unit [saw n], which should be one of r,p at bin/circos line 3410
358
 
    main::unit_validate(0.25, 'ideogram/spacing/break_style/thickness', 'r', 'p') called atbin/circos line 3559
359
 
    main::draw_axis_break('HASH(0x8a81d10)') called at bin/circos line 872
360
 
 
361
 
Then you have the wrong unit. Here the parameter at fault is 
362
 
 
363
 
  ideogram/spacing/break_style/thickness
364
 
 
365
 
that is
366
 
 
367
 
  <ideogram>
368
 
   <spacing>
369
 
    <break_style>
370
 
     thickness = 
371
 
 
372
 
It is defined to be 0.25 (no unit) but requires that it have a unit of
373
 
either "r" (relative) or "p" (absolute).
374
 
 
375
 
As Circos matures, and the configuration file syntax stabilizes, I am
376
 
striving to standardize the requirement for units for all
377
 
parameters. Previous versions were more tolerant and attempted to
378
 
naively determine the unit automatically (e.g. if value was <1 then
379
 
the unit was assumed relative) and you may find that after upgrading
380
 
to a new version of Circos your old files are creating errors. Just
381
 
add the units and you're good to go.
 
330
4.b.1 Dealing with errors
 
331
 
 
332
  http://mkweb.bcgsc.ca/dev/circos/documentation/tutorials/configuration/errors/
382
333
 
383
334
4.b.2 No text in figures
384
335
 
396
347
 
397
348
http://search.cpan.org/dist/GD/
398
349
 
 
350
This issue comes up a lot. Circos has this to say about it
 
351
 
 
352
circos -fake font,ttf
 
353
 
 
354
and many threads about it have been created on the message boards
 
355
 
 
356
http://groups.google.com/group/circos-data-visualization/browse_thread/thread/c893b8b612c2c5cf
 
357
 
399
358
 
400
359
HISTORY
401
360
 
 
361
2012 Feb 20 - added link to thread about TTF support and a command to fake TTF font error
 
362
 
 
363
2012 Feb 5 - modified note on errors, added reference to external tutorials
 
364
 
402
365
2011 Jul 25 - split Circos, tutorials and tools into separate archives
403
366
 
404
367
2011 Jun 04 - started keeping track of history