mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 13:43:09 +00:00
Fix for Maxbin2 emitting input files (#1376)
* fix: remove left-over unnecessary code * Fix accidently emitting input * Fix tests
This commit is contained in:
parent
de0d57a562
commit
b78a4a4567
1 changed files with 2 additions and 1 deletions
|
@ -29,8 +29,9 @@ process MAXBIN2 {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def associate_files = reads ? "-reads $reads" : "-abund $abund"
|
def associate_files = reads ? "-reads $reads" : "-abund $abund"
|
||||||
"""
|
"""
|
||||||
|
mkdir input/ && mv $contigs input/
|
||||||
run_MaxBin.pl \\
|
run_MaxBin.pl \\
|
||||||
-contig $contigs \\
|
-contig input/$contigs \\
|
||||||
$associate_files \\
|
$associate_files \\
|
||||||
-thread $task.cpus \\
|
-thread $task.cpus \\
|
||||||
$args \\
|
$args \\
|
||||||
|
|
Loading…
Reference in a new issue