Fix for Maxbin2 emitting input files (#1376)

* fix: remove left-over unnecessary code

* Fix accidently emitting input

* Fix tests
This commit is contained in:
James A. Fellows Yates 2022-03-08 15:56:23 +01:00 committed by GitHub
parent de0d57a562
commit b78a4a4567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 \\