Mercurial > repos > earlhaminst > miranda
view miranda_parser.py @ 3:ed25cd2323a7 draft default tip
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/main/tools/miranda commit 457bb20f9c1c007b42d79b08527f5c558529ab8a-dirty
author | earlhaminst |
---|---|
date | Mon, 24 Feb 2025 17:08:56 +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)