File: Makefile

package info (click to toggle)
readseq 1-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 716 kB
  • ctags: 872
  • sloc: ansic: 9,340; makefile: 356; sh: 32
file content (59 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# Makefile for testing readseq
# to use, command me:
#  %  make test
#

test: 
	@echo ""
	@echo "Test for general read/write of all chars:"
	/usr/bin/readseq -p alphabet.std -otest.alpha
	-diff test.alpha alphabet.std

	@echo ""
	@echo "Test for valid format conversions:"
	/usr/bin/readseq -v -p -f=ig   nucleic.std -otest.ig
	/usr/bin/readseq -v -p -f=gb   test.ig     -otest.gb
	/usr/bin/readseq -v -p -f=nbrf test.gb     -otest.nbrf
	/usr/bin/readseq -v -p -f=embl test.nbrf   -otest.embl
	/usr/bin/readseq -v -p -f=gcg  test.embl   -otest.gcg
	/usr/bin/readseq -v -p -f=strider test.gcg -otest.strider
	/usr/bin/readseq -v -p -f=fitch test.strider -otest.fitch
	/usr/bin/readseq -v -p -f=fasta test.fitch -otest.fasta
	/usr/bin/readseq -v -p -f=pir  test.fasta  -otest.pir
	/usr/bin/readseq -v -p -f=ig   test.pir    -otest.ig-b
	-diff test.ig test.ig-b

	@echo ""
	@echo "Test for multiple-sequence format conversions:"
	/usr/bin/readseq -p -f=ig    multi.std   -otest.m-ig
	/usr/bin/readseq -p -f=gb    test.m-ig   -otest.m-gb
	/usr/bin/readseq -p -f=nbrf  test.m-gb   -otest.m-nbrf
	/usr/bin/readseq -p -f=embl  test.m-nbrf -otest.m-embl
	/usr/bin/readseq -p -f=fasta test.m-embl -otest.m-fasta
	/usr/bin/readseq -p -f=pir   test.m-fasta -otest.m-pir
	/usr/bin/readseq -p -f=msf   test.m-pir  -otest.m-msf
	/usr/bin/readseq -p -f=paup  test.m-msf  -otest.m-paup
	/usr/bin/readseq -p -f=ig    test.m-paup -otest.m-ig-b
	-diff test.m-ig test.m-ig-b
#
# if using NCBI, uncomment these lines
	@echo ""
	@echo "Test of NCBI ASN.1 conversions:"
	/usr/bin/readseq -p -f=asn test.m-ig  -otest.m-asn
	/usr/bin/readseq -p -f=ig  test.m-asn -otest.m-ig-c
	-diff test.m-ig test.m-ig-c
#
	@echo ""
	@echo "Expect differences in the header lines due to"
	@echo "different format headers.  If any sequence lines"
	@echo "differ, or if the checksums differ, there is a problem."
	@echo "----------------------"
	@echo ""
	@echo "To clean up test files, command me:"
	@echo "    make clean"

clean:
	rm -f test.*