-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version 1.0 | ||
|
||
import "Structs.wdl" | ||
import "Utils.wdl" as util | ||
|
||
workflow SubsetVcfBySamples { | ||
input { | ||
File vcf | ||
File? vcf_index | ||
File list_of_samples # List of samples to keep (default, remove_samples = false) or remove (remove_samples = true) | ||
String? outfile_name | ||
Boolean? remove_samples # If false (default), keep samples in provided list. If true, remove them. | ||
Boolean? remove_private_sites # If true (default), remove sites that are private to excluded samples. If false, keep sites even if no remaining samples are non-ref. | ||
String sv_base_mini_docker | ||
RuntimeAttr? runtime_attr_subset_by_samples | ||
} | ||
call util.SubsetVcfBySamplesList { | ||
input: | ||
vcf = vcf, | ||
vcf_idx = vcf_index, | ||
list_of_samples = list_of_samples, | ||
outfile_name = outfile_name, | ||
remove_samples = remove_samples, | ||
remove_private_sites = remove_private_sites, | ||
sv_base_mini_docker = sv_base_mini_docker, | ||
runtime_attr_override = runtime_attr_subset_by_samples | ||
} | ||
output { | ||
File vcf_subset = SubsetVcfBySamplesList.vcf_subset | ||
File vcf_subset_index = SubsetVcfBySamplesList.vcf_subset_index | ||
} | ||
} |