Python 名为 Phaster 的脚本出错
Error with a Python script neamed Phaster
我通过将 Github 目录克隆到我的 HOME 文件夹来安装 PHASTER。但是,在输入命令后
phaster.py --contigs --fasta path/to/genome.fasta
我收到此错误,内容为
2019-07-11 14:32:02,389 INFO: Submission of TH19.fna appears
successful
2019-07-11 14:32:02,390 INFO: job_id: ZZ_0f276b0c53
2019-07-11 14:32:02,390 INFO: error: The sequence header is not on
the first line. Please check!
Traceback (most recent call last):
File "/home/fox/phaster_scripts/phaster.py", line 162, in
job_id, status, date = submit_job(fasta, options.url, {"contigs": int(options.contigs)})
File "/home/fox/phaster_scripts/phaster.py", line 99, in submit_job
return r_dict["job_id"], r_dict["status"], datetime.datetime.now()
KeyError: 'status'
有人知道如何解决这个问题吗?
这是 Phaster 脚本的一个已知问题 check this
我通过将 Github 目录克隆到我的 HOME 文件夹来安装 PHASTER。但是,在输入命令后
phaster.py --contigs --fasta path/to/genome.fasta
我收到此错误,内容为
2019-07-11 14:32:02,389 INFO: Submission of TH19.fna appears successful
2019-07-11 14:32:02,390 INFO: job_id: ZZ_0f276b0c53
2019-07-11 14:32:02,390 INFO: error: The sequence header is not on the first line. Please check!
Traceback (most recent call last):
File "/home/fox/phaster_scripts/phaster.py", line 162, in
job_id, status, date = submit_job(fasta, options.url, {"contigs": int(options.contigs)})
File "/home/fox/phaster_scripts/phaster.py", line 99, in submit_job return r_dict["job_id"], r_dict["status"], datetime.datetime.now()
KeyError: 'status'
有人知道如何解决这个问题吗?
这是 Phaster 脚本的一个已知问题 check this