diff --git a/bin/parse_samtools_stats_summary.py b/bin/parse_samtools_stats_summary.py index 08a6c2f..5fd376d 100755 --- a/bin/parse_samtools_stats_summary.py +++ b/bin/parse_samtools_stats_summary.py @@ -120,7 +120,7 @@ def main(args): if args.sample_id: output_fields = ['sample_id'] + output_fields - writer = csv.DictWriter(sys.stdout, fieldnames=output_fields, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL, extrasaction='ignore') + writer = csv.DictWriter(sys.stdout, fieldnames=output_fields, dialect='unix', quoting=csv.QUOTE_MINIMAL, extrasaction='ignore') writer.writeheader() writer.writerow(samtools_stats_summary_data)