@@ -3,9 +3,9 @@ process AMPCOMBI2_PARSETABLES {
33 label ' process_medium'
44
55 conda " ${ moduleDir} /environment.yml"
6- container " ${ workflow.containerEngine in ['singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container ?
7- 'https://depot.galaxyproject.org/singularity/ampcombi:3.0.0--pyhdfd78af_0':
8- 'quay.io/biocontainers/ampcombi:3.0.0--pyhdfd78af_0' } "
6+ container " ${ workflow.containerEngine in ['singularity', 'apptainer'] && !task.ext.singularity_pull_docker_container
7+ ? 'https://depot.galaxyproject.org/singularity/ampcombi:3.0.0--pyhdfd78af_0'
8+ : 'quay.io/biocontainers/ampcombi:3.0.0--pyhdfd78af_0'} "
99
1010 input:
1111 tuple val(meta), path(amp_input)
@@ -16,18 +16,19 @@ process AMPCOMBI2_PARSETABLES {
1616 path opt_interproscan
1717
1818 output:
19- tuple val(meta), path(" ${ prefix} /" ) , emit: sample_dir
20- tuple val(meta), path(" Ampcombi_parse_tables.log" ) , emit: full_log , optional:true
21- tuple val(meta), path(" amp_${ opt_amp_db} _database/" ) , emit: db , optional:true
19+ tuple val(meta), path(" ${ prefix} /" ), emit: sample_dir
20+ tuple val(meta), path(" ${ prefix} /${ prefix} _ampcombi.tsv" ), emit: tsv, optional: true
21+ tuple val(meta), path(" Ampcombi_parse_tables.log" ), emit: full_log, optional: true
22+ tuple val(meta), path(" amp_${ opt_amp_db} _database/" ), emit: db, optional: true
2223 tuple val(" ${ task.process} " ), val(' ampcombi' ), eval(" ampcombi --version | sed 's/ampcombi //'" ), emit: versions_ampcombi, topic: versions
2324
2425 when:
2526 task. ext. when == null || task. ext. when
2627
2728 script:
28- def args = task. ext. args ?: ' '
29- prefix = task. ext. prefix ?: " ${ meta.id} "
30- def db_dir = opt_amp_db_dir ? " --amp_database_dir ${ opt_amp_db_dir} " : " "
29+ def args = task. ext. args ?: ' '
30+ prefix = task. ext. prefix ?: " ${ meta.id} "
31+ def db_dir = opt_amp_db_dir ? " --amp_database_dir ${ opt_amp_db_dir} " : " "
3132 def interpro = opt_interproscan ? " --interproscan_output ${ opt_interproscan} " : " "
3233
3334 """
0 commit comments