process {
    withName: 'annotate_genome|make_blastdb|blast_genes|blast_primers|blast_proteins|plasmid_blast' {
        conda = "${params.condadir}/annotate_genome-${container_version}"
    }
    withName: 'antimicrobial_resistance' {
        conda = "${params.condadir}/antimicrobial_resistance-${container_version}"
    }
    withName: ariba_analysis {
        conda = "${params.condadir}/ariba_analysis-${container_version}"
    }
    withName: assemble_genome {
        conda = "${params.condadir}/assemble_genome-${container_version}"
    }
    withName: assembly_qc {
        conda = "${params.condadir}/assembly_qc-${container_version}"
    }
    withName: 'call_variants|call_variants_auto|mapping_query' {
        conda = "${params.condadir}/call_variants-${container_version}"
    }
    withName: count_31mers {
        conda = "${params.condadir}/count_31mers-${container_version}"
    }
    withName: download_references {
        conda = "${params.condadir}/download_references-${container_version}"
    }
    withName: 'estimate_genome_size|minmer_sketch|minmer_query' {
        conda = "${params.condadir}/minmers-${container_version}"
    }
    withName: 'gather_fastqs' {
        conda = "${params.condadir}/gather_fastqs-${container_version}"
    }
    withName: 'fastq_status|qc_reads|qc_original_summary|qc_final_summary' {
        conda = "${params.condadir}/qc_reads-${container_version}"
    }
    withName: sequence_type {
        conda = "${params.condadir}/sequence_type-${container_version}"
    }
}
