File: test2

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 (30 lines) | stat: -rwxr-xr-x 872 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
29
30
#!/bin/sh
#
# Description:
#   Tests calling Dotter on a long sequence versus itself. Transcripts are supplied via a features
#   file.
#
# Results:
#   Dotter's graphical display should start up, showing a dot-plot where strong matching regions
#   between the two sequences are shown as diagonal lines: since the two sequences match exactly, 
#   there will be a diagonal line from the top-left to the bottom-right corner. Any other matching
#   regions (i.e. internal repeats) will also display as diagonal lines.
#
#   Transcripts from the features file should be shown along both axes.
#

RC=0

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

dotter -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