Error in Circos

33 views
Skip to first unread message

Ashutosh Sharma 1820107

unread,
Oct 8, 2022, 7:22:58 AM10/8/22
to Circos

I want to highlight the some region in ideogram but getting error from config file.
This my karyotype input file.
chr    -    gg1    1    0    197608386    chr1
chr    -    gg2    2    0    149682049    chr2
chr    -    gg3    3    0    110838418    chr3
chr    -    gg4    4    0    91315245    chr4
chr    -    gg5    5    0    59809098    chr5
chr    -    gg6    6    0    36374701    chr6
chr    -    gg7    7    0    36742308    chr7
chr    -    gg8    8    0    30219446    chr8
chr    -    gg9    9    0    24153086    chr9
chr    -    gg10    10    0    21119840    chr10
chr    -    gg11    11    0    20200042    chr11
chr    -    gg12    12    0    20387278    chr12
chr    -    gg13    13    0    19166714    chr13
chr    -    gg14    14    0    16219308    chr14
chr    -    gg15    15    0    13062184    chr15
chr    -    gg16    16    0    2844601    chr16
chr    -    gg17    17    0    10762512    chr17
chr    -    gg18    18    0    11373140    chr18
chr    -    gg19    19    0    10323212    chr19
chr    -    gg20    20    0    13897287    chr20
chr    -    gg21    21    0    6844979    chr21
chr    -    gg22    22    0    5459462    chr22
chr    -    gg23    23    0    6149580    chr23
chr    -    gg24    24    0    6491222    chr24
chr    -    gg25    25    0    3980610    chr25
chr    -    gg26    26    0    6055710    chr26
chr    -    gg27    27    0    8080432    chr27
chr    -    gg28    28    0    5116882    chr28
chr    -    gg30    30    0    1818525    chr30
chr    -    gg31    31    0    6153034    chr31
chr    -    gg32    32    0    725831    chr32
chr    -    gg33    33    0    7821666    chr33
chr    -    ggz    Z    0    82529921    chry
#############################################
This is my circos config file.
# circos.conf

karyotype = /media/morpheus/sagar/kadak_part2/Gallus_gallus_karyotype.txt

<ideogram>
show_label     = yes
label_with_tag = no
label_font     = light
label_radius   = dims(ideogram,radius_outer) + 0.05r
label_center   = yes
label_size     =30p
label_color    = black
label_parallel = yes


<spacing>
default = 0.005r
</spacing>

radius    = 0.9r
thickness = 80p
fill      = yes
</ideogram>

###################################################################################################
<highlights>

z          = 0
fill_color = green

<highlight>
file       = genes.txt
r0         = 0.6r
r1         = 0.8r
</highlight>

<highlight>
file       = genes.txt
r0         = 0.7r
r1         = 0.75r
z          = 5
</highlight>

<highlight>
file       = genes.txt
r0         = 1.1r
r1         = 1.15r
fill_color = blue
stroke_color = dblue
stroke_thickness = 2
</highlight>

</highlights>

################################################################
# The remaining content is standard and required. It is imported
# from default files in the Circos distribution.
#
# These should be present in every Circos configuration file and
# overridden as required. To see the content of these files,
# look in etc/ in the Circos distribution.

<image>
# Included from Circos distribution.
<<include /etc/circos/image.conf>>
</image>

# RGB/HSV color definitions, color lists, location of fonts, fill patterns.
# Included from Circos distribution.
<<include /etc/circos/colors_fonts_patterns.conf>>

# Debugging, I/O an dother system parameters
# Included from Circos distribution.
<<include /etc/circos/housekeeping.conf>>

<<include /etc/circos/tracks/highlight.bg.conf>>

######################################
This is error which I am getting
debuggroup summary 0.13s welcome to circos v0.69-8 15 Jun 2019 on Perl 5.030000
debuggroup summary 0.14s current working directory /media/morpheus/sagar/kadak_part2
debuggroup summary 0.14s command /usr/bin/circos -conf c.conf
debuggroup summary 0.14s loading configuration from file c.conf
debuggroup summary 0.14s found conf file c.conf
Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/perl5/Circos/Configuration.pm line 547.


Reply all
Reply to author
Forward
0 new messages