dekkerlab / cworld-dekker

perl cworld module and collection of utility/analysis scripts for C data (3C, 4C, 5C, Hi-C)
Apache License 2.0
63 stars 20 forks source link

error matrix2loess.pl #13

Open lxingze opened 3 years ago

lxingze commented 3 years ago

$ perl /home/lixingze/software/cworld-dekker/scripts/perl/matrix2loess.pl -i fastq.sample_Chr1.sample_Chr1.matrix

Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095. Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.

Error in plot.window(...) : 'ylim' It's not worth it Calls: plot -> plot.default -> localWindow -> plot.window in addition: Warning messages: 1: In min (x): all parameters in Min do not exist; Reply inf 2: In max (x): all the parameters in Max do not exist; Reply inf Stop execution

Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095. Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095. Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095. Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095. Wide character in print at /usr/local/share/perl5/cworld/dekker.pm line 6095.

valderpan commented 1 year ago

Hi, I have the same problem, is there any solution?

blajoie commented 1 year ago

@valderpan - can you post an example input matrix + command? I can take a look. Seems like it is something with the date print.

valderpan commented 1 year ago

@blajoie - Hi, thank you for your attention.

I think I have solved this problem. The reason is that the MATRIX I generate is not symmetric, only half of the matrix has values. When I corrected it to a symmetric matrix, no error was reported.