Skip to content

Commit

Permalink
add input option for output file basename
Browse files Browse the repository at this point in the history
  • Loading branch information
apaul7 committed Dec 3, 2021
1 parent 9b6a9cb commit 6e5cb23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions definitions/subworkflows/gatk_soft_filter.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ inputs:
vcf:
type: File
secondaryFiles: [.tbi]
output_basename:
type: string?
default: "soft_filtered"
outputs:
filtered_vcf:
type: File
Expand Down Expand Up @@ -69,8 +72,7 @@ steps:
merge:
run: ../tools/merge_vcf.cwl
in:
merged_vcf_basename:
default: "soft_filtered"
merged_vcf_basename: output_basename
vcfs:
source: [filter_snps/filtered_vcf, filter_indels/filtered_vcf]
linkMerge: merge_flattened
Expand Down
2 changes: 2 additions & 0 deletions definitions/subworkflows/joint_genotype.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ steps:
in:
reference: reference
vcf: bgzip_index_annotated_vcf/indexed_vcf
output_basename:
default: "annotated"
out:
[filtered_vcf]
filter_vcf:
Expand Down

0 comments on commit 6e5cb23

Please sign in to comment.