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

Errno2 No such file or directory: '##gff-version' #230

Closed
li-fangyeo opened this issue May 25, 2023 · 2 comments
Closed

Errno2 No such file or directory: '##gff-version' #230

li-fangyeo opened this issue May 25, 2023 · 2 comments

Comments

@li-fangyeo
Copy link

Hi Gerry,

Thanks for developing Panaroo! (And naming it panaroo).

I generated the gff file on prokka but I'm not sure what this error means. I even tried putting in the whole file address but it didn't work. What am I doing wrong? Help =)

(panaroo) lilifanggi@DESKTOP-IJUVMDT:/mnt/c/Users/Li-Fang/Genetics/JehaiEcoli/Mappedreads/prokkaa$ panaroo -i JHEC01/JHEC01.gff -o panaroo/ --clean-mode strict
Traceback (most recent call last):
File "/home/lilifanggi/anaconda3/envs/panaroo/bin/panaroo", line 10, in
sys.exit(main())
File "/home/lilifanggi/anaconda3/envs/panaroo/lib/python3.9/site-packages/panaroo/main.py", line 302, in main
files.append(create_temp_gff3(line[0], line[1], temp_dir))
File "/home/lilifanggi/anaconda3/envs/panaroo/lib/python3.9/site-packages/panaroo/prokka.py", line 88, in create_temp_gff3
with open(gff_file, 'r') as infile:
FileNotFoundError: [Errno 2] No such file or directory: '##gff-version'
(panaroo) lilifanggi@DESKTOP-IJUVMDT:/mnt/c/Users/Li-Fang/Genetics/JehaiEcoli/Mappedreads/prokkaa$ head -n 5 JHEC01/JHEC01.gff
##gff-version 3
##sequence-region NZ_JAGWDO010000001.1 1 3190775
##sequence-region NZ_JAGWDO010000011.1 1 5010
##sequence-region NZ_JAGWDO010000012.1 1 5264
##sequence-region NZ_JAGWDO010000013.1 1 3543

@gtonkinhill
Copy link
Owner

Hi,

Panaroo requires multiple (preferably at least 3) GFF files.

When you provide a single file it assumes that you have provided a list of file locations which is why it is throwing this error.

@li-fangyeo
Copy link
Author

Right!! Got it. Thank you!

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