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

ValueError: max() arg is an empty sequence #141

Open
sc-wenxinqiang opened this issue Nov 19, 2024 · 1 comment
Open

ValueError: max() arg is an empty sequence #141

sc-wenxinqiang opened this issue Nov 19, 2024 · 1 comment

Comments

@sc-wenxinqiang
Copy link

Hi GFF3toolkit developers. I'd like to seek for your help on this issue. QC part went well, but running the fix step raises a ValueError exception. For reference, I'm attaching the gff file and the error.txt here.
error.zip
evm.zip
fix.zip
Thank you.

@mpoelchau
Copy link
Contributor

Thanks for reaching out @sc-wenxinqiang ! Sorry that the error is so uninformative. The problem is that gff3-fix can't fix the Emr0003 errors (duplicate IDs), and those need to be fixed for it to handle the Ema0001 errors (Parent feature start and end coordinates exceed those of child features).

I looked at the gff file. How was this generated? It looks like most lines are duplicated and are out of order. I recommend that you re-generate it if you can - I'd be wary of having another program fix it if the gff file itself is broken to this degree.

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

2 participants