view admin_scripts/build_species.py @ 58:07ff622ec007 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 0f6ab8b5647a33b2b051d7aa808ef42546436b23"
author galaxyp
date Sat, 10 Apr 2021 15:57:17 +0000
parents bb0130ff73ce
children
line wrap: on
line source

#!/usr/bin/env python

import sys

for line in open(sys.argv[1]):
    line = line.strip()
    if line and not line.startswith('>'):
        name, id = line.split('\t')
        line = '<option value="%s">%s</option>' % (name, name)
    print(line)