# HG changeset patch # User drosofff # Date 1458597853 14400 # Node ID de6fd19d1576b2768e232d85419bf2507eb26a80 # Parent c1ab6747fb6679806809e367b41918dbb3c7e33b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sam_to_fastq commit 55671fc041c29c7985cbb44e6b49a10e1889f907 diff -r c1ab6747fb66 -r de6fd19d1576 sam_to_fastq.py --- a/sam_to_fastq.py Mon Mar 21 17:32:37 2016 -0400 +++ b/sam_to_fastq.py Mon Mar 21 18:04:13 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")