Go Back   SEQanswers > Applications Forums > RNA Sequencing
Similar Threads
Thread Thread Starter Forum Replies Last Post
Tophat-fusion-post error AsoBioInfo Bioinformatics 4 12-23-2014 01:19 AM
Tophat-fusion-post outputting no fusions spidermonkey Bioinformatics 3 08-08-2013 02:28 AM
Tophat-fusion-post error dadada4ever Bioinformatics 9 08-05-2013 06:40 PM
Tophat2 with fusion search and tophat-fusion-post problems seqfast Bioinformatics 9 07-30-2013 06:16 PM
tophat-fusion-post:known fusions? mrfox Bioinformatics 0 01-19-2012 08:04 AM

Thread Tools
Old 04-02-2013, 06:32 AM   #1
Location: US

Join Date: Oct 2011
Posts: 47
Default tophat-fusion-post: KeyError: 'score'

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>
File "/tophat/v2.0.8/tophat-fusion-post", line 2607, in main
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


Last edited by angerusso; 04-02-2013 at 08:43 AM.
angerusso is offline   Reply With Quote
Old 04-24-2013, 09:37 PM   #2
Location: Phoenix

Join Date: Apr 2009
Posts: 11

same problem here. Any fixes, anyone?
tgenahmet is offline   Reply With Quote
Old 05-07-2013, 05:36 AM   #3
Location: usa

Join Date: Sep 2012
Posts: 22
Default KeyError:score

Yeah, I also have the same problem. Emailed the cufflinks/tophat people so far to no avail. I tried on tophat/2.0.8b as well...note that suspending the html creation via --skip-html doesn't produce results.txt either, which kind of makes it useless although it avoids the error.
tankman is offline   Reply With Quote
Old 06-22-2013, 10:26 AM   #4
Location: Canada

Join Date: May 2013
Posts: 25
Default KeyError: 'score'

same error here, anyone figured out the problem? It was running fine a week ago? so nothing to do with the way I compiled these files.
nbahlis is offline   Reply With Quote
Old 06-24-2013, 12:11 AM   #5
Senior Member
Location: Hong Kong

Join Date: Mar 2010
Posts: 498

same here with 2.0.8b

Tried Emilie's hack but also fail for 2.0.8b

I will give v2.0.3 a try later
ymc is offline   Reply With Quote
Old 06-24-2013, 09:48 AM   #6
Senior Member
Location: Hong Kong

Join Date: Mar 2010
Posts: 498

Oh well. I tried v2.0.3 without Emilie hack and it completed.

I suppose you just have to try different versions of tophat until it works....
ymc is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 08:25 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO