From c1554b0c8dc9046b3f05aa063d762a9be9683dd1 Mon Sep 17 00:00:00 2001
From: Kenzo-Hugo Hillion <hillion.kenzo@gmail.com>
Date: Mon, 23 Aug 2021 15:36:05 +0200
Subject: [PATCH] add unlimited memory

---
 tools/cd-hit/Snakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cd-hit/Snakefile b/tools/cd-hit/Snakefile
index e023f86..583a736 100644
--- a/tools/cd-hit/Snakefile
+++ b/tools/cd-hit/Snakefile
@@ -105,5 +105,5 @@ rule cd_hit:
         command = []
         if params.modules:
         	command.append("module load {params.modules}")
-        command.append("{params.exec_command} {params.options} -i {input} -T {threads} -o {output}")
+        command.append("{params.exec_command} {params.options} -i {input} -T {threads} -M 0 -o {output}")
         shell(" && ".join(command))
-- 
GitLab