Question: Tophat-Fusion-Post: Keyerror: 'Score'
0
gravatar for Angel
6.7 years ago by
Angel210
United States
Angel210 wrote:

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 "x86_64/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

tophat fusion • 1.8k views
ADD COMMENTlink modified 6.4 years ago by Biostar ♦♦ 20 • written 6.7 years ago by Angel210
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1107 users visited in the last hour