Hi,
I’ve been trying to pass custom MAFFT options using the --aligner_extra_option parameter, but when I check the pipeline log it still reports that MAFFT was run with the default --localpair --maxiterate 1000 options, rather than my custom settings.
While looking into this, I noticed the following block in S_OMM_MACSE_V12.01.sh:
# handle aligner default options
if [ -z ${aligner_extra_option+x} ]; then
case $ALIGN_SOFT in
"MAFFT" ) ALIGNER_EXTRA_OPTION="--localpair --maxiterate 1000";;
*) ALIGNER_EXTRA_OPTION=""
esac
fi
It looks like the script checks whether aligner_extra_option (lowercase) is set, whereas the user-provided options are assigned to ALIGNER_EXTRA_OPTION (uppercase). This may cause the condition to always evaluate as true and the default MAFFT options to be applied, even when custom options are provided.
I just wanted to flag this in case I’m missing something, or if it might be an unintended behavior in the script. Thanks very much for maintaining the pipeline!
Best regards,
Helen
Hi,
I’ve been trying to pass custom MAFFT options using the
--aligner_extra_optionparameter, but when I check the pipeline log it still reports that MAFFT was run with the default--localpair --maxiterate 1000options, rather than my custom settings.While looking into this, I noticed the following block in S_OMM_MACSE_V12.01.sh:
It looks like the script checks whether
aligner_extra_option(lowercase) is set, whereas the user-provided options are assigned toALIGNER_EXTRA_OPTION(uppercase). This may cause the condition to always evaluate as true and the default MAFFT options to be applied, even when custom options are provided.I just wanted to flag this in case I’m missing something, or if it might be an unintended behavior in the script. Thanks very much for maintaining the pipeline!
Best regards,
Helen