# HG changeset patch # User iuc # Date 1449600373 18000 # Node ID fb0936cf5befc1190a5b7f4b7610f6f41071978a # Parent 3658e4d701fce2df182d432a77df2a443958e8c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/reprof commit db55deda35d1623ff48fbea7b3d0690a2cd9cd9f-dirty diff -r 3658e4d701fc -r fb0936cf5bef reprof.py --- a/reprof.py Thu Dec 03 15:04:39 2015 -0500 +++ b/reprof.py Tue Dec 08 13:46:13 2015 -0500 @@ -89,7 +89,8 @@ classification = 'mixed' with open(path, 'a') as handle: - handle.write("{0}\t{1}\n".format(id, classification)) + handle.write('# id\t% alpha\t% beta\tclass\n') + handle.write('{0}\t{1:.2f}\t{2:.2f}\t{3}'.format(id, h, e, classification)) def main(fasta, modeldir): for record in SeqIO.parse(fasta, 'fasta'): diff -r 3658e4d701fc -r fb0936cf5bef test-data/report.tsv --- a/test-data/report.tsv Thu Dec 03 15:04:39 2015 -0500 +++ b/test-data/report.tsv Tue Dec 08 13:46:13 2015 -0500 @@ -1,2 +1,4 @@ -test all-alpha -test2 all-alpha +# id % alpha % beta class +test .87 .12 all-alpha +# id % alpha % beta class +test2 .87 .12 all-alpha diff -r 3658e4d701fc -r fb0936cf5bef tool_dependencies.xml --- a/tool_dependencies.xml Thu Dec 03 15:04:39 2015 -0500 +++ b/tool_dependencies.xml Tue Dec 08 13:46:13 2015 -0500 @@ -1,16 +1,16 @@ - + - + - + - +