From 22379bccc07de7ee94cf902801a064ba889ae827 Mon Sep 17 00:00:00 2001
From: Kenzo-Hugo Hillion <kenzo-hugo.hillion1@pasteur.fr>
Date: Mon, 16 Mar 2020 16:12:18 +0100
Subject: [PATCH] fix diamond rule

---
 tools/eggnogmapper2/diamond/Snakefile                 | 2 +-
 tools/eggnogmapper2/diamond/example_usage/config.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/eggnogmapper2/diamond/Snakefile b/tools/eggnogmapper2/diamond/Snakefile
index a387a6d..738f092 100644
--- a/tools/eggnogmapper2/diamond/Snakefile
+++ b/tools/eggnogmapper2/diamond/Snakefile
@@ -11,7 +11,7 @@ rule eggnogmapper2_diamond:
     output:
         __eggnogmapper2_diamond_output
     params:
-        exec_command = __eggnogmapper2_exec_command + ' -m diamond',
+        exec_command = __eggnogmapper2_exec_command + ' -m diamond --no_annot',
         output_prefix = __eggnogmapper2_diamond_output_prefix,
         options = __eggnogmapper2_diamond_options
     threads:
diff --git a/tools/eggnogmapper2/diamond/example_usage/config.yaml b/tools/eggnogmapper2/diamond/example_usage/config.yaml
index 9e00779..5fe001f 100644
--- a/tools/eggnogmapper2/diamond/example_usage/config.yaml
+++ b/tools/eggnogmapper2/diamond/example_usage/config.yaml
@@ -12,4 +12,4 @@ samples:
 eggnogmapper2:
     exec_command: "/pasteur/homes/kehillio/venv/eggnog-mapper-v2/bin/python /pasteur/homes/kehillio/tools/eggnog-mapper/emapper.py"
     diamond:
-        options: "--no_annot --no_file_comments"
+        options: "--no_file_comments"
-- 
GitLab