瀏覽代碼

inputs

master
LUYAO REN 5 年之前
父節點
當前提交
ddefd84df6
共有 3 個檔案被更改,包括 30 行新增30 行删除
  1. +1
    -1
      inputs
  2. +4
    -4
      tasks/GVCFtyper.wdl
  3. +25
    -25
      workflow.wdl

+ 1
- 1
inputs 查看文件

"{{ project_name }}.disk_size": "500", "{{ project_name }}.disk_size": "500",
"{{ project_name }}.inputSamplesFile": "{{ inputSamplesFile }}", "{{ project_name }}.inputSamplesFile": "{{ inputSamplesFile }}",
"{{ project_name }}.docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/sentieon-genomics:v2018.08.01", "{{ project_name }}.docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/sentieon-genomics:v2018.08.01",
"{{ project_name }}.project_name": "{{ project_name }}",
"{{ project_name }}.project": "{{ project }}",
"{{ project_name }}.cluster_config": "OnDemand bcs.a2.7xlarge img-ubuntu-vpc", "{{ project_name }}.cluster_config": "OnDemand bcs.a2.7xlarge img-ubuntu-vpc",
"{{ project_name }}.ref_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/" "{{ project_name }}.ref_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/"
} }

+ 4
- 4
tasks/GVCFtyper.wdl 查看文件

String fasta String fasta
Array[File] vcf Array[File] vcf
Array[File] vcf_idx Array[File] vcf_idx
String project_name
String project
String docker String docker
String cluster_config String cluster_config
String disk_size String disk_size
set -e set -e
export SENTIEON_LICENSE=192.168.0.55:8990 export SENTIEON_LICENSE=192.168.0.55:8990
nt=$(nproc) nt=$(nproc)
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} --algo GVCFtyper ${project_name}.joint.g.vcf ${sep=" " vcf}
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} --algo GVCFtyper ${project}.joint.g.vcf ${sep=" " vcf}
>>> >>>
runtime { runtime {
} }


output { output {
File gvcf = "${project_name}.joint.g.vcf"
File gvcf_idx = "${project_name}.joint.g.vcf.idx"
File gvcf = "${project}.joint.g.vcf"
File gvcf_idx = "${project}.joint.g.vcf.idx"
} }
} }



+ 25
- 25
workflow.wdl 查看文件

import "./tasks/gVCF_chromo_split.wdl" as gVCF_chromo_split import "./tasks/gVCF_chromo_split.wdl" as gVCF_chromo_split
import "./tasks/GVCFtyper.wdl" as GVCFtyper import "./tasks/GVCFtyper.wdl" as GVCFtyper


workflow {{ project_name }} {
workflow project_name {


File inputSamplesFile File inputSamplesFile
Array[Array[File]] inputSamples = read_tsv(inputSamplesFile) Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)


String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String docker String docker
String project_name
String project
String fasta String fasta
File ref_dir File ref_dir
String disk_size String disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr1_gvcf, vcf=gVCF_chromo_split.chr1_gvcf,
vcf_idx=gVCF_chromo_split.chr1_gvcf_idx, vcf_idx=gVCF_chromo_split.chr1_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr2_gvcf, vcf=gVCF_chromo_split.chr2_gvcf,
vcf_idx=gVCF_chromo_split.chr2_gvcf_idx, vcf_idx=gVCF_chromo_split.chr2_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr3_gvcf, vcf=gVCF_chromo_split.chr3_gvcf,
vcf_idx=gVCF_chromo_split.chr3_gvcf_idx, vcf_idx=gVCF_chromo_split.chr3_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr4_gvcf, vcf=gVCF_chromo_split.chr4_gvcf,
vcf_idx=gVCF_chromo_split.chr4_gvcf_idx, vcf_idx=gVCF_chromo_split.chr4_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr5_gvcf, vcf=gVCF_chromo_split.chr5_gvcf,
vcf_idx=gVCF_chromo_split.chr5_gvcf_idx, vcf_idx=gVCF_chromo_split.chr5_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr6_gvcf, vcf=gVCF_chromo_split.chr6_gvcf,
vcf_idx=gVCF_chromo_split.chr6_gvcf_idx, vcf_idx=gVCF_chromo_split.chr6_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr7_gvcf, vcf=gVCF_chromo_split.chr7_gvcf,
vcf_idx=gVCF_chromo_split.chr7_gvcf_idx, vcf_idx=gVCF_chromo_split.chr7_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr8_gvcf, vcf=gVCF_chromo_split.chr8_gvcf,
vcf_idx=gVCF_chromo_split.chr8_gvcf_idx, vcf_idx=gVCF_chromo_split.chr8_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr9_gvcf, vcf=gVCF_chromo_split.chr9_gvcf,
vcf_idx=gVCF_chromo_split.chr9_gvcf_idx, vcf_idx=gVCF_chromo_split.chr9_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr10_gvcf, vcf=gVCF_chromo_split.chr10_gvcf,
vcf_idx=gVCF_chromo_split.chr10_gvcf_idx, vcf_idx=gVCF_chromo_split.chr10_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr11_gvcf, vcf=gVCF_chromo_split.chr11_gvcf,
vcf_idx=gVCF_chromo_split.chr11_gvcf_idx, vcf_idx=gVCF_chromo_split.chr11_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr12_gvcf, vcf=gVCF_chromo_split.chr12_gvcf,
vcf_idx=gVCF_chromo_split.chr12_gvcf_idx, vcf_idx=gVCF_chromo_split.chr12_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr13_gvcf, vcf=gVCF_chromo_split.chr13_gvcf,
vcf_idx=gVCF_chromo_split.chr13_gvcf_idx, vcf_idx=gVCF_chromo_split.chr13_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr14_gvcf, vcf=gVCF_chromo_split.chr14_gvcf,
vcf_idx=gVCF_chromo_split.chr14_gvcf_idx, vcf_idx=gVCF_chromo_split.chr14_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr15_gvcf, vcf=gVCF_chromo_split.chr15_gvcf,
vcf_idx=gVCF_chromo_split.chr15_gvcf_idx, vcf_idx=gVCF_chromo_split.chr15_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr16_gvcf, vcf=gVCF_chromo_split.chr16_gvcf,
vcf_idx=gVCF_chromo_split.chr16_gvcf_idx, vcf_idx=gVCF_chromo_split.chr16_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr17_gvcf, vcf=gVCF_chromo_split.chr17_gvcf,
vcf_idx=gVCF_chromo_split.chr17_gvcf_idx, vcf_idx=gVCF_chromo_split.chr17_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr18_gvcf, vcf=gVCF_chromo_split.chr18_gvcf,
vcf_idx=gVCF_chromo_split.chr18_gvcf_idx, vcf_idx=gVCF_chromo_split.chr18_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr19_gvcf, vcf=gVCF_chromo_split.chr19_gvcf,
vcf_idx=gVCF_chromo_split.chr19_gvcf_idx, vcf_idx=gVCF_chromo_split.chr19_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr20_gvcf, vcf=gVCF_chromo_split.chr20_gvcf,
vcf_idx=gVCF_chromo_split.chr20_gvcf_idx, vcf_idx=gVCF_chromo_split.chr20_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr21_gvcf, vcf=gVCF_chromo_split.chr21_gvcf,
vcf_idx=gVCF_chromo_split.chr21_gvcf_idx, vcf_idx=gVCF_chromo_split.chr21_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chr22_gvcf, vcf=gVCF_chromo_split.chr22_gvcf,
vcf_idx=gVCF_chromo_split.chr22_gvcf_idx, vcf_idx=gVCF_chromo_split.chr22_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
fasta=fasta, fasta=fasta,
vcf=gVCF_chromo_split.chrX_gvcf, vcf=gVCF_chromo_split.chrX_gvcf,
vcf_idx=gVCF_chromo_split.chrX_gvcf_idx, vcf_idx=gVCF_chromo_split.chrX_gvcf_idx,
project_name=project_name,
project=project,
docker=docker, docker=docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size

Loading…
取消
儲存