This is a test version of Biostars. For the public version, visit https://www.biostars.org.
CWL : default value and label for argument

Hello,

I'd like to know how to define a default value and a description for an argument. I saw that CommandInputParameter has a 'default' and a 'label' fields, but not argument. My param is -o prefix where prefix is assembly when -o is not used.

common-workflow-language cwl

1 answer

Hello Sebastien,

Some more information would be useful. Typically arguments are for parameters that don't vary based upon the input to the CommandLineTool. So it is a bit odd when you talk about "-o" being used or not being used -- sounds like it should be a CommandInputParameter not an entry to arguments.

Ok, I misunderstood. I'll use CommandInputParameter.

thanks.

Log in to answer this question.