Closed j23414 closed 3 years ago
Use map
and copyTo
... turns out using renameTo
turns the channel into 'true' or 'false' 😆
channel.fromPath("original.txt") | map {it -> it.copyTo("newfile.txt")} | process1
Fixed by running separate paternal_ch
and maternal_ch
channels. And by adding an val(outdir)
to the processes.
Fix the internal filename conflict when passing through
paternal_assembly.fasta
andmaternal_assembly.fasta
separately.