From 08266d809593e15b96d6dfca55c030dfb8ac5934 Mon Sep 17 00:00:00 2001 From: jgugliel <julien.guglielmini@pasteur.fr> Date: Fri, 24 Jun 2022 15:46:39 +0200 Subject: [PATCH] Automatic -a parameter; option to skip memory check; output improvement --- wGRR | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wGRR b/wGRR index ecbaeb9..46a7f53 100755 --- a/wGRR +++ b/wGRR @@ -27,19 +27,19 @@ display_usage() { echo "${bold}OPTIONS:${normal}" echo " -p <string> Path to the mmseqs executable." echo " e.g. /usr/local/bin" - echo " by default the mmseqs binary found in the \"\$PATH\" environment variable will" - echo " be used, if there is one." - echo " If wGRR is used on Maestro, MMSeqs will be automatically loaded." + echo " By default the mmseqs binary found in the \"\$PATH\" environment variable will" + echo " be used, if there is one." + 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 " By default a random string will be used." echo " -t <integer> Number of threads to use." echo " default: 1" echo " recommended: at least 4" echo " Note: if wGRR is run on Maestro via sbatch, this number only applies to the" echo " MMseqs step" echo " -a <integer> Number of genomes comparisons to be performed in each thread." - echo " Increasing this will decrease the number of tasks to be performed" - echo " but each task will take longer and use more RAM." + echo " Increasing this will decrease the number of tasks to be performed" + echo " but each task will take longer and use more RAM." echo " default: auto" echo " -m <integer> Max number of simulteaneous tasks." echo " Only applicable to Maestro, for the wGRR calculation step." @@ -73,7 +73,7 @@ fi if [ $# -lt 1 ] ; then display_usage - exit 1 + exit 0 fi ## Functions -- GitLab