|
|
|
|
|
|
|
|
import "./tasks/somatic.wdl" as somatic |
|
|
import "./tasks/somatic.wdl" as somatic |
|
|
import "./tasks/processSomatic.wdl" as processSomatic |
|
|
import "./tasks/processSomatic.wdl" as processSomatic |
|
|
import "./tasks/somaticFilter.wdl" as somaticFilter |
|
|
import "./tasks/somaticFilter.wdl" as somaticFilter |
|
|
|
|
|
import "./tasks/replaceRG.wdl" as replaceRG |
|
|
|
|
|
import "./tasks/pindel.wdl" as pindel |
|
|
import "./tasks/ANNOVAR.wdl" as ANNOVAR |
|
|
import "./tasks/ANNOVAR.wdl" as ANNOVAR |
|
|
import "./tasks/VEP.wdl" as VEP |
|
|
import "./tasks/VEP.wdl" as VEP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
File? normal_fastq_1 |
|
|
File? normal_fastq_1 |
|
|
File? normal_fastq_2 |
|
|
File? normal_fastq_2 |
|
|
File? tumor_deduped_bam |
|
|
File? tumor_deduped_bam |
|
|
File? tumor_deduped_bam_index |
|
|
|
|
|
File? normal_deduped_bam |
|
|
File? normal_deduped_bam |
|
|
File? normal_deduped_bam_index |
|
|
|
|
|
|
|
|
|
|
|
Boolean input_fastq |
|
|
Boolean input_fastq |
|
|
Boolean input_bam |
|
|
Boolean input_bam |
|
|
|
|
|
|
|
|
String SENTIEON_LICENSE |
|
|
String SENTIEON_LICENSE |
|
|
String sentieon_docker |
|
|
String sentieon_docker |
|
|
String varscan_docker |
|
|
String varscan_docker |
|
|
|
|
|
String pindel_docker |
|
|
|
|
|
String samtools_docker |
|
|
String annovar_docker |
|
|
String annovar_docker |
|
|
String vep_docker |
|
|
String vep_docker |
|
|
|
|
|
|
|
|
|
|
|
String pl |
|
|
File ref_dir |
|
|
File ref_dir |
|
|
String fasta |
|
|
String fasta |
|
|
File dbmills_dir |
|
|
File dbmills_dir |
|
|
|
|
|
|
|
|
if (tumor_fastq_1!= "") { |
|
|
if (tumor_fastq_1!= "") { |
|
|
call mapping.mapping as tumor_mapping { |
|
|
call mapping.mapping as tumor_mapping { |
|
|
input: |
|
|
input: |
|
|
group=sample_id + '_tumor', |
|
|
|
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
group=sample_id + '.T', |
|
|
|
|
|
sample=sample_id + '.T', |
|
|
fastq_1=tumor_fastq_1, |
|
|
fastq_1=tumor_fastq_1, |
|
|
fastq_2=tumor_fastq_2, |
|
|
fastq_2=tumor_fastq_2, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
pl="ILLUMINAL", |
|
|
|
|
|
|
|
|
pl=pl, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
|
|
|
|
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
sorted_bam=tumor_mapping.sorted_bam, |
|
|
sorted_bam=tumor_mapping.sorted_bam, |
|
|
sorted_bam_index=tumor_mapping.sorted_bam_index, |
|
|
sorted_bam_index=tumor_mapping.sorted_bam_index, |
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
sample=sample_id + '.T', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
sorted_bam=tumor_mapping.sorted_bam, |
|
|
sorted_bam=tumor_mapping.sorted_bam, |
|
|
sorted_bam_index=tumor_mapping.sorted_bam_index, |
|
|
sorted_bam_index=tumor_mapping.sorted_bam_index, |
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
sample=sample_id + '.T', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
deduped_bam=tumor_Dedup.deduped_bam, |
|
|
deduped_bam=tumor_Dedup.deduped_bam, |
|
|
deduped_bam_index=tumor_Dedup.deduped_bam_index, |
|
|
deduped_bam_index=tumor_Dedup.deduped_bam_index, |
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
sample=sample_id + '.T', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
dbmills_dir=dbmills_dir, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
sample=sample_id + '.T', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
if (normal_fastq_1!= "") { |
|
|
if (normal_fastq_1!= "") { |
|
|
call mapping.mapping as normal_mapping { |
|
|
call mapping.mapping as normal_mapping { |
|
|
input: |
|
|
input: |
|
|
group=sample_id + '_normal', |
|
|
|
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
group=sample_id + '.N', |
|
|
|
|
|
sample=sample_id + '.N', |
|
|
fastq_1=normal_fastq_1, |
|
|
fastq_1=normal_fastq_1, |
|
|
fastq_2=normal_fastq_2, |
|
|
fastq_2=normal_fastq_2, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
pl="ILLUMINAL", |
|
|
|
|
|
|
|
|
pl=pl, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
|
|
|
|
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
sorted_bam=normal_mapping.sorted_bam, |
|
|
sorted_bam=normal_mapping.sorted_bam, |
|
|
sorted_bam_index=normal_mapping.sorted_bam_index, |
|
|
sorted_bam_index=normal_mapping.sorted_bam_index, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
|
|
|
|
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
sorted_bam=normal_mapping.sorted_bam, |
|
|
sorted_bam=normal_mapping.sorted_bam, |
|
|
sorted_bam_index=normal_mapping.sorted_bam_index, |
|
|
sorted_bam_index=normal_mapping.sorted_bam_index, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
deduped_bam=normal_Dedup.deduped_bam, |
|
|
deduped_bam=normal_Dedup.deduped_bam, |
|
|
deduped_bam_index=normal_Dedup.deduped_bam_index, |
|
|
deduped_bam_index=normal_Dedup.deduped_bam_index, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
|
|
|
|
|
|
dbmills_dir=dbmills_dir, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (haplotyper) { |
|
|
if (haplotyper) { |
|
|
call Haplotyper.Haplotyper as Haplotyper { |
|
|
call Haplotyper.Haplotyper as Haplotyper { |
|
|
input: |
|
|
input: |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
recaled_bam=normal_BQSR.recaled_bam, |
|
|
recaled_bam=normal_BQSR.recaled_bam, |
|
|
|
|
|
|
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (pindel) { |
|
|
|
|
|
call pindel.pindel as pindel { |
|
|
|
|
|
input: |
|
|
|
|
|
sample_id=sample_id + '.N', |
|
|
|
|
|
bam=normal_BQSR.recaled_bam, |
|
|
|
|
|
bam_index=normal_BQSR.recaled_bam_index, |
|
|
|
|
|
fasta=fasta, |
|
|
|
|
|
ref_dir=ref_dir, |
|
|
|
|
|
docker=pindel_docker, |
|
|
|
|
|
disk_size=disk_size, |
|
|
|
|
|
cluster_config=cluster_config |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (tnseq) { |
|
|
if (tnseq) { |
|
|
call TNseq.TNseq as TNseq { |
|
|
call TNseq.TNseq as TNseq { |
|
|
input: |
|
|
input: |
|
|
|
|
|
|
|
|
normal_recaled_bam_index=normal_BQSR.recaled_bam_index, |
|
|
normal_recaled_bam_index=normal_BQSR.recaled_bam_index, |
|
|
tumor_recaled_bam=tumor_BQSR.recaled_bam, |
|
|
tumor_recaled_bam=tumor_BQSR.recaled_bam, |
|
|
tumor_recaled_bam_index=tumor_BQSR.recaled_bam_index, |
|
|
tumor_recaled_bam_index=tumor_BQSR.recaled_bam_index, |
|
|
normal_name=sample_id + "_normal", |
|
|
|
|
|
tumor_name=sample_id + "_tumor", |
|
|
|
|
|
|
|
|
normal_name=sample_id + ".N", |
|
|
|
|
|
tumor_name=sample_id + ".T", |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |
|
|
|
|
|
|
|
|
normal_recaled_bam_index=normal_BQSR.recaled_bam_index, |
|
|
normal_recaled_bam_index=normal_BQSR.recaled_bam_index, |
|
|
tumor_recaled_bam=tumor_BQSR.recaled_bam, |
|
|
tumor_recaled_bam=tumor_BQSR.recaled_bam, |
|
|
tumor_recaled_bam_index=tumor_BQSR.recaled_bam_index, |
|
|
tumor_recaled_bam_index=tumor_BQSR.recaled_bam_index, |
|
|
normal_name=sample_id + "_normal", |
|
|
|
|
|
tumor_name=sample_id + "_tumor", |
|
|
|
|
|
|
|
|
normal_name=sample_id + ".N", |
|
|
|
|
|
tumor_name=sample_id + ".T", |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (input_bam) { |
|
|
if (input_bam) { |
|
|
if (tumor_deduped_bam != "") { |
|
|
if (tumor_deduped_bam != "") { |
|
|
|
|
|
call replaceRG.replaceRG as tumor_replaceRG { |
|
|
|
|
|
input: |
|
|
|
|
|
bam=tumor_deduped_bam, |
|
|
|
|
|
group=group_id + '.T', |
|
|
|
|
|
sample=sample_id + '.T', |
|
|
|
|
|
pl=pl, |
|
|
|
|
|
docker=samtools_docker, |
|
|
|
|
|
disk_size=disk_size, |
|
|
|
|
|
cluster_config=cluster_config |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
call BQSR.BQSR as tumor_BQSR_fb { |
|
|
call BQSR.BQSR as tumor_BQSR_fb { |
|
|
input: |
|
|
input: |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
deduped_bam=tumor_deduped_bam, |
|
|
|
|
|
deduped_bam_index=tumor_deduped_bam_index, |
|
|
|
|
|
|
|
|
deduped_bam=tumor_replaceRG.bam, |
|
|
|
|
|
deduped_bam_index=tumor_replaceRG.bam_index, |
|
|
db_mills=db_mills, |
|
|
db_mills=db_mills, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
sample=sample_id + '_tumor', |
|
|
|
|
|
|
|
|
sample=sample_id + '.T', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (normal_deduped_bam != "") { |
|
|
if (normal_deduped_bam != "") { |
|
|
|
|
|
call replaceRG.replaceRG as normal_replaceRG { |
|
|
|
|
|
input: |
|
|
|
|
|
bam=normal_deduped_bam, |
|
|
|
|
|
group=group_id + '.N', |
|
|
|
|
|
sample=sample_id + '.N', |
|
|
|
|
|
pl=pl, |
|
|
|
|
|
docker=samtools_docker, |
|
|
|
|
|
disk_size=disk_size, |
|
|
|
|
|
cluster_config=cluster_config |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
call BQSR.BQSR as normal_BQSR_fb { |
|
|
call BQSR.BQSR as normal_BQSR_fb { |
|
|
input: |
|
|
input: |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
deduped_bam=normal_deduped_bam, |
|
|
|
|
|
deduped_bam_index=normal_deduped_bam_index, |
|
|
|
|
|
|
|
|
deduped_bam=normal_replaceRG.bam, |
|
|
|
|
|
deduped_bam_index=normal_replaceRG.bam_index, |
|
|
db_mills=db_mills, |
|
|
db_mills=db_mills, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbmills_dir=dbmills_dir, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp=dbsnp, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
dbsnp_dir=dbsnp_dir, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
docker=sentieon_docker, |
|
|
docker=sentieon_docker, |
|
|
disk_size=disk_size, |
|
|
disk_size=disk_size, |
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
|
|
|
|
|
|
input: |
|
|
input: |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
SENTIEON_LICENSE=SENTIEON_LICENSE, |
|
|
sample=sample_id + '_normal', |
|
|
|
|
|
|
|
|
sample=sample_id + '.N', |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
recaled_bam=normal_BQSR_fb.recaled_bam, |
|
|
recaled_bam=normal_BQSR_fb.recaled_bam, |
|
|
|
|
|
|
|
|
cluster_config=cluster_config |
|
|
cluster_config=cluster_config |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (pindel) { |
|
|
|
|
|
call pindel.pindel as pindel_fb { |
|
|
|
|
|
input: |
|
|
|
|
|
sample_id=sample_id + '.N', |
|
|
|
|
|
bam=normal_BQSR_fb.recaled_bam, |
|
|
|
|
|
bam_index=normal_BQSR_fb.recaled_bam_index, |
|
|
|
|
|
fasta=fasta, |
|
|
|
|
|
ref_dir=ref_dir, |
|
|
|
|
|
docker=pindel_docker, |
|
|
|
|
|
disk_size=disk_size, |
|
|
|
|
|
cluster_config=cluster_config |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (tnseq) { |
|
|
if (tnseq) { |
|
|
call TNseq.TNseq as TNseq_fb { |
|
|
call TNseq.TNseq as TNseq_fb { |
|
|
input: |
|
|
input: |
|
|
|
|
|
|
|
|
normal_recaled_bam_index=normal_BQSR_fb.recaled_bam_index, |
|
|
normal_recaled_bam_index=normal_BQSR_fb.recaled_bam_index, |
|
|
tumor_recaled_bam=tumor_BQSR_fb.recaled_bam, |
|
|
tumor_recaled_bam=tumor_BQSR_fb.recaled_bam, |
|
|
tumor_recaled_bam_index=tumor_BQSR_fb.recaled_bam_index, |
|
|
tumor_recaled_bam_index=tumor_BQSR_fb.recaled_bam_index, |
|
|
normal_name=sample_id + "_normal", |
|
|
|
|
|
tumor_name=sample_id + "_tumor", |
|
|
|
|
|
|
|
|
normal_name=sample_id + ".N", |
|
|
|
|
|
tumor_name=sample_id + ".T", |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |
|
|
|
|
|
|
|
|
normal_recaled_bam_index=normal_BQSR_fb.recaled_bam_index, |
|
|
normal_recaled_bam_index=normal_BQSR_fb.recaled_bam_index, |
|
|
tumor_recaled_bam=tumor_BQSR_fb.recaled_bam, |
|
|
tumor_recaled_bam=tumor_BQSR_fb.recaled_bam, |
|
|
tumor_recaled_bam_index=tumor_BQSR_fb.recaled_bam_index, |
|
|
tumor_recaled_bam_index=tumor_BQSR_fb.recaled_bam_index, |
|
|
normal_name=sample_id + "_normal", |
|
|
|
|
|
tumor_name=sample_id + "_tumor", |
|
|
|
|
|
|
|
|
normal_name=sample_id + ".N", |
|
|
|
|
|
tumor_name=sample_id + ".T", |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
regions=regions, |
|
|
regions=regions, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |
|
|
|
|
|
|
|
|
hg=hg, |
|
|
hg=hg, |
|
|
only_pass=only_pass, |
|
|
only_pass=only_pass, |
|
|
sample_id=sample_id, |
|
|
sample_id=sample_id, |
|
|
tumor_id=sample_id + "_tumor", |
|
|
|
|
|
normal_id=sample_id + "_normal", |
|
|
|
|
|
|
|
|
tumor_id=sample_id + ".T", |
|
|
|
|
|
normal_id=sample_id + ".N", |
|
|
ref_dir=ref_dir, |
|
|
ref_dir=ref_dir, |
|
|
fasta=fasta, |
|
|
fasta=fasta, |
|
|
vep_path=vep_path, |
|
|
vep_path=vep_path, |