Browse Source

更新 'workflow.wdl'

master
meng 2 years ago
parent
commit
10b2066750
1 changed files with 23 additions and 6 deletions
  1. +23
    -6
      workflow.wdl

+ 23
- 6
workflow.wdl View File

import "./tasks/CNVkit.wdl" as cnvkit import "./tasks/CNVkit.wdl" as cnvkit
import "./tasks/CNVkit_multi_REF.wdl" as cnvkit_multi
import "./tasks/AnnotSV.wdl" as AnnotSV import "./tasks/AnnotSV.wdl" as AnnotSV


workflow {{ project_name }} { workflow {{ project_name }} {
File tumor_bam_bai File tumor_bam_bai
File? normal_bam File? normal_bam
File? normal_bam_bai File? normal_bam_bai
#File? inputBams
#File? inputBamIndexs
Array[File]? inputBams Array[File]? inputBams
Array[File]? inputBamIndexs Array[File]? inputBamIndexs
String docker_cnvkit String docker_cnvkit
String docker_annotsv String docker_annotsv
String docker_sequenza String docker_sequenza


call cnvkit.cnvkit as cnvkit{
input:
if defined(inputBams) && size(inputBams) > 0 {
call cnvkit_multi.cnvkit_multi as cnvkit_multi{
input:
sample_id=sample_id, sample_id=sample_id,
ref_dir=ref_fasta_cnvkit, ref_dir=ref_fasta_cnvkit,
fasta=ref_fasta, fasta=ref_fasta,
bed_file=bed_file, bed_file=bed_file,
tumor_bam=tumor_bam, tumor_bam=tumor_bam,
tumor_bam_index=tumor_bam_bai, tumor_bam_index=tumor_bam_bai,
normal_bam=normal_bam,
normal_bam_index=normal_bam_bai,
normal_bams = inputBams, normal_bams = inputBams,
normal_bam_indexs = inputBamIndexs, normal_bam_indexs = inputBamIndexs,
docker=docker_cnvkit, docker=docker_cnvkit,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size
} }
} else {
call cnvkit.cnvkit as cnvkit{
input:
sample_id=sample_id,
ref_dir=ref_fasta_cnvkit,
fasta=ref_fasta,
ref_flat=ref_flat,
Ploidy=Ploidy,
bed_file=bed_file,
tumor_bam=tumor_bam,
tumor_bam_index=tumor_bam_bai,
normal_bam=normal_bam,
normal_bam_index=normal_bam_bai,
docker=docker_cnvkit,
cluster_config=cluster_config,
disk_size=disk_size
}
}



call AnnotSV.AnnotSV as cnvkit_AnnotSV{ call AnnotSV.AnnotSV as cnvkit_AnnotSV{
input: input:

Loading…
Cancel
Save