-
Notifications
You must be signed in to change notification settings - Fork 73
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
AssertionError thrown during stitching #20
Comments
Hi @chklopp This is not something we have been able to reproduce, and it's not something for which we have been able to identify a possible cause. If you are willing to share your data we might be able to debug it further, we can do this privately if required. Alternatively you can invoke the
The |
I have one of these too and I'm happy to share if it will help debugging |
You should have received an email with details of how to send data to us. |
I've got your files and can reproduce the error. There is a corner-case in how contigs are broken into chunks for inference for which |
Thanks for looking into this! |
This is resolved in v0.5.0, now on pypi. |
Hi, I have the same problem as mentioned above with the newest version of medaka v0.9.2 installed with conda: [02:22:00 - Stitch] Processing tig00001220:0-. I need help, thanks! |
The process ran until
...
[03:05:22 - Stitch] Processing ctg254.
[03:05:29 - Stitch] Processing ctg255.
[03:05:36 - Stitch] Processing ctg256.
[03:05:47 - Stitch] Processing ctg257.
[03:05:59 - Stitch] Processing ctg258.
Traceback (most recent call last):
File "/usr/local/bioinfo/src/Medaka/medaka-1.4.3/venv/bin/medaka", line 11, in
load_entry_point('medaka==0.4.3', 'console_scripts', 'medaka')()
File "/usr/local/bioinfo/src/Medaka/medaka-1.4.3/venv/lib/python3.6/site-packages/medaka-0.4.3-py3.6-linux-x86_64.egg/medaka/medaka.py", line 170, in main
args.func(args)
File "/usr/local/bioinfo/src/Medaka/medaka-1.4.3/venv/lib/python3.6/site-packages/medaka-0.4.3-py3.6-linux-x86_64.egg/medaka/stitch.py", line 81, in stitch
joined = stitch_from_probs(args.inputs, regions=args.regions, model_yml=args.model_yml)
File "/usr/local/bioinfo/src/Medaka/medaka-1.4.3/venv/lib/python3.6/site-packages/medaka-0.4.3-py3.6-linux-x86_64.egg/medaka/stitch.py", line 62, in stitch_from_probs
end_1_ind, start_2_ind = get_sample_overlap(s1, s2)
File "/usr/local/bioinfo/src/Medaka/medaka-1.4.3/venv/lib/python3.6/site-packages/medaka-0.4.3-py3.6-linux-x86_64.egg/medaka/common.py", line 487, in get_sample_overlap
assert len(pos1_ovl) == len(pos2_ovl)
AssertionError
Originally posted by @chklopp in #16 (comment)
The text was updated successfully, but these errors were encountered: