diff --git a/modules/nf-core/mitohifi/findmitoreference/environment.yml b/modules/nf-core/mitohifi/findmitoreference/environment.yml deleted file mode 100644 index 5aafa1a1001..00000000000 --- a/modules/nf-core/mitohifi/findmitoreference/environment.yml +++ /dev/null @@ -1,5 +0,0 @@ -name: mitohifi_findmitoreference -channels: - - conda-forge - - bioconda - - defaults diff --git a/modules/nf-core/mitohifi/findmitoreference/main.nf b/modules/nf-core/mitohifi/findmitoreference/main.nf index 97c9a28f8bc..0c620fa20b5 100644 --- a/modules/nf-core/mitohifi/findmitoreference/main.nf +++ b/modules/nf-core/mitohifi/findmitoreference/main.nf @@ -1,17 +1,17 @@ process MITOHIFI_FINDMITOREFERENCE { tag "$species" - label 'process_low' + label 'process_single' // Docker image available at the project github repository container 'ghcr.io/marcelauliano/mitohifi:master' input: - val species + tuple val(meta), val(species) output: - path "*.fasta", emit: fasta - path "*.gb", emit: gb - path "versions.yml", emit: versions + tuple val(meta), path("*.fasta"), emit: fasta + tuple val(meta), path("*.gb") , emit: gb + path "versions.yml" , emit: versions when: task.ext.when == null || task.ext.when diff --git a/tests/modules/nf-core/mitohifi/findmitoreference/main.nf b/tests/modules/nf-core/mitohifi/findmitoreference/main.nf index 0f95b2adbb7..3831d387cc9 100644 --- a/tests/modules/nf-core/mitohifi/findmitoreference/main.nf +++ b/tests/modules/nf-core/mitohifi/findmitoreference/main.nf @@ -6,7 +6,10 @@ include { MITOHIFI_FINDMITOREFERENCE } from '../../../../../modules/nf-core/mito workflow test_mitohifi_findmitoreference { - species = "Phalera flavescens" + input = [ + [ id:'test' ], // meta map + "Phalera flavescens" // species + ] - MITOHIFI_FINDMITOREFERENCE ( species ) + MITOHIFI_FINDMITOREFERENCE ( input ) }