From 805047729442c8ff0392c64c986da6be2e36100f Mon Sep 17 00:00:00 2001
From: Cedric Midoux <cedric.midoux@inra.fr>
Date: Tue, 12 Nov 2019 09:11:23 +0100
Subject: [PATCH] swissprot

---
 annotation.smk | 2 ++
 global.smk     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/annotation.smk b/annotation.smk
index 44290d9..8c72abb 100644
--- a/annotation.smk
+++ b/annotation.smk
@@ -63,6 +63,8 @@ def gff_input(wildcards):
 def db_input(wildcards):
 	if wildcards.db == "nr":
 		return {"db": "/db/outils/diamond-0.9.24/nr_tax.dmnd"}
+	elif wildcards.db == "swissprot":
+		return {"db": "/db/outils/diamond-0.9.26/uniprot_swissprot.dmnd"}
 	elif wildcards.db == "phrogs":
 		return {"db": "/projet/maiage/save/cmidoux/PhROGs/phrogs.dmnd"}
 
diff --git a/global.smk b/global.smk
index f9dc334..d76dd76 100644
--- a/global.smk
+++ b/global.smk
@@ -13,6 +13,7 @@ rule all:
 		expand("report/count-contigs-coassembly-{sample}.tsv", sample=config["SAMPLES"]),
 		expand("report/count-genes-coassembly-{sample}.tsv", sample=config["SAMPLES"]),
 		"report/diamond_nr_coassembly.tsv",
+		"report/diamond_swissprot_coassembly.tsv",
 		"report/contigs_coassembly-taxNames.tsv",
 		"report/genes_coassembly-taxNames.tsv",
 		#catalogue
-- 
GitLab