Skip to content

Commit 6e5cb23

Browse files
committed
add input option for output file basename
1 parent 9b6a9cb commit 6e5cb23

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

definitions/subworkflows/gatk_soft_filter.cwl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ inputs:
1616
vcf:
1717
type: File
1818
secondaryFiles: [.tbi]
19+
output_basename:
20+
type: string?
21+
default: "soft_filtered"
1922
outputs:
2023
filtered_vcf:
2124
type: File
@@ -69,8 +72,7 @@ steps:
6972
merge:
7073
run: ../tools/merge_vcf.cwl
7174
in:
72-
merged_vcf_basename:
73-
default: "soft_filtered"
75+
merged_vcf_basename: output_basename
7476
vcfs:
7577
source: [filter_snps/filtered_vcf, filter_indels/filtered_vcf]
7678
linkMerge: merge_flattened

definitions/subworkflows/joint_genotype.cwl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ steps:
172172
in:
173173
reference: reference
174174
vcf: bgzip_index_annotated_vcf/indexed_vcf
175+
output_basename:
176+
default: "annotated"
175177
out:
176178
[filtered_vcf]
177179
filter_vcf:

0 commit comments

Comments
 (0)