common-workflow-language / common-workflow-language/common-workflow-language

document in user guide that multiple parameter references and string concatenation are possible without InlineJavascript

Open
#389 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Common Workflow Language
Stars
1.5k
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Inspired by https://www.biostars.org/p/234804/#238901

Implementers, does the following seem reasonable?
Note the lack of `InlineJavascriptRequirement`
```
cwlVersion: v1.0
class: Workflow
requirements:
ScatterFeatureRequirement: {}
StepInputExpressionRequirement: {}
inputs:
bam: File
intervals: string[]
outputs: []
steps:
hc:
run: dummy_HC.cwl
scatter: [interval_string]
in:
inputBam: bam
interval_string: intervals
outputVcf:
valueFrom: $(inputs.inputBam.nameroot).$(inputs.interval_string).vcf
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.