-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
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
ValueError: negative dimensions are not allowed
when calling set_refine_signal_mapping()
#138
Comments
I've not seen this error before. Thank you for the test data. I am able to reproduce the error and will look into a fix. |
Reference genome is dm6. |
This should be fixed in the v3.1 release. There is a larger issue here though. The read you've sent contains many 500+ base pair deletions from the reference. This is highly suggestive that the reference is not correct for this read/mapping. The fix put in a check in to ensure that the value to compute the offset does not overflow the array (and use an unsigned integer instead of a signed int), but this is likely far too large a search space for the signal refinement algorithm. I will explore a variable to filter these reads out in a future release. |
Hi,
I am getting an error which I am not sure to approach. For a very small subset of reads, the following code snippet
fails with the error below:
I have attached the corresponding
pod5
andbam
file to reproduce this issue in case you might find it useful. Any pointer as to where I could start debugging this would be greatly appreciated.Thank you very much in advance.
The text was updated successfully, but these errors were encountered: