Skip to Content
云端基因组学
book

云端基因组学

by Geraldine A. Van der Auwera, Brian D. O’Connor
April 2022
Beginner to intermediate
486 pages
10h 22m
Chinese
China Electric Power Press Ltd.
Content preview from 云端基因组学
264
9
的是,本章不直接解释所有代码;实际上有部分代码我们一点也没讲。该练习重点
放在更重要部分,跟我们尝试讲解内容无关细节,我们将予以忽略。
本章你用的虚拟机环境与第
8
章相同,同样是从
home
目录运行命令。我们现在就
开始练习,首先在你的虚拟机
shell
中设置一个环境变量,以缩短命令:
$ export CASE1=~/book/code/workflows/mystery-1
我们照旧创建一沙盒目录以存储输出:
$ mkdir ~/sandbox-9
完成这两项操作,我们就可以深入学习了。
9.1.1
工作流制图
当你遇到一新工作流,你可能迫不及待打开
WDL
文件,直接读取代码以理解其内容。
然而除非你非常熟悉这门语言(或其编者异常详细记录其工作),否则你很可能徒
劳无功。我们提倡采用两步走方法。该方法有助于你理解工作流的总体目标和结构。
首先生成工作流任务图表,接着识别代码的哪些部分对应图表中的哪个主要组件。
这样你将得到整个工作流的一份图纸,并找到深挖其细节的入口。
生成工作流图
你可能还记得第
8
章我们讨论过,一个工作流的各任务之间的各种联系是如何形成
一张有向图的。工作流执行引擎使用该图识别两个任务之间的依赖关系,并据此确
定其执行顺序。我们在第
8
章曾为
HaplotypeCaller
工作流生成图,我们这里也可
以像之前那样利用该信息制图。
我们为这个神秘工作流制图,方法同第
8
,用
womtool
graph
命令处理
WDL
件:
$ cat ~/sandbox-9/haplotypecaller-gvcf-gatk4.dot ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Overcome a Power Deficit

How to Overcome a Power Deficit

Cyril Bouquet, Jean-Louis Barsoux
The Human Factor in AI-Based Decision-Making

The Human Factor in AI-Based Decision-Making

Philip Meissner, Christoph Keding

Publisher Resources

ISBN: 9787519864422