Mercurial > repos > galaxyp > eggnog_mapper
diff test-data/eggnogg_tiny.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.sh Tue Jan 25 13:51:50 2022 +0000 @@ -0,0 +1,28 @@ +#!/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 og +AS SELECT * FROM og +WHERE description = 'Cytidylyltransferase' +AND level LIKE "651137" +LIMIT 1; + +CREATE TEMP TABLE event +AS SELECT * FROM event +WHERE level=651137 +AND og='41T2K' +LIMIT 20; + +CREATE TEMP TABLE prots +AS SELECT * FROM prots +WHERE name = "436308.Nmar_0135"; + +CREATE TEMP TABLE version +AS SELECT * FROM version; + + +.backup temp eggnog_tiny.db +EOF