view admin_scripts/build_species.py @ 35:d1b53628e956 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 0ce31532e2d232c87298f3aa73d02fc201fa108d
author galaxyp
date Tue, 23 Jan 2018 08:47:43 -0500
parents a9e90cdcb97a
children b72821cab1d7
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