Skip to content

Commit

Permalink
Merge pull request #198 from dufeiyu/toil_compatibility
Browse files Browse the repository at this point in the history
Add step to run normal bam_readcount
  • Loading branch information
dufeiyu authored Sep 12, 2017
2 parents be7e682 + 9e6b938 commit 6791f77
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
37 changes: 30 additions & 7 deletions detect_variants/detect_variants.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,18 @@ outputs:
vep_summary:
type: File
outputSource: annotate_variants/vep_summary
snv_bam_readcount:
tumor_snv_bam_readcount:
type: File
outputSource: bam_readcount/snv_bam_readcount
indel_bam_readcount:
outputSource: tumor_bam_readcount/snv_bam_readcount
tumor_indel_bam_readcount:
type: File
outputSource: bam_readcount/indel_bam_readcount
outputSource: tumor_bam_readcount/indel_bam_readcount
normal_snv_bam_readcount:
type: File
outputSource: normal_bam_readcount/snv_bam_readcount
normal_indel_bam_readcount:
type: File
outputSource: normal_bam_readcount/indel_bam_readcount
steps:
mutect:
run: ../mutect/workflow.cwl
Expand Down Expand Up @@ -211,21 +217,38 @@ steps:
reference: reference
out:
[annotated_vcf, vep_summary]
cram_to_bam:
tumor_cram_to_bam:
run: ../cram_to_bam/workflow.cwl
in:
cram: tumor_cram
reference: reference
out:
[bam]
bam_readcount:
normal_cram_to_bam:
run: ../cram_to_bam/workflow.cwl
in:
cram: normal_cram
reference: reference
out:
[bam]
tumor_bam_readcount:
run: ../pvacseq/bam_readcount.cwl
in:
vcf: combine/combined_vcf
sample:
default: 'TUMOR'
reference_fasta: reference
bam: cram_to_bam/bam
bam: tumor_cram_to_bam/bam
out:
[snv_bam_readcount, indel_bam_readcount]
normal_bam_readcount:
run: ../pvacseq/bam_readcount.cwl
in:
vcf: combine/combined_vcf
sample:
default: 'NORMAL'
reference_fasta: reference
bam: normal_cram_to_bam/bam
out:
[snv_bam_readcount, indel_bam_readcount]
bgzip:
Expand Down
4 changes: 2 additions & 2 deletions pvacseq/bam_readcount.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ outputs:
snv_bam_readcount:
type: File?
outputBinding:
glob: bam_readcount_snv.tsv
glob: $(inputs.sample)_bam_readcount_snv.tsv
indel_bam_readcount:
type: File?
outputBinding:
glob: bam_readcount_indel.tsv
glob: $(inputs.sample)_bam_readcount_indel.tsv

0 comments on commit 6791f77

Please sign in to comment.