I would like to specify “shellQuote” in CommandLineBinding as false or true depending on cwl input.
I get an error message:
is not valid because
value is not boolean
Unfortunately it is not possible to use expression in shellQuote field - only boolean is possible. How to solve this problem?
Hi @Monika_Krzyzanowska, could you describe what are you trying to do?
All input information is evaluated at the same time, which means that one input cannot use the information of another input.
I would like to understand more of what you are doing, but one alternative might be to use arguments which are evaluated after inputs.
# Should I use 'shellQuote' for reference genome input
# Reference genome input see 'arguments' for inputBinding logic
- position: 100 # 100 for after all other inputs (use -1 if you wish to place item before all inputs)
This isn’t right, you have to use
valueFrom: $(inputs.reference_genome.path). @Monika_Krzyzanowska’s question is specifically about parameterizing
shellQuote, which is not possible. But without knowing what she’s actually trying to accomplish I can’t give an alternate solution.