|
|
@@ -61,7 +61,9 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
2. `workflow.wdl` 是定义了每一个步骤的输入文件以及各个步骤之间的以来关系的文件: |
|
|
|
|
|
|
|
```bash |
|
|
|
import "./tasks/mapping.wdl" as mapping |
|
|
|
import "./tasks/Metrics.wdl" as Metrics |
|
|
@@ -126,7 +128,9 @@ |
|
|
|
|
|
|
|
``` |
|
|
|
其中文件最上面的 `import` 代表了所要使用的task文件,中间部分`File/String xxx` 表明了任务所传递出需要定义变量及其类型,`call`部分声明了流程的各个步骤及其依赖关系。(文档的具体说明详见[WDL](https://software.broadinstitute.org/wdl/documentation/spec#alternative-heredoc-syntax)) |
|
|
|
|
|
|
|
3. `input` 文件为整个 **APP** 运行时所要输入的参数,对于可以固定的参数可以直接在`input`文件中给出,对于需要改变的参数用`{{}}`进行引用,将会使得参数在 `samples` 文件中出现;其中`project_name`为所运行的任务的名称,需要在提交任务是进行定义 |
|
|
|
|
|
|
|
```bash |
|
|
|
{ |
|
|
|
"{{ project_name }}.fasta": "GRCh38.d1.vd1.fa", |
|
|
@@ -146,6 +150,7 @@ |
|
|
|
} |
|
|
|
``` |
|
|
|
> `{{ cluster if cluster != '' else 'OnDemand ecs.sn2ne.2xlarge img-ubuntu-vpc' }}`表示当没有指定`cluster` 的配置信息时,则默认使用 **ecs.sn2ne.2xlarge** |
|
|
|
|
|
|
|
4. `sample.csv` 文件为提交任务时使用的输入文件,其内容是根据`input`文件中定义的信息对应生成的,也可使用 `Choppy` 的 `samples` 功能生成: |
|
|
|
```bash |
|
|
|
choppy samples target-germline --output samples.csv |