diff --git a/qp_woltka/tests/test_woltka.py b/qp_woltka/tests/test_woltka.py index ff7ab6e..7b1acc0 100644 --- a/qp_woltka/tests/test_woltka.py +++ b/qp_woltka/tests/test_woltka.py @@ -184,8 +184,8 @@ def test_woltka_to_array_rep82(self): 'none --glob "*.woltka-taxa/none.biom" --rename &\n', 'wait\n', '\n', - f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz\n', - f'cd {out_dir}; tar zxvf coverages.tgz coverages\n' + f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz; ' + 'tar zxvf coverages.tgz coverages\n', 'fi\n', f'finish_woltka {url} {job_id} {out_dir}\n', 'date\n'] @@ -313,8 +313,8 @@ def test_woltka_to_array_wol(self): 'per-gene --glob "*.woltka-per-gene" --rename &\n', 'wait\n', '\n', - f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz\n', - f'cd {out_dir}; tar zxvf coverages.tgz coverages\n' + f'cd {out_dir}; tar -cvf alignment.tar *.sam.xz; ' + 'tar zxvf coverages.tgz coverages\n', 'fi\n', f'finish_woltka {url} {job_id} {out_dir}\n', 'date\n'] diff --git a/qp_woltka/woltka.py b/qp_woltka/woltka.py index 2ea19cb..de7aa97 100644 --- a/qp_woltka/woltka.py +++ b/qp_woltka/woltka.py @@ -140,8 +140,8 @@ def woltka_to_array(files, output, database_bowtie2, prep, url, name): '\n'.join(merges), "wait", '\n'.join(fcmds), - f'cd {output}; tar -cvf alignment.tar *.sam.xz\n' - f'cd {output}; tar zxvf coverages.tgz coverages\n' + f'cd {output}; tar -cvf alignment.tar *.sam.xz; ' + 'tar zxvf coverages.tgz coverages\n', 'fi', f'finish_woltka {url} {name} {output}\n' "date"] # end time