How can I take an output from a workflow step that is a file containing a JSON string of an array of arrays of File objects and use that as input to a second workflow step?
E.g. the file contains:
input.json:
[
[ 'input_barcode_fastq': { 'class': 'File', 'path': '/bundle1_R2.fastq'},
'input_fastq1': { 'class': 'File', 'path': '/bundle1_R1.fastq'},
'input_fastq2': { 'class': 'File', 'path': '/bundle1_R3.fastq'}
],
...
[ 'input_barcode_fastq': { 'class': 'File', 'path': '/bundle2__R2.fastq'},
'input_fastq1': { 'class': 'File',...}...
]
]
and I want to have an input to the second workflow step something like:
inputs:
array_of_sequence_file_bundles:
type:
type: array
items:
type: array
items: File
Or is there a better way to do this?
Thanks!