annotate tests.sh @ 6:6dcecbe81d78 draft

Uploaded
author petr-novak
date Wed, 03 Jul 2019 07:32:07 -0400
parents 77d9f2ecb28a
children ed4d9ede9cb4
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 )"
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
4 export test_data="$DIR/test_data"
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
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
13 $DIR/dante.py -q $test_data/GEPY_test_long_1 -pdb $pdb -cs $classification_tbl \
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
14 --domain_gff $PWD/tmp/single_fasta.gff3
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
15 ## multifasta
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
16 $DIR/dante.py -q $test_data/vyber-Ty1_01.fasta -pdb $pdb -cs $classification_tbl \
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
17 --domain_gff $PWD/tmp/multifasta.gff3
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
18 ## multifasta_win
77d9f2ecb28a Uploaded
petr-novak
parents:
diff changeset
19 $DIR/dante.py -q $test_data/vyber-Ty1_01.fasta -pdb $pdb -cs $classification_tbl \
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