Hello, I am tophat-fusion-post. My job ran fine until the very end where I get the error ("Score") as below.
I get 6898 fusions in potential_fusion.txt with the command:
> tophat-fusion-post -p $np --num-fusion-reads 1 --num-fusion-pairs 1 --num-fusion-both 2 $index
can anyone help me resolve this error?
[Mon Apr 1 23:34:39 2013] Reporting final fusion candidates in html format
Traceback (most recent call last):
File "/tophat/v2.0.8/tophat-fusion-post", line 2627, in <module>
sys.exit(main())
File "/tophat/v2.0.8/tophat-fusion-post", line 2607, in main
generate_html(params)
File /tophat/v2.0.8/tophat-fusion-post", line 2506, in generate_html
cluster_fusion(fusion_list, fusion_gene_list, cluster_list)
File "/tophat/v2.0.8/tophat-fusion-post", line 1875, in cluster_fusion
cluster_temp_list = sorted(cluster_temp_list2, cmp=cmp)
File "/tophat/v2.0.8/tophat-fusion-post", line 1870, in cmp
a_score = pair_count(a_indices)
File "/tophat/v2.0.8/tophat-fusion-post", line 1836, in pair_count
score = fusion_list[index]["score"]
KeyError: 'score'
Tue Apr 2 01:13:57 EDT 2013
Thanks,
Angel
I get 6898 fusions in potential_fusion.txt with the command:
> tophat-fusion-post -p $np --num-fusion-reads 1 --num-fusion-pairs 1 --num-fusion-both 2 $index
can anyone help me resolve this error?
[Mon Apr 1 23:34:39 2013] Reporting final fusion candidates in html format
Traceback (most recent call last):
File "/tophat/v2.0.8/tophat-fusion-post", line 2627, in <module>
sys.exit(main())
File "/tophat/v2.0.8/tophat-fusion-post", line 2607, in main
generate_html(params)
File /tophat/v2.0.8/tophat-fusion-post", line 2506, in generate_html
cluster_fusion(fusion_list, fusion_gene_list, cluster_list)
File "/tophat/v2.0.8/tophat-fusion-post", line 1875, in cluster_fusion
cluster_temp_list = sorted(cluster_temp_list2, cmp=cmp)
File "/tophat/v2.0.8/tophat-fusion-post", line 1870, in cmp
a_score = pair_count(a_indices)
File "/tophat/v2.0.8/tophat-fusion-post", line 1836, in pair_count
score = fusion_list[index]["score"]
KeyError: 'score'
Tue Apr 2 01:13:57 EDT 2013
Thanks,
Angel
Comment