projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a1129
)
use autoopen to access fastq files
author
Diane Trout
<diane@ghic.org>
Wed, 2 Apr 2014 01:48:40 +0000
(18:48 -0700)
committer
Diane Trout
<diane@ghic.org>
Tue, 10 Jun 2014 23:13:38 +0000
(16:13 -0700)
htsworkflow/pipelines/fastq.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/fastq.py
b/htsworkflow/pipelines/fastq.py
index cf77005f3c391fdd47a8f967520425ed4c88ab63..47b2f8300d553d6ba944c1309ec5c233ad1f4951 100644
(file)
--- a/
htsworkflow/pipelines/fastq.py
+++ b/
htsworkflow/pipelines/fastq.py
@@
-40,5
+40,6
@@
def summarize_hiseq_fastq(stream):
if __name__ == '__main__':
import sys
- with open(sys.argv[1], 'r') as instream:
+ from autoopen import autoopen
+ with autoopen(sys.argv[1], 'r') as instream:
print summarize_hiseq_fastq(instream)