[med-svn] [Git][med-team/dazzdb][master] Run autopkgtests with seeds to compare output with checksums
Pranav Ballaney
gitlab at salsa.debian.org
Mon Jul 27 18:11:58 BST 2020
Pranav Ballaney pushed to branch master at Debian Med / dazzdb
Commits:
2bbb7e66 by Pranav Ballaney at 2020-07-27T22:41:14+05:30
Run autopkgtests with seeds to compare output with checksums
- - - - -
1 changed file:
- debian/tests/run-unit-test
Changes:
=====================================
debian/tests/run-unit-test
=====================================
@@ -14,15 +14,47 @@ fi
cd "${AUTOPKGTEST_TMP}"
-rangen 1.0 >R.fasta # Generate a randome 1Mbp sequence R.fasta
-fasta2DAM R R.fasta # Load it into a .dam DB R.dam
-dsimulator R -c20. >G.fasta # Sample a 20x data sets of the random geneome R
-fasta2DB G G.fasta # Create a compressed data base of the reads, G.db
-rm G.fasta # Redundant, recreate any time with "DB2fasta G"
-DBsplit -s11 G # Split G into 2 parts of size ~ 11MB each
-DBdust G.1 # Produce a "dust" track on each part
+# Generate a random 1Mbp sequence R.fasta
+rangen 1.0 -r2020 > R.fasta
+echo "e259b3524f74d97e70ecf97f9078b77e R.fasta" >> checksums
+
+# Load it into a .dam DB R.dam
+fasta2DAM R R.fasta
+echo "ab5f001069bd928051b01c42bbf91f5b .R.bps" >> checksums
+echo "89ad93fbaa6e7a645c76ffdf1fb43792 .R.hdr" >> checksums
+echo "8ebbdc9428ac6f3b5e407ee43a86ecc4 .R.idx" >> checksums
+echo "c4795a84d7a81407c9a25b75c4a96621 R.dam" >> checksums
+
+# Sample a 20x data sets of the random geneome R
+dsimulator R -c20. -r2020 > G.fasta
+echo "4382a3340b21340efcc5c878c1e07216 G.fasta" >> checksums
+
+# Create a compressed data base of the reads, G.db
+fasta2DB G G.fasta
+echo "fa422bad76a2b9119c182be811f389d1 .G.bps" >> checksums
+
+
+# Split G into 2 parts of size ~ 11MB each
+DBsplit -s11 G
+echo "25a447c3375b8581314e7c92641b01a2 .G.idx" >> checksums
+echo "f6cec403e88918a5c93f265de226ca75 G.db" >> checksums
+
+# Produce a "dust" track on each part
+DBdust G.1
+echo "4d128adb1b639552ea751f6e1b4d35bb .G.1.dust.anno" >> checksums
+echo "e8dcdd4094198898e51ac431cd3b071b .G.1.dust.data" >> checksums
DBdust G.2
-Catrack G dust # Create one track for all of the DB
-rm .G.*.dust.* # Clean up the sub-tracks
-DBstats -mdust G # Take a look at the statistics for the database
+echo "3957f13eabc099461179b1b5be3393be .G.2.dust.anno" >> checksums
+echo "7ae21880213ececd5411097bc5787386 .G.2.dust.data" >> checksums
+
+# Create one track for all of the DB
+Catrack G dust
+echo "99cd6dcb6c6206f4770500ec7e6c0bc3 .G.dust.anno" >> checksums
+echo "df77d8ad1ca51e730bb11597d2c8bd93 .G.dust.data" >> checksums
+
+# Take a look at the statistics for the database
+DBstats -mdust G > result
+echo "5c5c5f89a9ae055cc06487febc6adb3d result" >> checksums
+
+md5sum --check checksums
View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/commit/2bbb7e66a85b88d8e91a89b9a0b3203c13c02acb
--
View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/commit/2bbb7e66a85b88d8e91a89b9a0b3203c13c02acb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200727/f67097bc/attachment-0001.html>
More information about the debian-med-commit
mailing list