Skip to content

Commit

Permalink
Change input to vcf_files intsead of files_to_merge
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Nov 20, 2024
1 parent 5d1a732 commit 0bcd03f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions bcftools_merge.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"bcftools_merge.files_to_merge": [
"bcftools_merge.vcf_files": [
["tmp/AMR_subset1000_chr22.vcf.gz", "tmp/EUR_subset1000_chr22.vcf.gz"]
],
"bcftools_merge.output_prefixes": [
"merged_chr22"
],
"bcftools_merge.missing_to_ref": false,
"bcftools_merge.create_index_files": true
"bcftools_merge.missing_to_ref": false
}
4 changes: 2 additions & 2 deletions bcftools_merge.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ version 1.0

workflow bcftools_merge {
input {
Array[Array[File]] files_to_merge
Array[Array[File]] vcf_files
Array[String] output_prefixes
Boolean missing_to_ref = false
String? merge_options
Int mem_gb = 16
}

scatter (pair in zip(files_to_merge, output_prefixes)) {
scatter (pair in zip(vcf_files, output_prefixes)) {

scatter (vcf_file in pair.left) {
call create_index_file {
Expand Down

0 comments on commit 0bcd03f

Please sign in to comment.