comparison tools/fastq/fastq_paired_unpaired.py @ 2:95a632a71951 draft

Uploaded v0.0.6, adds unit test
author peterjc
date Tue, 30 Apr 2013 14:08:37 -0400
parents 7ed81e36fc1c
children 528ba9c896e0
comparison
equal deleted inserted replaced
1:7ed81e36fc1c 2:95a632a71951
17 import os 17 import os
18 import sys 18 import sys
19 import re 19 import re
20 from galaxy_utils.sequence.fastq import fastqReader, fastqWriter 20 from galaxy_utils.sequence.fastq import fastqReader, fastqWriter
21 21
22 if "--version" in sys.argv[1:]: 22 if "-v" in sys.argv or "--version" in sys.argv:
23 print "Version 0.0.5" 23 print "Version 0.0.6"
24 sys.exit(0) 24 sys.exit(0)
25 25
26 def stop_err(msg, err=1): 26 def stop_err(msg, err=1):
27 sys.stderr.write(msg.rstrip() + "\n") 27 sys.stderr.write(msg.rstrip() + "\n")
28 sys.exit(err) 28 sys.exit(err)