File: setup1.test.in

package info (click to toggle)
gmap 2017-01-14-1
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 32,596 kB
  • ctags: 10,947
  • sloc: ansic: 489,036; perl: 5,420; sh: 4,248; makefile: 799
file content (38 lines) | stat: -rw-r--r-- 1,223 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
#! @SHELL@

if test -z "$srcdir"; then
  srcdir=.
fi
. ${srcdir}/defs

cp ${top_builddir}/util/fa_coords.pl ${top_builddir}/src/fa_coords
chmod +x ${top_builddir}/src/fa_coords
cp ${top_builddir}/util/gmap_process.pl ${top_builddir}/src/gmap_process
chmod +x ${top_builddir}/src/gmap_process	
${top_builddir}/util/gmap_build -k 12 -B ${top_builddir}/src -D . -d chr17test ${srcdir}/ss.chr17test
#${top_builddir}/util/gmap_setup -k 12 -B ${top_builddir}/src -D . -d chr17test ${srcdir}/ss.chr17test
#make -f Makefile.chr17test coords
#make -f Makefile.chr17test gmapdb
#make -f Makefile.chr17test install

if diff ./chr17test/chr17test.genomecomp ${srcdir}/setup.genomecomp.ok; then
    :
else
    echo "Difference found between chr17test.genomecomp and setup.genomecomp.ok" >& 2
    exit 1
fi
if diff ./chr17test/chr17test.ref123positions ${srcdir}/setup.ref123positions.ok; then
    :
else
    echo "Difference found between chr17test.ref123positions and setup.ref123positions.ok" >& 2
    exit 1
fi

${top_builddir}/src/gmap -D . -d chr17test ${srcdir}/ss.her2 > map.test.out
if diff map.test.out ${srcdir}/map.test.ok; then
    :
else
    echo "Difference found between map.test.out and map.test.ok" >& 2
    exit 1
fi