Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Update d/tests/ to use wrapper
· d3135f77
Dylan Aïssi
authored
Sep 19, 2019
d3135f77
Upload to unstable
· ed81b24f
Dylan Aïssi
authored
Sep 19, 2019
ed81b24f
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
ed81b24f
beagle (5.1-190824+dfsg-2)
UNRELEASED
; urgency=medium
beagle (5.1-190824+dfsg-2)
unstable
; urgency=medium
* Team upload.
...
...
debian/tests/run-sample-analysis
View file @
ed81b24f
#!/bin/sh -e
# http://dep.debian.net/deps/dep8/
# Autopkgtest: Test if beagle run analysis correctly
# Author: Dylan Aïssi <
bob.dybian@gmail.com
>
# Last-Update: 201
8
-09-1
6
# Author: Dylan Aïssi <
daissi@debian.org
>
# Last-Update: 201
9
-09-1
9
pkg
=
beagle
if
[
"
$ADTTMP
"
=
""
]
;
then
...
...
@@ -11,21 +11,19 @@ fi
cd
$ADTTMP
cp
-a
/usr/share/doc/
${
pkg
}
/examples/
*
$ADTTMP
BEAGLE_TEST
=
'java -jar /usr/share/beagle/beagle.jar'
# Generate necessary files
gzip
test.vcf
zcat test.vcf.gz |
cut
-f1-190
|
tr
'/'
'|'
|
gzip
>
ref.vcf.gz
zcat test.vcf.gz |
cut
-f1-9
,191-200 |
gzip
>
target.vcf.gz
java
-jar
/usr/share/beagle/
bref3
.jar
ref.vcf.gz
>
ref.bref3
bref3 ref.vcf.gz
>
ref.bref3
# Beagle with gt argument
$BEAGLE_TEST
gt
=
test.vcf.gz
out
=
out.gt
beagle
gt
=
test.vcf.gz
out
=
out.gt
# Beagle with ref and gt argument
$BEAGLE_TEST
ref
=
ref.vcf.gz
gt
=
target.vcf.gz
out
=
out.ref
beagle
ref
=
ref.vcf.gz
gt
=
target.vcf.gz
out
=
out.ref
# Beagle with bref3 file
$BEAGLE_TEST
ref
=
ref.bref3
gt
=
target.vcf.gz
out
=
out.bref3
beagle
ref
=
ref.bref3
gt
=
target.vcf.gz
out
=
out.bref3
rm
-f
$ADTTMP
/
*