【WDL】5. 实践与建议

2022-05-11  本文已影响0人  生物信息与育种

WDL开发工具IDE介绍

语法校验:WOMtool

https://cromwell.readthedocs.io/en/stable/WOMtool/

脚本实践

应用示例

实践:WES简易流程编写

从fastq质控到call SNP的流程?

一些建议

程序粒度的切分

输入输出问题

合理使用sub-workflow

一些问题

# can do this in cromwell 
workflow foo{
    Map[String, Int] map
    scatter(pair in map){
        String key = pair.left
        Int value = pair.right
    }
    
    output{
        # automatically gathered from inside the scatter:
        Array[String] keys = key
        Array[Int] values = value
    }
}

往期:
【WDL】1. 语言介绍
【WDL】2. 基础结构
【WDL】3. 变量类型
【WDL】4. 内置函数

Ref
http://www.xtaohub.com/WDL-Intro/WDL-lesson5.html
http://www.xtaohub.com/WDL-Intro/WDL-lesson6.html

上一篇下一篇

猜你喜欢

热点阅读