Commit 4ae2b5be authored by Saira Hussain's avatar Saira Hussain 💬
Browse files

Add shipped in example data files to test

parent 8e8064ec
Loading
Loading
Loading
Loading
+3 −17
Original line number Diff line number Diff line
#!/bin/bash
set -e

pkg=mcl
pkg=norsnet

if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
@@ -19,22 +19,8 @@ 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
# Run the shipped example data files
norsnet cad23.f cad23-fil.rdbProf cad23-fil.hssp cad23.norsnet cad23 cad23.profbval

mcl protein_graphs.mci -I 2

mcxdump -icl out.protein_graphs.mci.I20 -tabr protein_graphs.tab -o clusters.protein_graphs.mci.I20
#Building clusters of genomes
mcxload -abc genome_graphs.txt --stream-mirror -o genome_graphs.mci -write-tab genome_graphs.tab

mcl genome_graphs.mci -I 1.2

mcl genome_graphs.mci -I 2
mcl genome_graphs.mci -I 4
mcl genome_graphs.mci -I 6
mcxdump -icl out.genome_graphs.mci.I12 -tabr genome_graphs.tab -o clusters.genome.mci.I12
mcxdump -icl out.genome_graphs.mci.I20 -tabr genome_graphs.tab -o clusters.genome.mci.I20
mcxdump -icl out.genome_graphs.mci.I40 -tabr genome_graphs.tab -o clusters.genome.mci.I40
mcxdump -icl out.genome_graphs.mci.I60 -tabr genome_graphs.tab -o clusters.genome.mci.I60