Skip to content

Commit

Permalink
updates to v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Palmer authored and Jon Palmer committed Apr 28, 2016
1 parent c347f0c commit 0bfa086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/funannotate-compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ def __init__(self,prog):
df2.sort_values(by='enrichment', inplace=True)
if len(df2) > 0:
df2.to_csv(base+'.fdr_enriched.csv', index=False)
df2['id'] = '<a href="http://amigo.geneontology.org/amigo/search/ontology?q='+ df2['id'].astype(str)+'">'+df2['id']+'</a>'
#apparently goatools also changed the headers....arrggh...
df2['GO'] = '<a href="http://amigo.geneontology.org/amigo/search/ontology?q='+ df2['GO'].astype(str)+'">'+df2['GO']+'</a>'
output.write(df2.to_html(escape=False, index=False, classes='table table-hover'))
else:
output.write('<table border="1" class="dataframe table table-hover">\n<th>No enrichment found</th></table>')
Expand Down
2 changes: 1 addition & 1 deletion funannotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def fmtcols(mylist, cols):
for i in range(0,num_lines))
return "\n".join(lines)

version = '0.2.0'
version = '0.2.1'

default_help = """
Usage: funannotate <command> <arguments>
Expand Down

0 comments on commit 0bfa086

Please sign in to comment.