Closed klamkiew closed 1 year ago
already working on it, btw; I changed the rename.sh script a little bit to remove dots from file names. currently testing whether it works :D
ah; the error comes from here in the ribap.nf
else if (params.fasta) { fasta_input_ch = Channel
.fromPath( params.fasta, checkIfExists: true)
.map { file -> tuple(file.simpleName, file) }
cause simpleName
cuts at the first .
... jeez.
@hoelzer changed the line above to
.map { file -> tuple(file.baseName, file) }
if someone inputs ugly filenames, the output names will be ugly as well, but it works :)
Renaming of the files and fasta records works fine, however, the prokka directory stops at the
str.
, removes the.
and we end up withChlamydia_muridarum_str_RENAMED/
several times, leading to the following error: