|
|
|
|
|
|
|
|
String docker_annotsv |
|
|
String docker_annotsv |
|
|
String docker_sequenza |
|
|
String docker_sequenza |
|
|
if (defined(inputBams)) { |
|
|
if (defined(inputBams)) { |
|
|
call cnvkit_multi.cnvkit_multi as cnvkit{ |
|
|
|
|
|
|
|
|
call cnvkit_multi.cnvkit_multi as cnvkit_multi{ |
|
|
input: |
|
|
input: |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
ref_dir=ref_fasta_cnvkit, |
|
|
ref_dir=ref_fasta_cnvkit, |
|
|
|
|
|
|
|
|
cluster_config=cluster_config, |
|
|
cluster_config=cluster_config, |
|
|
disk_size=disk_size |
|
|
disk_size=disk_size |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
call AnnotSV.AnnotSV as cnvkit_AnnotSV{ |
|
|
|
|
|
input: |
|
|
|
|
|
sample=sample_id, |
|
|
|
|
|
somatic_vcf=cnvkit_multi.cnv_bed, |
|
|
|
|
|
annotsv_database=annotsv_database, |
|
|
|
|
|
docker=docker_annotsv, |
|
|
|
|
|
cluster_config=cluster_config, |
|
|
|
|
|
disk_size=disk_size |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (!defined(inputBams)) { |
|
|
if (!defined(inputBams)) { |
|
|
call cnvkit.cnvkit as cnvkit{ |
|
|
call cnvkit.cnvkit as cnvkit{ |
|
|
|
|
|
|
|
|
cluster_config=cluster_config, |
|
|
cluster_config=cluster_config, |
|
|
disk_size=disk_size |
|
|
disk_size=disk_size |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
call AnnotSV.AnnotSV as cnvkit_AnnotSV{ |
|
|
|
|
|
|
|
|
call AnnotSV.AnnotSV as cnvkit_AnnotSV{ |
|
|
input: |
|
|
input: |
|
|
sample=sample_id, |
|
|
sample=sample_id, |
|
|
somatic_vcf=cnvkit.cnv_bed, |
|
|
somatic_vcf=cnvkit.cnv_bed, |
|
|
|
|
|
|
|
|
cluster_config=cluster_config, |
|
|
cluster_config=cluster_config, |
|
|
disk_size=disk_size |
|
|
disk_size=disk_size |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |