jorvis / biocode

Bioinformatics code libraries and scripts
MIT License
504 stars 247 forks source link

report_gff3_statistics.py unsupported operand type(s) error #9

Open mchibucos opened 10 years ago

mchibucos commented 10 years ago

When using report_gff3_statistics.py, get the following error:

/usr/local/packages/Python-3.3.2/bin/python3 /home/jorvis/git/biocode/gff/report_gff3_statistics.py -i 175.annotation.gff3 The biothings.py is still under testing and development. Please feel free to try using it, though the API is in flux. Traceback (most recent call last): File "/home/jorvis/git/biocode/gff/report_gff3_statistics.py", line 74, in main() File "/home/jorvis/git/biocode/gff/report_gff3_statistics.py", line 41, in main type_lengths['assembly'] += assemblies[assembly_id].length TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

The full path of the gff3 file is: /usr/local/projects/mucormycosis/annotation/175/175.annotation.gff3 in the IGS filesystem.