Mercurial > repos > earlhaminst > miranda
view miranda_parser.py @ 2:9c8ff1bdd041 draft default tip
"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/miranda commit a9aa47b387ab4d4ee8628956aaea80d7aabca936"
author | earlhaminst |
---|---|
date | Mon, 21 Dec 2020 17:17:34 +0000 |
parents | 05bc31ccc323 |
children |
line wrap: on
line source
import sys # get hits from miranda scans with open(sys.argv[1]) as infile1: with open(sys.argv[2], "w") as outfile: for line1 in infile1: if "%" in line1 and "Forward:" not in line1: outfile.write(line1)