Skip to content

Commit c96a27e

Browse files
committed
Update regression for block aligner
1 parent df963bd commit c96a27e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

regression/run_cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CLUDB="${RESULTS}/clu"
88

99
awk 'BEGIN { l = "" } l != $1 { l = $1; cnt++; } { t++; } END { print cnt"\t"t"\t"(t/cnt) }' "$RESULTS/results_cluster.tsv" > "$RESULTS/results_summary.tsv"
1010
ACTUAL="$(cut -f1 "$RESULTS/results_summary.tsv")"
11-
TARGET="15695"
11+
TARGET="15698"
1212
awk -v actual="$ACTUAL" -v target="$TARGET" \
1313
'BEGIN { print (actual == target) ? "GOOD" : "BAD"; print "Expected: ", target; print "Actual: ", actual; }' \
1414
> "${RESULTS}.report"

regression/run_cluster_update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ CLUSTERMEMEBER=$(wc -l "$RESULTS/clu_updated.tsv" | awk '{print $1}')
1717
CLUSTER=$(echo $(cut -f1 "$RESULTS/clu_updated.tsv" | sort -u | wc -l))
1818
UPDATEDSEQCNT=$(wc -l "$RESULTS/seqdb_update.index" | awk '{print $1}')
1919

20-
TARGET="32131 24744 32131"
20+
TARGET="32131 24753 32131"
2121
ACTUAL="$CLUSTERMEMEBER $CLUSTER $UPDATEDSEQCNT"
2222
awk -v actual="$ACTUAL" -v target="$TARGET" 'BEGIN { print (actual == target) ? "GOOD" : "BAD"; \
2323
print "Expected: ", target; \

regression/run_easy_cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
awk 'BEGIN { l = "" } l != $1 { l = $1; cnt++; } { t++; } END { print cnt"\t"t"\t"(t/cnt) }' "$RESULTS/results_cluster.tsv" > "$RESULTS/results_summary.tsv"
55
ACTUAL="$(cut -f1 "$RESULTS/results_summary.tsv")"
6-
TARGET="15695"
6+
TARGET="15698"
77
awk -v actual="$ACTUAL" -v target="$TARGET" \
88
'BEGIN { print (actual == target) ? "GOOD" : "BAD"; print "Expected: ", target; print "Actual: ", actual; }' \
99
> "${RESULTS}.report"

regression/run_easy_cluster_reassign.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cat "${DATADIR}/clu.fasta" | "${MMSEQS}" easy-cluster stdin "$RESULTS/results"
44

55
awk 'BEGIN { l = "" } l != $1 { l = $1; cnt++; } { t++; } END { print cnt"\t"t"\t"(t/cnt) }' "$RESULTS/results_cluster.tsv" > "$RESULTS/results_summary.tsv"
66
ACTUAL="$(cut -f1 "$RESULTS/results_summary.tsv")"
7-
TARGET="17239"
7+
TARGET="17234"
88
awk -v actual="$ACTUAL" -v target="$TARGET" \
99
'BEGIN { print (actual == target) ? "GOOD" : "BAD"; print "Expected: ", target; print "Actual: ", actual; }' \
1010
> "${RESULTS}.report"

regression/run_easy_profile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LC_ALL=C sort -k1,1 -k11,11g "$RESULTS/results_aln.m8" > "$RESULTS/results_aln_s
77

88
"${EVALUATE}" "$QUERY" "$TARGET" "$RESULTS/results_aln_sorted.m8" "${RESULTS}/evaluation_roc5.dat" 4000 1 | tee "${RESULTS}/evaluation.log"
99
ACTUAL=$(grep "^ROC5 AUC:" "${RESULTS}/evaluation.log" | cut -d" " -f3)
10-
TARGET="0.333245"
10+
TARGET="0.333212"
1111
awk -v actual="$ACTUAL" -v target="$TARGET" \
1212
'BEGIN { print (actual == target) ? "GOOD" : "BAD"; print "Expected: ", target; print "Actual: ", actual; }' \
1313
> "${RESULTS}.report"

regression/run_expand.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ TARGETDB="${RESULTS}/targetannotation"
1313
"${MMSEQS}" convertalis "$QUERYDB" "$TARGETDB" "$RESULTS/results_ac" "$RESULTS/results_aln.m8"
1414
"${EVALUATE}" "$QUERY" "$TARGET" "$RESULTS/results_aln.m8" "${RESULTS}/evaluation_roc5.dat" 4000 1 | tee "${RESULTS}/evaluation.log"
1515
ACTUAL1=$(grep "^ROC5 AUC:" "${RESULTS}/evaluation.log" | cut -d" " -f3)
16-
TARGET1="0.170241"
16+
TARGET1="0.170247"
1717

1818
"${MMSEQS}" expand2profile "$QUERYDB" "$TARGETDB" "$RESULTS/results_ab" "$RESULTS/results_bc" "$RESULTS/prof_ac"
1919
"${MMSEQS}" search "$RESULTS/prof_ac" "$TARGETDB" "$RESULTS/results_prof" "$RESULTS/tmp" -e 10000 -s 2 -a --max-seqs 4000
2020
"${MMSEQS}" convertalis "$QUERYDB" "$TARGETDB" "$RESULTS/results_prof" "$RESULTS/results_prof.m8"
2121
"${EVALUATE}" "$QUERY" "$TARGET" "$RESULTS/results_prof.m8" "${RESULTS}/evaluation_roc5.dat" 4000 1 | tee "${RESULTS}/evaluation.log"
2222
ACTUAL2=$(grep "^ROC5 AUC:" "${RESULTS}/evaluation.log" | cut -d" " -f3)
23-
TARGET2="0.225243"
23+
TARGET2="0.224955"
2424

2525
awk -v actual1="$ACTUAL1" -v target1="$TARGET1" -v actual2="$ACTUAL2" -v target2="$TARGET2" \
2626
'BEGIN { print (actual1 == target1 && actual2 == target2) ? "GOOD" : "BAD"; print "Expected: "target1", "target2; print "Actual: "actual1", "actual2; }' \

regression/run_profile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LC_ALL=C sort -k1,1 -k11,11g "$RESULTS/results_aln.m8" > "$RESULTS/results_aln_s
1414

1515
"${EVALUATE}" "$QUERY" "$TARGET" "$RESULTS/results_aln_sorted.m8" "${RESULTS}/evaluation_roc5.dat" 4000 1 | tee "${RESULTS}/evaluation.log"
1616
ACTUAL=$(grep "^ROC5 AUC:" "${RESULTS}/evaluation.log" | cut -d" " -f3)
17-
TARGET="0.366151"
17+
TARGET="0.366192"
1818
awk -v actual="$ACTUAL" -v target="$TARGET" \
1919
'BEGIN { print (actual == target) ? "GOOD" : "BAD"; print "Expected: ", target; print "Actual: ", actual; }' \
2020
> "${RESULTS}.report"

0 commit comments

Comments
 (0)