-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework result2structprofile to work correctly with precomputed index
- Loading branch information
1 parent
4c1d036
commit 4c2092a
Showing
3 changed files
with
36 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
#!/bin/sh -e | ||
|
||
if [ -e "${IN1}.dbtype" ]; then | ||
INPUT="$1" | ||
RESULT="$3" | ||
OUT="$4" | ||
|
||
if [ -e "${INPUT}.dbtype" ]; then | ||
# shellcheck disable=SC2086 | ||
"$MMSEQS" base:result2profile "${IN1}" "${IN2}" "${RESULT}" "${OUT}" ${PROFILE_PAR} \ | ||
$RUNNER "$MMSEQS" base:result2profile "${INPUT}" "${TARGET}${INDEXEXT}" "${RESULT}" "${OUT}" ${PROFILE_PAR} \ | ||
|| fail "result2profile died" | ||
fi | ||
|
||
if [ -e "${IN1}_ss.dbtype" ]; then | ||
if [ -e "${INPUT}_ss.dbtype" ]; then | ||
# shellcheck disable=SC2086 | ||
"$MMSEQS" base:result2profile "${IN1}_ss" "${IN2}_ss" "${RESULT}" "${OUT}_ss" ${PROFILE_SS_PAR} \ | ||
$RUNNER "$MMSEQS" base:result2profile "${INPUT}_ss" "${TARGET}_ss${INDEXEXT}" "${RESULT}" "${OUT}_ss" ${PROFILE_SS_PAR} \ | ||
|| fail "result2profile died" | ||
fi | ||
|
||
if [ -e "${IN1}_ca.dbtype" ]; then | ||
if [ -e "${INPUT}_ca.dbtype" ]; then | ||
# shellcheck disable=SC2086 | ||
"$MMSEQS" lndb "${IN1}_ca" "${OUT}_ca" ${VERBOSITY} \ | ||
"$MMSEQS" lndb "${INPUT}_ca" "${OUT}_ca" ${VERBOSITY} \ | ||
|| fail "Create lndb died" | ||
fi | ||
|
||
if [ -e "${IN1}_h.dbtype" ]; then | ||
if [ -e "${INPUT}_h.dbtype" ]; then | ||
# shellcheck disable=SC2086 | ||
"$MMSEQS" lndb "${IN1}_h" "${OUT}_h" ${VERBOSITY} \ | ||
"$MMSEQS" lndb "${INPUT}_h" "${OUT}_h" ${VERBOSITY} \ | ||
|| fail "Create lndb died" | ||
fi | ||
|
||
if [ -e "${OUT}.sh" ]; then | ||
if [ -e "${INPUT}.sh" ]; then | ||
rm -f -- "${OUT}.sh" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters