comparison test-data/sort.py @ 0:a8aacccd79a3 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sequence_format_converter commit d6ef80f9db43eae4f58b33f58b5ef6f8209907db
author artbio
date Mon, 04 Sep 2017 07:13:28 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a8aacccd79a3
1 import sys
2
3 F = open(sys.argv[1], 'r')
4 lines = F.readlines()
5 lines = [line[:-1] for line in lines]
6 for line in sorted(lines):
7 print(line)
8 F.close()