Mercurial > repos > iuc > reprof
diff reprof.py @ 7:fb0936cf5bef draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/reprof commit db55deda35d1623ff48fbea7b3d0690a2cd9cd9f-dirty
| author | iuc |
|---|---|
| date | Tue, 08 Dec 2015 13:46:13 -0500 |
| parents | 141da185be70 |
| children |
line wrap: on
line diff
--- 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'):
