Skip to content
Discussion options

You must be logged in to vote

Hi @Jbrenton191 ,

The usage of $ in the script section is the issue.

script:
"""
echo $gtf_file > ${gtf_file%.gtf}.bed
 """

Please either

  1. Escape the character for e.g. echo \$gtf_file ...
  2. Use the shell directive which doesn't need these characters to be escaped https://www.nextflow.io/docs/latest/process.html#shell

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Jbrenton191
Comment options

@abhi18av
Comment options

@abhi18av
Comment options

@Jbrenton191
Comment options

@abhi18av
Comment options

Answer selected by Jbrenton191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2318 on September 15, 2021 13:08.