Repository 'sam_to_fastq'
hg clone https://toolshed.g2.bx.psu.edu/repos/drosofff/sam_to_fastq

Changeset 1:8acb72264319 (2016-03-21)
Previous changeset 0:55107d4a728c (2016-03-21)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sam_to_fastq commit 55671fc041c29c7985cbb44e6b49a10e1889f907
modified:
sam_to_fastq.py
b
diff -r 55107d4a728c -r 8acb72264319 sam_to_fastq.py
--- a/sam_to_fastq.py Mon Mar 21 17:33:26 2016 -0400
+++ b/sam_to_fastq.py Mon Mar 21 18:03:40 2016 -0400
[
@@ -15,7 +15,7 @@
         
 def print_fastq_sequence(samline, file):
   samfields = samline[:-1].split("\t")
-  file.write ( '@%s\n%s\n+\n%s' % (samfields[0], samfields[9], samfields[10]) )
+  file.write ( '@%s\n%s\n+\n%s\n' % (samfields[0], samfields[9], samfields[10]) )
 
 def main(input, output):
     infile = open (input, "r")