annotate tests.sh @ 11:1d5883a9ec3a draft

Deleted selected files
author petr-novak
date Wed, 14 Aug 2019 11:24:42 -0400
parents ed4d9ede9cb4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
1 #!/bin/bash
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
2
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
3 export DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
9
ed4d9ede9cb4 Uploaded
petr-novak
parents: 0
diff changeset
4 export TEXT_DATA="$DIR/test-data"
0
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
5 export classification_tbl=${DIR}/tool-data/protein_domains/Viridiplantae_v3.0_class
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
6 export pdb=${DIR}/tool-data/protein_domains/Viridiplantae_v3.0_pdb
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
7
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
8 # make sure dir for testing exists
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
9 mkdir -p $DIR/tmp
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
10
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
11 ######## DANTE
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
12 ## single_seq, for/rev strand of mapping
9
ed4d9ede9cb4 Uploaded
petr-novak
parents: 0
diff changeset
13 $DIR/dante.py -q ${TEXT_DATA}/GEPY_test_long_1 -pdb $pdb -cs $classification_tbl \
0
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
14 --domain_gff $PWD/tmp/single_fasta.gff3
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
15 ## multifasta
9
ed4d9ede9cb4 Uploaded
petr-novak
parents: 0
diff changeset
16 $DIR/dante.py -q ${TEXT_DATA}/vyber-Ty1_01.fasta -pdb $pdb -cs $classification_tbl \
0
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
17 --domain_gff $PWD/tmp/multifasta.gff3
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
18 ## multifasta_win
9
ed4d9ede9cb4 Uploaded
petr-novak
parents: 0
diff changeset
19 $DIR/dante.py -q ${TEXT_DATA}/vyber-Ty1_01.fasta -pdb $pdb -cs $classification_tbl \
0
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
20 -wd 3100 -od 1500 --domain_gff $PWD/tmp/multifasta_win.gff3
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
21
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
22 # test filtering
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
23 $DIR/dante_gff_output_filtering.py --dom_gff $PWD/tmp/single_fasta.gff3 \
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
24 --domains_filtered $PWD/tmp/single_fasta_filtered.gff3 \
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
25