Skip to content

Commit

Permalink
Report timing & using --cache-mates flag. (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili authored Jan 4, 2022
1 parent bf3704b commit cdacb69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wdl/ExpansionHunter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ workflow ExpansionHunter {
File json = RunExpansionHunter.json
File vcf = RunExpansionHunter.vcf
File overlapping_reads = RunExpansionHunter.overlapping_reads
File timing = RunExpansionHunter.timing
}
}

Expand All @@ -80,6 +81,7 @@ task RunExpansionHunter {
File json = "${output_prefix}.json"
File vcf = "${output_prefix}.vcf"
File overlapping_reads = "${output_prefix}_realigned.bam"
File timing = "${output_prefix}_timing.tsv"
}

command <<<
Expand All @@ -89,7 +91,9 @@ task RunExpansionHunter {
--reads ~{bam_or_cram} \
--reference ~{reference_fasta} \
--variant-catalog ~{variant_catalog} \
--output-prefix ~{output_prefix}
--output-prefix ~{output_prefix} \
--cache-mates \
--record-timing
>>>

RuntimeAttr runtime_attr_str_profile_default = object {
Expand Down
1 change: 1 addition & 0 deletions wdl/ExpansionHunterScatter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ workflow ExpansionHunterScatter {
Array[File] jsons = expanionHunter.json
Array[File] vcfs = expanionHunter.vcf
Array[File] overlapping_reads = expanionHunter.overlapping_reads
Array[File] timing = expanionHunter.timing
}
}

0 comments on commit cdacb69

Please sign in to comment.