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.

Array input in a json file for cromwell

DivyKangeyanDivyKangeyan Member, Broadie
edited February 2018 in Ask the Cromwell + WDL Team

Hi, I have a WDL file that takes array of files as input. When I run locally with cromwell I use .json file as the input file. How do I represent the array of files in a json file. This is what the input looks like in my WDL file

        Array[File] in_pe_reports_files
        Array[File] in_covgz_files
        Array[File] in_mbias_files
        File BSGenome_targz
        String BSGenome_package
        String Genome_build

This is my current .json file

    "aggreate.in_report_files": ,
    "aggregate.in_cov_files": ,
    "aggregate.in_mbias_files": ,
    "aggregate.BSGenome_targz": "BSgenome.Hsapiens.NCBI.GRCh38_1.3.1000.tar.gz",
    "aggregate.Genome_build": "hg38",

Not sure how to add the array of files as a json input


Best Answer


Sign In or Register to comment.