Skip to content

Commit

Permalink
Fix ampcombi (#2756)
Browse files Browse the repository at this point in the history
Remove directory flag, not needed in nf-core
  • Loading branch information
Darcy220606 authored Jan 20, 2023
1 parent 4579e38 commit 7a5efed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ampcombi/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ process AMPCOMBI {
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def db = opt_amp_db? "--amp_database $opt_amp_db": ""
def fileoption = amp_input instanceof List ? "--path_list '${amp_input.collect{"$it"}.join("' '")}'" : "--amp_results $amp_input/"
def faa = faa_input.isDirectory() ? "--faa ${faa_input}/" : "--faa ${faa_input}"
"""
ampcombi \\
$args \\
${fileoption} \\
--path_list '${amp_input.collect{"$it"}.join("' '")}' \\
--sample_list ${prefix} \\
--log True \\
--threads ${task.cpus} \\
Expand Down

0 comments on commit 7a5efed

Please sign in to comment.