File: run-unit-test

package info (click to toggle)
clustalo 1.2.4-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,884 kB
  • sloc: ansic: 19,243; cpp: 14,513; sh: 10,040; makefile: 147
file content (28 lines) | stat: -rw-r--r-- 880 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
#!/bin/bash
set -e

pkg="clustalo"

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi

cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP

cd $AUTOPKGTEST_TMP

/usr/bin/clustalo -i example.fa
/usr/bin/clustalo -i example.fa -o example.sto --outfmt=st
/usr/bin/clustalo -i example.fa	-o example.aln --outfmt=clu --force
/usr/bin/clustalo -i example.fa --guidetree-out=example.dnd --force
/usr/bin/clustalo -i example.fa	--guidetree-in=example.dnd
/usr/bin/clustalo -i example.sto
/usr/bin/clustalo -i example.sto  --dealign
/usr/bin/clustalo -i example.fa --iter=2
/usr/bin/clustalo -i example.fa --iter=5 --max-guidetree-iterations=1
/usr/bin/clustalo -i example.fa -o example.a2m -v

# Run example test from biopython
/usr/bin/clustalo -i f002 --guidetree-out temp_test.dnd -o temp_test.aln --outfmt clustal --force

echo "PASS"