You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/clustersearch.sh
+61-41Lines changed: 61 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -22,38 +22,48 @@ TARGET="$2"
22
22
OUTPUT="$3"
23
23
TMP_PATH="$4"
24
24
25
-
if [ -n"${USE_FOLDSEEK}" ];then
25
+
if [ -n"${USE_PROSTT5}" ];then
26
+
[ -n"${USE_PROFILE}" ] && [ !-f"${TARGET}_clu_seq.dbtype" ] &&echo"${TARGET}_foldseek_clu_seq.dbtype not found! Please make sure the ${TARGET} is clustered with clusterdb ${TARGET} tmp --search-mode 1"&&exit 1;
27
+
[ !-f"${TARGET}_ss.dbtype" ] &&echo"${TARGET}_ss.dbtype not found! Please make sure the ${TARGET} is created using ProstT5. "&&exit 1;
28
+
elif [ -n"${USE_FOLDSEEK}" ];then
26
29
[ -n"${USE_PROFILE}" ] && [ !-f"${TARGET}_foldseek_clu_seq.dbtype" ] &&echo"${TARGET}_foldseek_clu_seq.dbtype not found! Please make sure the ${TARGET}_foldseek is clustered with clusterdb ${TARGET}_foldseek tmp --search-mode 1"&&exit 1;
27
-
[ !-f"$FOLDSEEK" ] &&echo"Please make sure Foldseek is installed in the working directory."&&exit 1;
28
-
[ !-f"${TARGET}_foldseek.dbtype" ] &&echo"${TARGET}_foldseek.dbtype not found! Please make sure the ${TARGET}_foldseek is created with aa2foldseek"&&exit 1;
30
+
[ !-f"${TARGET}_foldseek.dbtype" ] &&echo"${TARGET}_foldseek.dbtype not found! Please make sure the ${TARGET}_foldseek is created with aa2foldseek. If ${TARGET} is created with ProstT5 please use --search-mode 2"&&exit 1;
29
31
fi
30
32
31
33
if [ -n"${USE_PROFILE}" ];then
32
34
if [ -n"${USE_FOLDSEEK}" ];then
33
-
if notExists "${TMP_PATH}/result_foldseek.index";then
PARAM_SUBOPTIMAL_HITS(PARAM_SUBOPTIMAL_HITS_ID, "--suboptimal-hits", "Include sub-optimal hits with factor", "Include sub-optimal hits of query sequence up to a factor of its E-value. 0: only include one best hit", typeid(int), (void *) &suboptHitsFactor, "^(0|[1-9]{1}[0-9]*)$"),
64
64
PARAM_FILTER_SELF_MATCH(PARAM_FILTER_SELF_MATCH_ID, "--filter-self-match", "Filter self match", "Remove hits between the same set. 0: do not filter, 1: filter", typeid(bool), (void *) &filterSelfMatch, ""),
65
65
PARAM_MULTIHIT_PVAL(PARAM_MULTIHIT_PVAL_ID, "--multihit-pval", "Multihit P-value cutoff", "Multihit P-value threshold for cluster match output", typeid(float), (void *) &pMHThr, "^0(\\.[0-9]+)?|^1(\\.0+)?$"),
0 commit comments