isugifNF / polishCLR

A nextflow pipeline for polishing CLR assemblies
https://isugifnf.github.io/polishCLR/
16 stars 4 forks source link

TrioCanu assembly input #20

Closed j23414 closed 3 years ago

j23414 commented 3 years ago

Fix the internal filename conflict when passing through paternal_assembly.fasta and maternal_assembly.fasta separately.

j23414 commented 3 years ago
j23414 commented 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
j23414 commented 3 years ago

Fixed by running separate paternal_chand maternal_ch channels. And by adding an val(outdir) to the processes.