comparison admin_scripts/build_species.py @ 20:2cafc729b2ae draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 0e976aeeed9d516e0ad4735dc847b1f2eba3532b
author iracooke
date Sun, 31 May 2015 09:05:57 -0400
parents
children bb0130ff73ce
comparison
equal deleted inserted replaced
19:7e61179c5952 20:2cafc729b2ae
1 #!/usr/bin/env python
2
3 import sys
4
5 for line in open( sys.argv[1] ):
6 line = line.strip()
7 if line and not line.startswith('>'):
8 name, id = line.split('\t')
9 line = '<option value="%s">%s</option>' % (name, name)
10 print line