diff test-data/eggnogg_tiny_taxa.sh @ 8:96cac424c870 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
author galaxyp
date Tue, 25 Jan 2022 13:51:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/eggnogg_tiny_taxa.sh	Tue Jan 25 13:51:50 2022 +0000
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+# Script adapted from https://github.com/galaxyproteomics/egglet to produce a minimal eggnog 5.0.2 database
+
+sqlite3 $1 << "EOF"
+
+CREATE TEMP TABLE species
+AS SELECT * FROM species
+WHERE taxid in (1131266, 436308);
+
+CREATE TEMP TABLE synonym
+AS SELECT * FROM synonym
+WHERE taxid in (1131266, 436308);
+
+CREATE TEMP TABLE merged
+AS SELECT * FROM merged
+WHERE taxid_old in (1131266, 436308);
+
+CREATE TEMP TABLE stats
+AS SELECT * FROM stats;
+
+.backup temp eggnog_tiny_taxa.db
+EOF