Skip to content
Snippets Groups Projects
Verified Commit 713b5575 authored by Mia Croiset's avatar Mia Croiset
Browse files

test sort cutsite

parent 42307c8b
Branches
No related tags found
No related merge requests found
......@@ -1217,6 +1217,8 @@ def sort_pairs(in_file, out_file, keys, tmp_dir=None, threads=1, buffer="2G"):
sort_cmd.append("--temporary-directory={0}".format(tmp_dir))
if parallel_ok:
sort_cmd.append("--parallel={0}".format(threads))
print(sort_cmd)
print(grep_proc)
sort_proc = sp.Popen(sort_cmd, stdin=grep_proc.stdout, stdout=output)
sort_proc.communicate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment