Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Update: July 26, 2019
This section of the forum is now closed; we are working on a new support model for WDL that we will share here shortly. For Cromwell-specific issues, see the Cromwell docs and post questions on Github.

Variables in task output

golharamgolharam Member ✭✭✭

Hi - I'm starting to learn WDL/Cromwell, so forgive me if my questions are a naive. I'm working on my first "real" pipeline. I'm getting this error when trying to generate the input json file:

Unrecognized token on line 27, column 26:

    String output_path = ${run_folder}-output

The task this line is in, is :

task cellranger_mkfastq {
  String run_folder

  command {
    cellranger mkfastq \
      --id ${run_folder}-output \
      --run=/scratch/${run_folder} \
      --samplesheet=/scratch/${run_folder}/SampleSheet.csv \

  output {
    String output_path = ${run_folder}-output

Line 27 is "String output_path = ${run_folder}-output"

What is wrong with this line? Can variables not be used in the output section?


Sign In or Register to comment.