Skip to content

Commit 0bfa086

Browse files
Jon PalmerJon Palmer
Jon Palmer
authored and
Jon Palmer
committed
updates to v0.2.1
1 parent c347f0c commit 0bfa086

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/funannotate-compare.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ def __init__(self,prog):
449449
df2.sort_values(by='enrichment', inplace=True)
450450
if len(df2) > 0:
451451
df2.to_csv(base+'.fdr_enriched.csv', index=False)
452-
df2['id'] = '<a href="http://amigo.geneontology.org/amigo/search/ontology?q='+ df2['id'].astype(str)+'">'+df2['id']+'</a>'
452+
#apparently goatools also changed the headers....arrggh...
453+
df2['GO'] = '<a href="http://amigo.geneontology.org/amigo/search/ontology?q='+ df2['GO'].astype(str)+'">'+df2['GO']+'</a>'
453454
output.write(df2.to_html(escape=False, index=False, classes='table table-hover'))
454455
else:
455456
output.write('<table border="1" class="dataframe table table-hover">\n<th>No enrichment found</th></table>')

funannotate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def fmtcols(mylist, cols):
3131
for i in range(0,num_lines))
3232
return "\n".join(lines)
3333

34-
version = '0.2.0'
34+
version = '0.2.1'
3535

3636
default_help = """
3737
Usage: funannotate <command> <arguments>

0 commit comments

Comments
 (0)