Describe the bug
Plot failed with unmatched dimensions
To Reproduce
Cannot reproduce the error without the input fastq files.
Expected behavior
Fix the error
Screenshots
'''
Traceback (most recent call last):
File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 298, in
main()
File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 250, in main
(init_q, prob_q, avg_err1) = parse_file(infile, real_q, off_q, max_reads, n_samp, plot_stuff)
File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 163, in parse_file
mpl.pcolormesh(x, y, z[::-1, :], vmin=v_min_log[0], vmax=v_min_log[1], cmap='jet')
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2980, in pcolormesh
__ret = gca().pcolormesh(
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/init.py", line 1361, in inner
return func(ax, *map(sanitize_sequence, args), *kwargs)
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 6183, in pcolormesh
X, Y, C, shading = self._pcolorargs('pcolormesh', args,
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 5697, in _pcolorargs
raise TypeError('Dimensions of C %s are incompatible with'
TypeError: Dimensions of C (42, 42) are incompatible with X (151) and/or Y (43); see help(pcolormesh)
'''
Desktop (please complete the following information):
OS: CentOS7
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug Plot failed with unmatched dimensions
To Reproduce Cannot reproduce the error without the input fastq files.
Expected behavior Fix the error
Screenshots ''' Traceback (most recent call last): File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 298, in
main()
File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 250, in main
(init_q, prob_q, avg_err1) = parse_file(infile, real_q, off_q, max_reads, n_samp, plot_stuff)
File "/paedyl01/disk1/yangyxt/ngs_scripts/neat-genreads/utilities/genSeqErrorModel.py", line 163, in parse_file
mpl.pcolormesh(x, y, z[::-1, :], vmin=v_min_log[0], vmax=v_min_log[1], cmap='jet')
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2980, in pcolormesh
__ret = gca().pcolormesh(
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/init.py", line 1361, in inner
return func(ax, *map(sanitize_sequence, args), *kwargs)
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 6183, in pcolormesh
X, Y, C, shading = self._pcolorargs('pcolormesh', args,
File "/home/yangyxt/anaconda3/envs/neat_genreads/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 5697, in _pcolorargs
raise TypeError('Dimensions of C %s are incompatible with'
TypeError: Dimensions of C (42, 42) are incompatible with X (151) and/or Y (43); see help(pcolormesh)
'''
Desktop (please complete the following information):
Additional context Add any other context about the problem here.