> python2 HiCPlotter.py -chr chr2 -n chr2 -tri 1 -bed Nv2_5k.bins.bed -f NVE_technau.q_0.5000.bins.tsv -o NVE_technau_q0_chr2 -r 5000 -gl 1 -g hox_genes.bed -im 1 -ext svg -w 100000 -pi 1
Traceback (most recent call last):
File "/scratch/molevo/jmontenegro/software/HiCPlotter/HiCPlotter.py", line 2171, in <module>
HiCplotter(**args)
File "/scratch/molevo/jmontenegro/software/HiCPlotter/HiCPlotter.py", line 1397, in HiCplotter
else: ax4.plot(np.arange(start,end),nums,'black')
File "/apps/python2/2.7.18/lib/python2.7/site-packages/matplotlib/axes.py", line 4137, in plot
for line in self._get_lines(*args, **kwargs):
File "/apps/python2/2.7.18/lib/python2.7/site-packages/matplotlib/axes.py", line 317, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "/apps/python2/2.7.18/lib/python2.7/site-packages/matplotlib/axes.py", line 295, in _plot_args
x, y = self._xy_from_xy(x, y)
File "/apps/python2/2.7.18/lib/python2.7/site-packages/matplotlib/axes.py", line 237, in _xy_from_xy
raise ValueError("x and y must have same first dimension")
ValueError: x and y must have same first dimension
> python2 HiCPlotter.py -chr chr2 -n chr2 -tri 1 -bed Nv2_5k.bins.bed -f NVE_technau.q_0.5000.bins.tsv -o NVE_technau_q0_chr2 -r 5000 -gl 1 -g hox_genes.bed -im 1 -ext svg
Plotting now!!
I do not have an problems. What could be causing the error described above and how can I fix it?
Thank you.
Juan D. Montenegro
Hi I am trying to to plot a HiCPro tri format file with the following code:
If I remove the insulation score related parameters ("-w" and "-pi")
I do not have an problems. What could be causing the error described above and how can I fix it?
Thank you.
Juan D. Montenegro