使用WDL执行GATK HaplotypeCaller教程
2018-03-22 10:33
232 查看
Introduction
这里的workflow叫做
Workflow
在workflow里,我们会执行task并指定task的执行顺序。
Task
例子,比如像GATK RefFasta, sampleName, inputBAM是核心输入。同时GATK会自动寻找支持文件如an index & dictionary for the reference, and an index for the bam:
Running the pipeline
先生成input文件:
在input文件填写具体信息,比如:
改为
执行运行:
参考
这里的workflow叫做
helloHaplotypeCaller;包含一个单任务即是GATK’s HaplotypeCaller。这个task输入一个file
inputBAM,输入一个file
rawVCF。
Workflow
在workflow里,我们会执行task并指定task的执行顺序。
workflow helloHaplotypeCaller { call haplotypeCaller }
Task
例子,比如像GATK RefFasta, sampleName, inputBAM是核心输入。同时GATK会自动寻找支持文件如an index & dictionary for the reference, and an index for the bam:
task haplotypeCaller { File GATK File RefFasta File RefIndex File RefDict String sampleName File inputBAM File bamIndex command { java -jar ${GATK} \ -T HaplotypeCaller \ -R ${RefFasta} \ -I ${inputBAM} \ -o ${sampleName}.raw.indels.snps.vcf } output { File rawVCF = "${sampleName}.raw.indels.snps.vcf" } }
Running the pipeline
先生成input文件:
java -jar wdltool.jar inputs helloHaplotypeCaller.wdl > helloHaplotypeCaller_inputs.json
在input文件填写具体信息,比如:
"workflow.task.variable" : "Type"
改为
"helloHaplotypeCaller.haplotypeCaller.RefFasta" : ".../helloHaplotypeCallerBundle/ref/human_g1k_b37_20.fasta"
执行运行:
java -jar cromwell.jar run helloHaplotypeCaller.wdl -i helloHaplotypeCaller_inputs.json
参考
相关文章推荐
- C++ STL入门教程(6)——set(集合)的使用(附完整程序代码)
- Wireshark抓包工具使用教程以及常用抓包规则
- J2EE入门视频教程第七讲——JDBC技术简介及使用
- Swift新手教程系列5-函数+selector在swift中的使用方法
- win2008 r2 hyper-v虚拟机的安装使用图文教程第1/2页
- Retrofit2.0 使用教程
- Enterprise Architect使用教程
- Android自定义控件,有关于matrix超详细使用教程及进阶
- C++ STL入门教程(2)——list(双向链表)的使用(附完整程序代码)
- asp.net2.0FileUpload控件的简单使用 - asp.net 教程-
- git与github的配置与使用教程
- 超好用弱口令扫描工具John the Ripper 图解使用教程
- VC++ MFC属性页使用说明(孙鑫视频教程总结)(2)
- [软件教程]专业屏幕捕捉软件 HyperSnap-DX 使用教程
- 使用70行Python代码实现一个递归下降解析器的教程
- Eclipse使用入门教程
- Erstudio8.0怎么用?Erstudio8.0汉化版详细使用教程
- SVN使用教程之-分支/标记 合并
- 【易语言界面开发系列教程之(EX_UI使用系列教程(13)--设置鼠标指针皮肤)】
- PC使用网线上网的条件下,通过PC的Wifi共享提供手机上网教程