Commit 16bb9984 authored by Saira Hussain's avatar Saira Hussain 💬
Browse files

Add initial control and unit test files

parent 1d6ed396
Loading
Loading
Loading
Loading

debian/tests/control

0 → 100644
+3 −0
Original line number Diff line number Diff line
Tests: run-unit-tests
Depends: @
Restrictions: allow-stderr
+28 −0
Original line number Diff line number Diff line
#!/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