Changing match to search will look for the component name even if the include keyword is not at the beginning of the line. This is to allow spaces for cases such as the following, where we have indentation.
if ( params.aligner == "clustalo/align" ) {
include { CLUSTALO_ALIGN as ALIGNER } from '../../../modules/mirpedrol/clustalo/align/main'
} else if ( params.aligner == "famsa/align" ) {
include { FAMSA_ALIGN as ALIGNER } from '../../../modules/mirpedrol/famsa/align/main'
}
Changing
match
tosearch
will look for the component name even if theinclude
keyword is not at the beginning of the line. This is to allow spaces for cases such as the following, where we have indentation.