We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a limit on the size of genomic region that can be plotted using bamsnap? My attempts to plot 1.5MB region failed with this error:
Process proc 1: Traceback (most recent call last): File ".conda/envs/bamsnap/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File ".conda/envs/bamsnap/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/bamsnap.py", line 235, in run_process_drawplot_bamlist imagefname = bsplot.drawplot_bamlist(pos1, image_w, bamlist, xscale, refseq) File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/bamsnap.py", line 467, in drawplot_bamlist ia = self.append_coordinates_image(ia, pos1, image_w, xscale) File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/bamsnap.py", line 430, in append_coordinates_image ia_sub = coord.get_image() File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/coordinates.py", line 106, in get_image self.draw(dr) File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/coordinates.py", line 62, in draw self.cal_axis() File ".conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/coordinates.py", line 52, in cal_axis unitlen = 10 ** (len(str(axis_base_unit)) - 1) UnboundLocalError: local variable 'axis_base_unit' referenced before assignment
Error is occuring due to conditional used with hardcoded list here:
bamsnap/src/bamsnap/coordinates.py
Lines 47 to 51 in a9c219d
The text was updated successfully, but these errors were encountered:
Hello - I am experiencing a similar error with large genomic regions. Is there a workaround?
Sorry, something went wrong.
No branches or pull requests
Is there a limit on the size of genomic region that can be plotted using bamsnap? My attempts to plot 1.5MB region failed with this error:
Error is occuring due to conditional used with hardcoded list here:
bamsnap/src/bamsnap/coordinates.py
Lines 47 to 51 in a9c219d
The text was updated successfully, but these errors were encountered: