Memory consumption can be really high and running `wGRR` might exhaust your system. By default, `wGRR` will estimate the required memory and stop if your system does not fulfill this requirement.
...
...
@@ -100,6 +100,10 @@ This corresponds to the protein `00141` of the element `ESCO001.0321.00001.P001`
*`$output_prefix` is a prefix that will be used for each output files. By default, a random string is used.
*`$coverage_threshold` is the coverage threshold for defining the BBH pairs (float number, between 0 and 1). The default value is 0.5.
*`$identity_threshold` is the sequence identity threshold for defining the BBH pairs (float number, between 0 and 1). The default value is 0.35.
*`$threads` is the number of threads to use. Using more than one is highly recommended.
*`$comparisons` is the number of genetic elements to be compared simultaneously on each thread. A value of 1,000 means that, on each thread, groups of 1,000 genetic elements will be compared simultaneously. Increasing this number will decrease the total number of tasks to be performed but will increase RAM usage. By default, a reasonable value is automatically determined. This value should result in workers running in less than 2 hours and which is perfectly adapted to the use of the `-f` flag (see the "sbatch" section above).
echo" If wGRR is used on Maestro, MMSeqs will be automatically loaded."
echo" -o <string> Base name for the output files."
echo" By default a random string will be used."
echo" -C <float> Coverage threshold for the BBH pairs."
echo" default: 0.5"
echo" -I <float> Identity threshold for the BBH pairs."
echo" default: 0.35"
echo" -t <integer> Number of threads to use."
echo" default: 1"
echo" recommended: at least 4"
...
...
@@ -124,9 +128,11 @@ TESTRUN=0 ## -T
FAST=0 ## -f
SKIP=0 ## -s
JACCARD=0 ## -j
COVT=0.5 ## -C
IDT=0.35 ## -I
## catch option values
while getopts :fTsji:p:o:t:a:m:l: option ;do
while getopts :fTsji:p:o:t:a:m:l:C:I: option ;do
case$optionin
i)PRT="$OPTARG";if[[!-s$PRT]];then printf"${bold}${red}%-17s -- %s\n${normal}""[ERROR]""Fasta file '$PRT' not found or empty (option -i).";exit 1 ;fi;;
p)MMPATH="$OPTARG";;
...
...
@@ -139,6 +145,8 @@ while getopts :fTsji:p:o:t:a:m:l: option ; do
f)FAST=1 ;;
s)SKIP=1 ;;
j)JACCARD=1 ;;
C)COVT="$OPTARG";if[[${COVT}-gt 1 ]]||[[${COVT}-lt 0 ]];then printf"${bold}${red}%-17s -- %s\n${normal}""[ERROR]""Coverage threshold must be between 0 and 1 (option -C).";exit 1 ;fi;;
I)IDT="$OPTARG";if[[${IDT}-gt 1 ]]||[[${IDT}-lt 0 ]];then printf"${bold}${red}%-17s -- %s\n${normal}""[ERROR]""Identity threshold must be between 0 and 1 (option -C).";exit 1 ;fi;;