Mercurial > repos > galaxyp > eggnog_mapper
annotate 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 |
rev | line source |
---|---|
8
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
1 #!/bin/bash |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
2 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
3 # Script adapted from https://github.com/galaxyproteomics/egglet to produce a minimal eggnog 5.0.2 database |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
4 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
5 sqlite3 $1 << "EOF" |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
6 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
7 CREATE TEMP TABLE og |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
8 AS SELECT * FROM og |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
9 WHERE description = 'Cytidylyltransferase' |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
10 AND level LIKE "651137" |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
11 LIMIT 1; |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
12 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
13 CREATE TEMP TABLE event |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
14 AS SELECT * FROM event |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
15 WHERE level=651137 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
16 AND og='41T2K' |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
17 LIMIT 20; |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
18 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
19 CREATE TEMP TABLE prots |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
20 AS SELECT * FROM prots |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
21 WHERE name = "436308.Nmar_0135"; |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
22 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
23 CREATE TEMP TABLE version |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
24 AS SELECT * FROM version; |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
25 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
26 |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
27 .backup temp eggnog_tiny.db |
96cac424c870
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit e45c15081260025e470d23975ef5a734d3f8fc66"
galaxyp
parents:
diff
changeset
|
28 EOF |