【9.3.1.1】CWL命令行工具
A command-line tool is a type of Process object that can be run by itself or as a Workflow step. It is a wrapper for a command like ls, echo, tar, etc. The command-line tool is defined in the baseCommand attribute of the command-line tool CWL document.
CWL命令行工具还必须具有inputs和outputs。以下示例包含用于echo的Linux命令的CWL命令行工具的最小示例,使用输入和输出。

echo.cwl
cwlVersion: v1.2
class: CommandLineTool
baseCommand: echo
stdout: output.txt
inputs:
message:
type: string
inputBinding: {}
outputs:
out:
type: string
outputBinding:
glob: output.txt
loadContents: true
outputEval: $(self[0].contents)
参考资料
这里是一个广告位,,感兴趣的都可以发邮件聊聊:tiehan@sina.cn
个人公众号,比较懒,很少更新,可以在上面提问题,如果回复不及时,可发邮件给我: tiehan@sina.cn
