From 713b557584a083341cb6880703be973f3882f5c6 Mon Sep 17 00:00:00 2001
From: Mia Croiset <mia.croiset@ens-lyon.fr>
Date: Fri, 19 Jan 2024 09:48:12 +0100
Subject: [PATCH] test sort cutsite

---
 bin/hicstuff_io.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/hicstuff_io.py b/bin/hicstuff_io.py
index c8c4dde..2aac719 100644
--- a/bin/hicstuff_io.py
+++ b/bin/hicstuff_io.py
@@ -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()
 
-- 
GitLab