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

Error with panaroo-generate-gffs #212

Open
sarapita opened this issue Nov 11, 2022 · 5 comments
Open

Error with panaroo-generate-gffs #212

sarapita opened this issue Nov 11, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@sarapita
Copy link

sarapita commented Nov 11, 2022

I'm trying to update my bakta gffs after panaroo 1.3.0 proccessing with the following command:

panaroo-generate-gffs -o panaroo_out -i *gff3 -t 1 -f 'gff3'

However, I keep getting the following error:

Traceback (most recent call last):
File "/services/tools/panaroo/1.3.0/bin/panaroo-generate-gffs", line 10, in
sys.exit(main())
File "/services/tools/panaroo/1.3.0/lib/python3.10/site-packages/panaroo/post_run_gff_output.py", line 277, in main
parsed_gffs = parse_all_gffs(isolate_names, args.input_files, args.verbose)
File "/services/tools/panaroo/1.3.0/lib/python3.10/site-packages/panaroo/post_run_gff_output.py", line 84, in parse_all_gffs
input_file = next((s[1] for s in zip(base_input, input_list) if isolate_id == s[0]))
StopIteration

Any idea on how I should address it or what might be causing it?

Thanks in advance!

Best,
Sara

@gtonkinhill
Copy link
Owner

Hi,

I am afraid I have only tested the updating of GFFs on Prokka output. I hope to extend this to Bakta GFFs soon so I will leave this issue open as a feature request and update it when the functionality is added.

@gtonkinhill gtonkinhill self-assigned this Nov 16, 2022
@gtonkinhill gtonkinhill added the enhancement New feature or request label Nov 16, 2022
@sarapita
Copy link
Author

Ah, I see thanks.

@vonMentzer-Group
Copy link

Can you run panaroo on bakta annotated genomes?

@gtonkinhill
Copy link
Owner

Yes, it should be possible using the --remove-invalid-genes option. We are hoping to enable panaroo to take advantage of some of the extra features of Bakta soon.

@limrp
Copy link

limrp commented Dec 17, 2024

Yes, it should be possible using the --remove-invalid-genes option. We are hoping to enable panaroo to take advantage of some of the extra features of Bakta soon.

Hi!

I'm new to this field and I was using bakta to annotate my genomes. I wanted to use their gff3 files to run panaroo. I keep getting an error, but after using the --remove-invalid-genes parameter recommended here, it all worked!.

I wanted to ask if prokka gff3 files don't need the use of the --remove-invalid-genes parameter.

If so, why? What is the difference with the gff3 from Bakta.

Thank you so much for your amazing tool and for all your work!

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

No branches or pull requests

4 participants