Skip to content

Commit

Permalink
add check for report mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Jul 30, 2024
1 parent 691f320 commit 763a428
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion data/easymsa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@ else
fi
fi

if [ "${MAKE_REPORT}" ]; then
if [ "${MAKE_REPORT}" -eq 1 ]; then
# shellcheck disable=SC2086
"$MMSEQS" msa2lddtreport "${STRUCTUREDB}" "${RESULTS}_aa.fa" "${RESULTS}.html" \
"--guide-tree" "${RESULTS}.nw" \
${MSA2LDDT_PAR} \
|| fail "msa2lddt died"
elif [ "${MAKE_REPORT}" -eq 2 ]; then
# shellcheck disable=SC2086
"$MMSEQS" msa2lddtjson "${STRUCTUREDB}" "${RESULTS}_aa.fa" "${RESULTS}.json" \
"--guide-tree" "${RESULTS}.nw" \
${MSA2LDDT_PAR} \
|| fail "msa2lddt died"
fi

if [ -n "${REMOVE_TMP}" ]; then
Expand Down

0 comments on commit 763a428

Please sign in to comment.