diff test-data/sort.py @ 0:de21b6357ac1 draft

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sequence_format_converter commit 07c73df696d6d80e03f03232603d713882131625"
author artbio
date Mon, 11 May 2020 23:36:24 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/sort.py	Mon May 11 23:36:24 2020 +0000
@@ -0,0 +1,8 @@
+import sys
+
+F = open(sys.argv[1], 'r')
+lines = F.readlines()
+lines = [line[:-1] for line in lines]
+for line in sorted(lines):
+    print(line)
+F.close()