Skip to content

Commit

Permalink
tweak the output folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi18av authored Jul 19, 2020
1 parent 68b51a0 commit c2be142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ process prokka {
path bestContig from ch_in_prokka

output:
path("""${genomeName}_prokka""") into ch_out_prokka
path("""${genomeName}""") into ch_out_prokka


script:
genomeName = bestContig.getName().split("\\_")[0]

"""
prokka --outdir ./${genomeName}_prokka --prefix $genomeName ${bestContig}
prokka --outdir ./${genomeName} --prefix $genomeName ${bestContig}
"""

}

0 comments on commit c2be142

Please sign in to comment.