Evangelos Karatzas
08/26/2025, 10:44 AMEXECUTE_CLUSTERING local subworkflow to an nf-core one: MMSEQS_FASTA_CLUSTER.
Is there a way to use a patched nf-core/module in an nf-core subworkflow? I want to use stageAs aliases in the inputs to avoid executing a module twice, the way it's done here: https://github.com/nf-core/proteinfamilies/blob/main/modules/nf-core/mmseqs/createtsv/main.nf
Otherwise I would have to execute MMSQES_CREATEDB twice, which is a huge waste of resources and unnecessary code duplication.
If not, is there a smarter way? We could always update the module to always use stageAs.. @Joon Klaps, @Jasmin Frangenberg?Joon Klaps
08/26/2025, 10:53 AMJoon Klaps
08/26/2025, 10:53 AMEvangelos Karatzas
08/26/2025, 10:55 AMMMSEQS_CREATETSV module. The whole point of this is to have a ready-to-use nf-core subworkflow that goes from a fasta file to a clustering TSV (rep,member) along with per cluster fasta file.Joon Klaps
08/26/2025, 10:56 AMEvangelos Karatzas
08/26/2025, 10:58 AMJames Fellows Yates
08/26/2025, 11:10 AMstageAs prevent running the module twice?Evangelos Karatzas
08/26/2025, 11:13 AMEvangelos Karatzas
08/26/2025, 11:14 AMEvangelos Karatzas
08/26/2025, 11:15 AMJames Fellows Yates
08/26/2025, 11:17 AMJames Fellows Yates
08/26/2025, 11:17 AMEvangelos Karatzas
08/26/2025, 11:29 AMJames Fellows Yates
08/26/2025, 11:41 AMEvangelos Karatzas
08/26/2025, 11:41 AMEvangelos Karatzas
08/26/2025, 11:51 AMJasmin Frangenberg
08/26/2025, 12:28 PMEvangelos Karatzas
08/26/2025, 12:38 PMEvangelos Karatzas
08/26/2025, 1:16 PM1211 Killed $RUNNER "$MMSEQS" prefilter "$INPUT" "$TARGET" "$TMP_PATH/pref_$STEP" $PREFILTER_PAR -s "$SENS"
> Error: Prefilter died
> Error: Search step died
> Error: First search diedEvangelos Karatzas
08/26/2025, 1:16 PMJames Fellows Yates
08/26/2025, 1:17 PMJasmin Frangenberg
08/26/2025, 1:17 PMEvangelos Karatzas
08/26/2025, 1:43 PMEvangelos Karatzas
08/26/2025, 1:44 PMEvangelos Karatzas
08/26/2025, 1:55 PM