From 410e18aa0ba0e56a77029e86a8b1899a71df44ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Flor=C3=A9al=20Cabanettes?= <floreal.cabanettes@inra.fr>
Date: Mon, 3 Apr 2017 15:07:14 +0200
Subject: [PATCH] Fix build_jflow_command_line script

---
 build_jflow_command_line.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_jflow_command_line.py b/build_jflow_command_line.py
index 24e4f16..9110e23 100755
--- a/build_jflow_command_line.py
+++ b/build_jflow_command_line.py
@@ -37,8 +37,8 @@ cmd += "--reference-genome " + reference
 
 if args.prepare:
     for i in range(1, int(nb_inds)+1):
-        cmd += " --sample name=\"INDIV_{0}\" reads-1=\"" + args.res_dir + "/INDIV_{0}_100_180_1.fq.gz\" reads-2=\"" + \
-               args.res_dir + "/INDIV_{0}_100_180_2.fq.gz\"".format(i)
+        cmd += str(" --sample name=\"INDIV_{0}\" reads-1=\"" + args.res_dir + "/INDIV_{0}_100_180_1.fq.gz\" reads-2=\"" + \
+               args.res_dir + "/INDIV_{0}_100_180_2.fq.gz\"").format(i)
 else:
     for i in range(1, int(nb_inds)+1):
         cmd += " --sample name=\"INDIV_{0}\" alignments=\"{1}/INDIV_{0}-sorted-md.bam\"".format(i, bams_dir)
-- 
GitLab