-
Notifications
You must be signed in to change notification settings - Fork 243
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
convert_augustus_to_gff3.py error #64
Comments
Do you mind compressing and attaching your input file? I don't have any augustus ones currently to test with. |
This is the input file |
Thank you. And did you install biocode via pip or git checkout? |
No, I just directly run this script. Should I install biocode first? |
It's fine to operate from a checkout rather than installing, you just have to modify PYTHONPATH so it knows where to find the modules. From the README: cd /opt You probably want to add this line to your $HOME/.bashrc fileexport PYTHONPATH=/opt/biocode/lib:$PYTHONPATH |
When I did this the conversion ran fine. Attaching result. |
Hi,
I used the convert_augustus_to_gff3.py with the code
python3 convert_augustus_to_gff3.py -i RH88_augustus_draft.gff -o RH88_augustus_draft_converted.gff3
And I got the following error:
Traceback (most recent call last): File "convert_augustus_to_gff3.py", line 179, in <module> main() File "convert_augustus_to_gff3.py", line 135, in main feat_id = gff.column_9_value(cols[8], 'ID') NameError: name 'gff' is not defined
I tried run the script directly
./convert_augustus_to_gff3.py -i RH88_augustus_draft.gff -o RH88_augustus_draft_converted.gff3
but it didn't work.
My python version is python/3.7.0. How can I fix this?
Thanks!!
Jing
The text was updated successfully, but these errors were encountered: