|
|
@@ -20,7 +20,7 @@ workflow {{ project_name }} { |
|
|
|
File? normal_recaled_bam |
|
|
|
File? normal_recaled_bam_index |
|
|
|
String type |
|
|
|
|
|
|
|
|
|
|
|
String SENTIEON_INSTALL_DIR |
|
|
|
String SENTIEON_LICENSE |
|
|
|
String sentieon_docker |
|
|
@@ -180,76 +180,78 @@ workflow {{ project_name }} { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
call TNseq.TNseq as TNseq { |
|
|
|
input: |
|
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
|
fasta=fasta, |
|
|
|
ref_dir=ref_dir, |
|
|
|
corealigner_bam=corealigner.corealigner_bam, |
|
|
|
corealigner_bam_index=corealigner.corealigner_bam_index, |
|
|
|
tumor_recaled_bam=BQSR.recaled_bam, |
|
|
|
tumor_recaled_bam_index=BQSR.recaled_bam_index, |
|
|
|
dbsnp=dbsnp, |
|
|
|
dbsnp_dir=dbsnp_dir, |
|
|
|
set_pon=set_pon, |
|
|
|
pon_vcf=pon_vcf, |
|
|
|
cosmic_vcf=cosmic_vcf, |
|
|
|
cosmic_dir=cosmic_dir, |
|
|
|
tumor_name=sample + "_tumor", |
|
|
|
normal_name=sample + "_normal", |
|
|
|
docker=sentieon_docker, |
|
|
|
sample=sample, |
|
|
|
disk_size=disk_size, |
|
|
|
cluster_config=cluster_config |
|
|
|
} |
|
|
|
|
|
|
|
call TNscope.TNscope as TNscope { |
|
|
|
input: |
|
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
|
fasta=fasta, |
|
|
|
ref_dir=ref_dir, |
|
|
|
corealigner_bam=corealigner.corealigner_bam, |
|
|
|
corealigner_bam_index=corealigner.corealigner_bam_index, |
|
|
|
tumor_recaled_bam=BQSR.recaled_bam, |
|
|
|
tumor_recaled_bam_index=BQSR.recaled_bam_index, |
|
|
|
dbsnp=dbsnp, |
|
|
|
dbsnp_dir=dbsnp_dir, |
|
|
|
set_pon=set_pon, |
|
|
|
pon_vcf=pon_vcf, |
|
|
|
cosmic_vcf=cosmic_vcf, |
|
|
|
cosmic_dir=cosmic_dir, |
|
|
|
tumor_name=sample + "_tumor", |
|
|
|
normal_name=sample + "_normal", |
|
|
|
docker=sentieon_docker, |
|
|
|
sample=sample, |
|
|
|
disk_size=disk_size, |
|
|
|
cluster_config=cluster_config |
|
|
|
if (type == "tumor") { |
|
|
|
call TNseq.TNseq as TNseq { |
|
|
|
input: |
|
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
|
fasta=fasta, |
|
|
|
ref_dir=ref_dir, |
|
|
|
corealigner_bam=corealigner.corealigner_bam, |
|
|
|
corealigner_bam_index=corealigner.corealigner_bam_index, |
|
|
|
tumor_recaled_bam=BQSR.recaled_bam, |
|
|
|
tumor_recaled_bam_index=BQSR.recaled_bam_index, |
|
|
|
dbsnp=dbsnp, |
|
|
|
dbsnp_dir=dbsnp_dir, |
|
|
|
set_pon=set_pon, |
|
|
|
pon_vcf=pon_vcf, |
|
|
|
cosmic_vcf=cosmic_vcf, |
|
|
|
cosmic_dir=cosmic_dir, |
|
|
|
tumor_name=sample + "_tumor", |
|
|
|
normal_name=sample + "_normal", |
|
|
|
docker=sentieon_docker, |
|
|
|
sample=sample, |
|
|
|
disk_size=disk_size, |
|
|
|
cluster_config=cluster_config |
|
|
|
} |
|
|
|
|
|
|
|
call TNscope.TNscope as TNscope { |
|
|
|
input: |
|
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
|
fasta=fasta, |
|
|
|
ref_dir=ref_dir, |
|
|
|
corealigner_bam=corealigner.corealigner_bam, |
|
|
|
corealigner_bam_index=corealigner.corealigner_bam_index, |
|
|
|
tumor_recaled_bam=BQSR.recaled_bam, |
|
|
|
tumor_recaled_bam_index=BQSR.recaled_bam_index, |
|
|
|
dbsnp=dbsnp, |
|
|
|
dbsnp_dir=dbsnp_dir, |
|
|
|
set_pon=set_pon, |
|
|
|
pon_vcf=pon_vcf, |
|
|
|
cosmic_vcf=cosmic_vcf, |
|
|
|
cosmic_dir=cosmic_dir, |
|
|
|
tumor_name=sample + "_tumor", |
|
|
|
normal_name=sample + "_normal", |
|
|
|
docker=sentieon_docker, |
|
|
|
sample=sample, |
|
|
|
disk_size=disk_size, |
|
|
|
cluster_config=cluster_config |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (set_annovar && defined(TNscope.TNscope_vcf) && defined(TNseq.TNseq_vcf)){ |
|
|
|
call annovar.annovar as annovar { |
|
|
|
input: |
|
|
|
docker=annovar_docker, |
|
|
|
database=database, |
|
|
|
tnscope_vcf_file=TNscope.TNscope_vcf, |
|
|
|
tnseq_vcf_file=TNseq.TNseq_vcf, |
|
|
|
sample=sample, |
|
|
|
cluster_config=cluster_config, |
|
|
|
disk_size=disk_size |
|
|
|
} |
|
|
|
call annovar.annovar as annovar { |
|
|
|
input: |
|
|
|
docker=annovar_docker, |
|
|
|
database=database, |
|
|
|
tnscope_vcf_file=TNscope.TNscope_vcf, |
|
|
|
tnseq_vcf_file=TNseq.TNseq_vcf, |
|
|
|
sample=sample, |
|
|
|
cluster_config=cluster_config, |
|
|
|
disk_size=disk_size |
|
|
|
} |
|
|
|
|
|
|
|
if (set_vcf2maf){ |
|
|
|
call vcf2maf.vcf2maf as vcf2maf { |
|
|
|
input: |
|
|
|
docker=vcf2maf_r_docker, |
|
|
|
multianno_tnscope_txt=annovar.multianno_tnscope_txt, |
|
|
|
multianno_tnseq_txt=annovar.multianno_tnseq_txt, |
|
|
|
sample=sample, |
|
|
|
cluster_config=cluster_config, |
|
|
|
disk_size=disk_size |
|
|
|
} |
|
|
|
if (set_vcf2maf){ |
|
|
|
call vcf2maf.vcf2maf as vcf2maf { |
|
|
|
input: |
|
|
|
docker=vcf2maf_r_docker, |
|
|
|
multianno_tnscope_txt=annovar.multianno_tnscope_txt, |
|
|
|
multianno_tnseq_txt=annovar.multianno_tnseq_txt, |
|
|
|
sample=sample, |
|
|
|
cluster_config=cluster_config, |
|
|
|
disk_size=disk_size |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |