Skip to content
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

RuntimeError: generator raised StopIteration #45

Open
bernard-kim opened this issue Oct 16, 2023 · 0 comments
Open

RuntimeError: generator raised StopIteration #45

bernard-kim opened this issue Oct 16, 2023 · 0 comments

Comments

@bernard-kim
Copy link

A test run with long read data and the following read splitting options resulted in an error:

read2tree [ ... options ... ] --read_type long --split_reads --split_len 20000 --split_overlap 1000
RuntimeError: generator raised StopIteration

This appears to be an issue with FastxReader.py caused by Python>=3.7, as detailed in https://stackoverflow.com/questions/51700960/runtimeerror-generator-raised-stopiteration-every-time-i-try-to-run-app

Recoding FastxReader.py (on my local machine) to handle the StopIteration as described in that post seems to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant