Mercurial > repos > peterjc > seq_select_by_id
diff tools/filters/seq_select_by_id.py @ 2:28d52478ace9 draft
Uploaded v0.0.4 which adds a unit test.
author | peterjc |
---|---|
date | Mon, 15 Apr 2013 12:28:51 -0400 |
parents | 50a8a6917a9c |
children | 19e26966ed3e |
line wrap: on
line diff
--- a/tools/filters/seq_select_by_id.py Fri May 18 12:25:12 2012 -0400 +++ b/tools/filters/seq_select_by_id.py Mon Apr 15 12:28:51 2013 -0400 @@ -16,11 +16,11 @@ molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878. -This script is copyright 2011-2012 by Peter Cock, The James Hutton Institute UK. +This script is copyright 2011-2013 by Peter Cock, The James Hutton Institute UK. All rights reserved. See accompanying text file for licence details (MIT/BSD style). -This is version 0.0.3 of the script. +This is version 0.0.4 of the script. """ import sys @@ -28,6 +28,10 @@ sys.stderr.write(msg.rstrip() + "\n") sys.exit(err) +if "-v" in sys.argv or "--version" in sys.argv: + print "v0.0.4" + sys.exit(0) + #Parse Command Line try: tabular_file, col_arg, in_file, seq_format, out_file = sys.argv[1:]