I have a workflow that scatters a step over an array input called intervals. I want to use the value interval[i] to construct another parameter to the step.
cwlVersion: v1.0
class: Workflow
requirements:
- class: ScatterFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
inputs:
bam: File
intervals: string[]
outputs:
hc_vcf:
type: File[]
outputSource: step_hc/output_HaplotypeCaller
steps:
step_hc:
run: dummy_HC.cwl
scatter: [interval_string]
in:
inputBam: bam
interval_string: intervals
outputVcf:
# This is where I would like the output to be named something like
# $(inputs.bam.nameroot).$(interval_string).vcf
I can refer to the inputs to workflow, but I have not figured out how to refer to the input to a particular step.
Thank you Manisha
Hello jshelton; thank you for your question,
(I think it should maybe be a new question on its own and not a "answer" to the original question above?)
Can you share a link to which bedtools CWL description you are using?