-
Notifications
You must be signed in to change notification settings - Fork 28
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 while reading GFF file #52
Comments
It seems that there is some issue in the formatting of the GFF file. Could you please compare your input GFF with the example GFF. Also, ensure that the transcripts have 'mrna' and 'cds' elements. |
Hello again, Thank you for your response, however y still have the same issue. I checked the example GFF file and I think it is very similar so I am not sure which could be the issue. I leave here some lines of m GFF file: chr1 Liftoff exon 15251069 15251169 . - . ID=exon-XR_006747185.1-1;Parent=rna-XR_006747185.1;Dbxref=GeneID:123678035,Genbank:XR_006747185.1;experiment=COORDINATES: polyA evidence [ECO:0006239];gbkey=misc_RNA;gene=LOC123678035;product=protein disulfide-isomerase-like%2C transcript variant X2;transcript_id=XR_006747185.1;extra_copy_number=0 Thank you in advance. |
Difficult to say what are the issues with the GFF. I assume you have ensured that genes have mrna and cds elements. Also, remove any empty lines from the GFF. |
Hello! I faced the same issue too.
There is no empty line in the gff. |
I also got the same error message @asan-emirsaleh but I was able to resolve it. In my case, the features I was trying to load were @mnshgl0110 is it possible to allow more featuretypes in future releases? |
@asan-emirsaleh Is your issue resolved? @novigit Yes, theoretically that is possible. The tricky part is to find time to do that. Nevertheless, it would be great if you could list which feature types would be useful. |
I'd say with |
#50 (comment)
Thank you very much/ Actually there were an empty line (sorry for the inconveniences).
However, now I get a new error:
track - WARNING - Reading GFF file Dtol_annotation_genes_polished.gff. Overlapping transcripts would be plotted as such without any filtering.
Traceback (most recent call last):
File "/home/bogaerts/miniconda3/bin/plotsr", line 4, in
import('pkg_resources').run_script('plotsr==0.5.3', 'plotsr')
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 662, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1466, in run_script
exec(script_code, namespace, namespace)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/EGG-INFO/scripts/plotsr", line 6, in
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/main.py", line 55, in main
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/plotsr.py", line 257, in plotsr
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 729, in readtrack
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 699, in readdata
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 688, in _readgff
AttributeError: 'NoneType' object has no attribute 'keys'
Thank you in advance.
@m-bogaerts
The text was updated successfully, but these errors were encountered: