Mercurial > repos > artbio > sequence_format_converter
view test-data/sort.py @ 4:1c14d2869d4d draft default tip
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sequence_format_converter commit 9c5f0b8e89dfe4347c610f42923f0acad2ecc81b"
author | artbio |
---|---|
date | Wed, 17 Mar 2021 22:09:13 +0000 |
parents | a8aacccd79a3 |
children |
line wrap: on
line source
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()