Skip to content

Commit

Permalink
foldseek multimer tmalign update re
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosub-Kim committed Apr 2, 2024
1 parent c49c0df commit 54865b5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions data/complexsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ if [ "$PREFMODE" != "EXHAUSTIVE" ]; then
|| fail "Expandcomplex died"
fi
if notExists "${TMP_PATH}/result_expand_aligned.dbtype"; then

if [ "$COMPLEX_ALIGNMENT_ALGO" == "tmalign" ]; then
# shellcheck disable=SC2086
"$MMSEQS" structurealign "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_pref" "${TMP_PATH}/result_expand_aligned_tmp" -e 100 \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
# shellcheck disable=SC2086
"$MMSEQS" tmalign "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_aligned_tmp" "${TMP_PATH}/result_expand_aligned" ${COMPLEX_ALIGN_PAR} \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
if [ "$COMPLEX_ALIGNMENT_ALGO" = "tmalign" ]; then
# shellcheck disable=SC2086
"$MMSEQS" structurealign "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_pref" "${TMP_PATH}/result_expand_aligned_tmp" -e 100 \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
# shellcheck disable=SC2086
"$MMSEQS" tmalign "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_aligned_tmp" "${TMP_PATH}/result_expand_aligned" ${COMPLEX_ALIGN_PAR} \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
else
# shellcheck disable=SC2086
"$MMSEQS" $COMPLEX_ALIGNMENT_ALGO "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_pref" "${TMP_PATH}/result_expand_aligned" ${COMPLEX_ALIGN_PAR} \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
# shellcheck disable=SC2086
"$MMSEQS" $COMPLEX_ALIGNMENT_ALGO "${QUERYDB}" "${TARGETDB}" "${TMP_PATH}/result_expand_pref" "${TMP_PATH}/result_expand_aligned" ${COMPLEX_ALIGN_PAR} \
|| fail $COMPLEX_ALIGNMENT_ALGO "died"
fi
fi
RESULT="${TMP_PATH}/result_expand_aligned"
Expand Down

0 comments on commit 54865b5

Please sign in to comment.