Mercurial > repos > peterjc > fastq_paired_unpaired
comparison tools/fastq/fastq_paired_unpaired.py @ 5:9b5cd13eb78b draft
Uploaded v0.0.8, MIT licence and reST for README
| author | peterjc |
|---|---|
| date | Mon, 29 Jul 2013 09:26:20 -0400 |
| parents | 81ac324efa49 |
| children |
comparison
equal
deleted
inserted
replaced
| 4:fe469503441b | 5:9b5cd13eb78b |
|---|---|
| 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) |
