Mercurial > repos > abims-sbr > blastalign
diff scripts/S01_phylip2fasta.py @ 5:0d2da4c020dc draft
planemo upload for repository https://github.com/abims-sbr/adaptsearch commit df6ba874c5e5f0cde12c9253b5c192e4a35f2280
author | abims-sbr |
---|---|
date | Thu, 18 Jan 2018 08:13:26 -0500 |
parents | 49017ea906b5 |
children | e0bea88bb09f |
line wrap: on
line diff
--- a/scripts/S01_phylip2fasta.py Wed Jan 17 11:32:39 2018 -0500 +++ b/scripts/S01_phylip2fasta.py Thu Jan 18 08:13:26 2018 -0500 @@ -13,12 +13,14 @@ """ ## INPUT +""" if os.path.isfile(sys.argv[1]) : f1 = sys.argv[1] else: print "No existing phylip file ; exiting ..." exit() - +""" +f1 = sys.argv[1] F1 = open("%s" %f1, 'r') ## OUTPUT @@ -50,10 +52,7 @@ ################### F1.readline() ## jump the first line - fichier_txt, c = format(F1) ### DEF1 ### - F2.write(fichier_txt) - F1.close() F2.close()