Skip to content

Commit

Permalink
output id rename map
Browse files Browse the repository at this point in the history
  • Loading branch information
epiercehoffman committed Apr 27, 2024
1 parent 803451f commit 96d585f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions wdl/ApplyNCRAndRefArtifactFilters.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ workflow ApplyNCRAndRefArtifactFilters {
output {
Array[File] filtered_vcfs = ApplyNCRAndRefArtifactFiltersPerContig.filtered_vcf
Array[File] filtered_vcf_indexes = ApplyNCRAndRefArtifactFiltersPerContig.filtered_vcf_index
Array[File] id_rename_maps = ApplyNCRAndRefArtifactFiltersPerContig.id_rename_map
}
}
9 changes: 9 additions & 0 deletions wdl/ApplyNCRAndRefArtifactFiltersPerContig.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,17 @@ workflow ApplyNCRAndRefArtifactFiltersPerContig {
runtime_attr_override = runtime_attr_concat_vcfs
}
call tasks.CatUncompressedFiles {
input:
shards=ApplyFilters.id_rename_map,
outfile_name="~{prefix}.id_rename_map.tsv",
sv_base_mini_docker=sv_base_mini_docker
}

output {
File filtered_vcf = ConcatVcfs.concat_vcf
File filtered_vcf_index = ConcatVcfs.concat_vcf_idx
File id_rename_map = CatUncompressedFiles.outfile
}
}

Expand Down Expand Up @@ -110,6 +118,7 @@ task ApplyFilters {
output {
File filtered_vcf = "~{prefix}.vcf.gz"
File id_rename_map = "~{cohort_id}.vid_map.tsv"
}

runtime {
Expand Down

0 comments on commit 96d585f

Please sign in to comment.