[med-svn] [Git][med-team/mcl][master] Add initial control and unit test files
Saira Hussain
gitlab at salsa.debian.org
Thu Jul 11 12:30:40 BST 2019
Saira Hussain pushed to branch master at Debian Med / mcl
Commits:
16bb9984 by Saira Hussain at 2019-07-11T11:30:22Z
Add initial control and unit test files
- - - - -
2 changed files:
- + debian/tests/control
- + debian/tests/run-unit-tests
Changes:
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-tests
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-tests
=====================================
@@ -0,0 +1,28 @@
+#!/bin/bash
+set -e
+
+pkg=mcl
+
+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
+
+cp /usr/share/doc/${pkg}/data/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+# Just for debugging
+set -x
+
+#Generation of protein families
+mcxload -abc protein_graphs.txt --stream-mirror --stream-neg-log10 -stream-tf 'ceil(200)' -o protein_graphs.mci -write-tab protein_graphs.tab
+
+mcl protein_graphs.mci -I 2
+
+mcxdump -icl out.protein_graphs.mci.I20 -tabr protein_graphs.tab -o clusters.protein_graphs.mci.I20
+
View it on GitLab: https://salsa.debian.org/med-team/mcl/commit/16bb99845e18c99c3befe0716aa17c51c6905f19
--
View it on GitLab: https://salsa.debian.org/med-team/mcl/commit/16bb99845e18c99c3befe0716aa17c51c6905f19
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/20190711/23997110/attachment-0001.html>
More information about the debian-med-commit
mailing list