reducing number of subworkflow tasks
The main consequence of updating to version 1.0 is inputs.json
needs an update.
As of version 1.0 of the wdl spec, there is no direct way to get an array of Map keys. This will become available in version 1.1. As a workaround for now, you can use the Pair
data type instead of Map
as follows:
- draft-2
{
"dbc_pools.poolFastq": {
"pool1": "/global/dna/dm_archive/sdm/pacbio/00/25/44/pbio-2544.25022.bc1001_BAK8A_OA--bc1001_BAK8A_OA.ccs.fastq.gz",
"pool2": "/global/dna/dm_archive/sdm/pacbio/00/25/44/pbio-2544.25023.bc1002_BAK8A_OA--bc1002_BAK8A_OA.ccs.fastq.gz"
},
}
- Version 1.0
{
"dbc_pools.poolFastq": [
{"Left": "pool1",
"Right": "/global/dna/dm_archive/sdm/pacbio/00/25/44/pbio-2544.25022.bc1001_BAK8A_OA--bc1001_BAK8A_OA.ccs.fastq.gz"},
{"Left": "pool2",
"Right": "/global/dna/dm_archive/sdm/pacbio/00/25/44/pbio-2544.25023.bc1002_BAK8A_OA--bc1002_BAK8A_OA.ccs.fastq.gz"}
],
}
Edited by Daniela Cassol