Commit 4ff9301c authored by Liubov Chuprikova's avatar Liubov Chuprikova
Browse files

Autopkgtest: changed test data file to smaller one

parent d4991ff8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@ Copyright: 1998-1999 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
           2001-2017 Aaron M. Ucko <ucko@debian.org>
License: public_domain

Files: debian/tests/test-data/nc0305.aso.gz
Files: debian/tests/test-data/nc0225.aso.gz
       debian/tests/test-data/dsRNA_viruses.ags.gz
Copyright: 1996-2018 NCBI 
License: public_domain
Comment: 
 To dowload the files use:
    wget ftp://ftp.ncbi.nih.gov/ncbi-asn1/daily-nc/nc0305.aso.gz
    wget ftp://ftp.ncbi.nih.gov/ncbi-asn1/daily-nc/nc0225.aso.gz
    wget ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/ASN_BINARY/Viruses/dsRNA_viruses.ags.gz

Files: debian/tests/test-data/trnascan-se_sample.output
+1 −1
Original line number Diff line number Diff line
debian/tests/test-data/nc0305.aso.gz
debian/tests/test-data/nc0225.aso.gz
debian/tests/test-data/dsRNA_viruses.ags.gz
+23 −23
Original line number Diff line number Diff line
@@ -14,43 +14,43 @@ cp /usr/share/ncbi/data/autofix.prt .
gunzip *.gz

echo '---asn2all test---'
/usr/bin/asn2all -i nc0305.aso -b -f g -o nc0305.nuc -v nc0305.prt
[ -s nc0305.nuc ]
[ -s nc0305.prt ]
/usr/bin/asn2all -i nc0225.aso -b -f g -o nc0225.nuc -v nc0225.prt
[ -s nc0225.nuc ]
[ -s nc0225.prt ]

echo '---asn2asn test---'
/usr/bin/asn2asn -i nc0305.aso -b -o nc0305.text
[ -s nc0305.text ]
/usr/bin/asn2asn -i nc0225.aso -b -o nc0225.text
[ -s nc0225.text ]

echo '---asn2fsa test---'
/usr/bin/asn2fsa -i nc0305.aso -b -a t -o nc0305.fna -v nc0305.faa
[ -s nc0305.fna ]
[ -s nc0305.faa ]
/usr/bin/asn2fsa -i nc0225.aso -b -a t -o nc0225.fna -v nc0225.faa
[ -s nc0225.fna ]
[ -s nc0225.faa ]

echo '---asn2gb test---'
/usr/bin/asn2gb -i nc0305.aso -b -a t -o nc0305.gbk
[ -s nc0305.gbk ]
/usr/bin/asn2gb -i nc0225.aso -b -a t -o nc0225.gbk
[ -s nc0225.gbk ]

echo '---asn2idx test---'
/usr/bin/asn2idx -b -p . < nc0305.aso
[ -s nc0305.idx ]
/usr/bin/asn2idx -b -p . < nc0225.aso
[ -s nc0225.idx ]
[ -s master.idx ]

echo '---asn2xml test---'
/usr/bin/asn2xml -i nc0305.aso -o nc0305.xml
[ -s nc0305.xml ]
/usr/bin/asn2xml -i nc0225.aso -o nc0225.xml
[ -s nc0225.xml ]

echo '---asndisc test---'
/usr/bin/asndisc -i nc0305.aso -b -a t -o nc0305.disc
[ -s nc0305.disc ]
/usr/bin/asndisc -i nc0225.aso -b -a t -o nc0225.disc
[ -s nc0225.disc ]

echo '---asnval test---'
/usr/bin/asnval -i nc0305.aso -b -a t -o nc0305.val
[ -f nc0305.val ]
[ ! -s nc0305.val ] # empty
/usr/bin/asnval -i nc0225.aso -b -a t -o nc0225.val
[ -f nc0225.val ]
[ ! -s nc0225.val ] # empty

echo '---asnmacro test---'
/usr/bin/asnmacro -i nc0305.aso -b -m autofix.prt -o asnmacro.output
/usr/bin/asnmacro -i nc0225.aso -b -m autofix.prt -o asnmacro.output
[ -s asnmacro.output ]

echo '---asntool test---'
@@ -58,8 +58,8 @@ echo '---asntool test---'
[ -s asntool.output ]

echo '---cleanasn test---'
/usr/bin/cleanasn -b -a t -D t -i nc0305.aso -o nc0305_cleaned.aso
[ -s nc0305_cleaned.aso ]
/usr/bin/cleanasn -b -a t -D t -i nc0225.aso -o nc0225_cleaned.aso
[ -s nc0225_cleaned.aso ]

echo '---debruijn test---'
/usr/bin/debruijn -a ncbistdaa -n 4 > debruijn.output
@@ -69,7 +69,7 @@ echo '---gene2xml test---'
/usr/bin/gene2xml -b -i dsRNA_viruses.ags -o dsRNA_viruses.xgs
[ -s dsRNA_viruses.xgs ]

grep 'GI:' nc0305.gbk | head | sed 's/.*GI://' > GIs.txt
grep 'GI:' nc0225.gbk | head | sed 's/.*GI://' > GIs.txt
# _insdseqget_ and _idfetch_ testing requires internet connection.
# Comment the lines below to skip the testing.
echo '---insdseqget test---'
+402 KiB

File added.

No diff preview for this file type.

−1.7 MiB

File deleted.