When I run Genome Annotation Statistics, I’m getting a weird error, similar to what a user posted last Sep. Only the middle chunk of the stats isn’t showing up in the results, and instead I get this error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/jcvi/annotation/stats.py", line 355, in <module>
main()
File "/usr/local/lib/python2.7/site-packages/jcvi/annotation/stats.py", line 56, in main
p.dispatch(globals())
File "/usr/local/lib/python2.7/site-packages/jcvi/apps/base.py", line 96, in dispatch
globals[action](sys.argv[2:])
File "/usr/local/lib/python2.7/site-packages/jcvi/annotation/stats.py", line 93, in summary
fseq = s.sequence({'chr': f.chrom, 'start': f.start, 'stop': f.stop})
File "/usr/local/lib/python2.7/site-packages/jcvi/formats/fasta.py", line 156, in sequence
(f, self.filename)
AssertionError: feature: {'start': 45, 'chr': '616', 'stop': 1319} not in `/data/dnb12/galaxy_db/files/8/e/9/dataset_8e987715-334c-4e9f-b1f8-d36862895ebc.dat`
I’ve run Genome Annotation Statistics (jcvi) with the same gff3 before and it worked fine, but now I’ve replaced the assembly fasta with the cleaned fasta output of NCBI FCS GX. I don’t understand why this is a problem.