File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,15 @@ mkdir -p "${BASEDIR}"
1313" ${SPACEDUST} " createsetdb ${DATA} /* .faa " ${BASEDIR} /genome" " ${BASEDIR} /tmp"
1414" ${SPACEDUST} " clustersearch " ${BASEDIR} /genome" " ${BASEDIR} /genome" " ${BASEDIR} /result.tsv" " ${BASEDIR} /tmp" --filter-self-match
1515
16+ # foldseek related regression
17+ " ${SPACEDUST} " createsetdb ${DATA} /foldseek_testdb/foldseek_test " ${BASEDIR} /foldseek_testdb" " ${BASEDIR} /tmp"
18+ " ${SPACEDUST} " clustersearch " ${BASEDIR} /foldseek_testdb" " ${BASEDIR} /foldseek_testdb" " ${BASEDIR} /result_foldseek.tsv" " ${BASEDIR} /tmp" --filter-self-match --search-mode 2
19+
1620awk ' /^>/ { cnt++; } END { if (cnt != 308) exit 1; }' " ${BASEDIR} /result.tsv" \
1721 || fail " Check 1 failed. Expected: 308 Actual: $( awk ' /^>/ { cnt++; } END { print cnt; }' " ${BASEDIR} /result.tsv" ) "
1822awk ' /^#/ { if ($4 < 1E-20) cnt++; } END { if (cnt != 2) exit 1; }' " ${BASEDIR} /result.tsv" \
19- || fail " Check 2 failed. Expected: 2 Actual: $( awk ' /^#/ { if ($4 < 1E-20) cnt++; } END { print cnt; }' " ${BASEDIR} /result.tsv" ) "
23+ || fail " Check 2 failed. Expected: 2 Actual: $( awk ' /^#/ { if ($4 < 1E-20) cnt++; } END { print cnt; }' " ${BASEDIR} /result.tsv" ) "
24+
25+ # foldseek related checks
26+ awk ' /^>/ { cnt++; } END { if (cnt != 568) exit 1; }' " ${BASEDIR} /result_foldseek.tsv" \
27+ || fail " Check 3 failed. Expected: 568 Actual: $( awk ' /^>/ { cnt++; } END { print cnt; }' " ${BASEDIR} /result_foldseek.tsv" ) "
You can’t perform that action at this time.
0 commit comments