File: test8

package info (click to toggle)
seqtools 4.44.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,492 kB
  • sloc: cpp: 53,636; sh: 12,232; makefile: 386
file content (28 lines) | stat: -rwxr-xr-x 813 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#
# Description:
#   Tests loading a dot-matrix plot from file for a long sequence versus itself.
#
# Results:
#   Dotter's graphical display should start up, showing the dot-plot. It should start
#   almost instantly - much quicker than the same test where the plot is calculated
#   from the input sequences (test2). You should be able to interact with the plot as
#   if it were created from the original sequences, including being able to change
#   the contrast using the greyramp tool.
#

RC=0

test_name=`basename $0`
test_dir=`dirname $0`
data_dir=$test_dir/../../../data

dotter -l $data_dir/chr4_vs_chr4.dot -q 246634 -s 246634 -f $data_dir/chr4_dna_align.gff $data_dir/chr4_ref_seq.fasta $data_dir/chr4_ref_seq.fasta

# If there was an error, set RC
if [ $? -ne 0 ] 
then
  RC=1
fi

exit $RC