本帖最后由 gooderpan 于 2017-01-19 17:10 编辑
附件是程序和测试文件,我使用的命令是:python vcf2maf.py -v --maf BJ.maf BJ.test.vcf
但是最后报错了,显示内容为: Traceback (most recent call last): File "vcf2maf/vcf2maf.py", line 556, in <module> main() File "vcf2maf/vcf2maf.py", line 543, in main n += vcf2maf(vcf_file, maf_file, decrement_end_coordinate=args.decrement_end_coordinate, verbose=args.verbose) File "vcf2maf/vcf2maf.py", line 188, in vcf2maf ncbi_build = vcf_reader.metadata['reference']['ID'].split(' ')[0] TypeError: string indices must be integers, not str
请问大神,这个程序是哪里错了呀??我应该怎么改呀??(运行此python需要提前安装依赖包:PyVCF)
|