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 云端基因组学
用工作流自动执行分析任务
239
杂工作流,变量名多达几十个,这一点就难以做到。如果是为复用代码而导入工作
流或子工作流,则变量冲突尤其难以避免,第
9
章我们将介绍该情况(哦,再次剧
透!)。请注意你可以在工作流层级声明一个变量(并在
JSON
输入文件中使用输
入的命名句法
WorkflowName.variable
),但是你打算在哪个任务调用使用该变量,
就要显式将变量传入哪个。本章稍后会给出示例,到时你可动手尝试。
8.3.5
增加另一任务,完善工作流
工作中用的真正工作流通常有一个以上任务,并且工作流的某些任务依赖其他任务
的输出。用
nano
编辑器打开
hello-world-again.wdl
$ nano $WF/hello-world/hello-world-again.wdl
这是我们第三次迭代
Hello World
示例,本次我们编排两个任务到工作流,使其更
逼真:
version
1.0
workflow HelloWorldAgain {
call
WriteGreeting
call
ReadItBackToMe {
input
:
written_greeting = WriteGreeting.output_greeting
}
output
{
File
outfile = ReadItBackToMe.repeated_greeting
}
}
task
WriteGreeting {
input
{
String
greeting
}
command
{
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