comparison tools/fastq/fastq_paired_unpaired.py @ 3:528ba9c896e0 draft

Uploaded v0.0.8, MIT licence and reST for README, citation information, development moved to GitHub
author peterjc
date Wed, 18 Sep 2013 06:13:27 -0400
parents 95a632a71951
children
comparison
equal deleted inserted replaced
2:95a632a71951 3:528ba9c896e0
7 suffices. See below or run the tool with no arguments for more details. 7 suffices. See below or run the tool with no arguments for more details.
8 8
9 Note that the FASTQ variant is unimportant (Sanger, Solexa, Illumina, or even 9 Note that the FASTQ variant is unimportant (Sanger, Solexa, Illumina, or even
10 Color Space should all work equally well). 10 Color Space should all work equally well).
11 11
12 This script is copyright 2010-2011 by Peter Cock, The James Hutton Institute 12 This script is copyright 2010-2013 by Peter Cock, The James Hutton Institute
13 (formerly SCRI), Scotland, UK. All rights reserved. 13 (formerly SCRI), Scotland, UK. All rights reserved.
14 14
15 See accompanying text file for licence details (MIT/BSD style). 15 See accompanying text file for licence details (MIT license).
16 """ 16 """
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 "-v" in sys.argv or "--version" in sys.argv: 22 if "-v" in sys.argv or "--version" in sys.argv:
23 print "Version 0.0.6" 23 print "Version 0.0.8"
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)