[med-svn] [Git][med-team/dazzdb][master] 4 commits: Install autopkgtests

Pranav Ballaney gitlab at salsa.debian.org
Mon Jul 27 17:12:13 BST 2020



Pranav Ballaney pushed to branch master at Debian Med / dazzdb


Commits:
e378603a by Pranav Ballaney at 2020-07-27T20:29:14+05:30
Install autopkgtests

- - - - -
3e118a53 by Pranav Ballaney at 2020-07-27T20:29:27+05:30
Install docs

- - - - -
6bc4f2ef by Pranav Ballaney at 2020-07-27T20:37:20+05:30
Add Pranav Ballaney to uploaders

- - - - -
75865bbd by Pranav Ballaney at 2020-07-27T21:40:36+05:30
Update changelog

- - - - -


6 changed files:

- + debian/README.test
- debian/changelog
- debian/control
- debian/docs
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+dazzdb (1.0+git20200115.d8adde7-3) UNRELEASED; urgency=medium
+
+  * Install autopkgtests
+  * Install docs
+  * Add Pranav Ballaney to uploaders
+
+ -- Pranav Ballaney <ballaneypranav at gmail.com>  Mon, 27 Jul 2020 21:40:08 +0530
+
 dazzdb (1.0+git20200115.d8adde7-2) unstable; urgency=medium
 
   [ Helmut Grohne ]


=====================================
debian/control
=====================================
@@ -1,6 +1,7 @@
 Source: dazzdb
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+           Pranav Ballaney <ballaneypranav at gmail.com>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 12),


=====================================
debian/docs
=====================================
@@ -1 +1,3 @@
 README.md
+debian/README*
+debian/tests/run-unit-test
\ No newline at end of file


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,28 @@
+#!/bin/bash
+set -e
+
+pkg=dazzdb
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  # Double quote below to expand the temporary directory variable now versus
+  # later is on purpose.
+  # shellcheck disable=SC2064
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+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
+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
+



View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/compare/23422ea31e9ab92f7ca09299080beccbdd44fad0...75865bbd247d88f72555505b657311f48f254e4c

-- 
View it on GitLab: https://salsa.debian.org/med-team/dazzdb/-/compare/23422ea31e9ab92f7ca09299080beccbdd44fad0...75865bbd247d88f72555505b657311f48f254e4c
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/001f7042/attachment-0001.html>


More information about the debian-med-commit mailing list