view test-data/eggnogg_tiny.sh @ 14:d9c3016f7283 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit 192779247c3385704ebd98a2cc47a210fb1f4d0c
author galaxyp
date Thu, 07 Sep 2023 18:51:23 +0000
parents 96cac424c870
children
line wrap: on
line source

#!/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