Skip to content
Snippets Groups Projects
Commit d76faa5a authored by cedrick's avatar cedrick
Browse files

update bcftools.wdk

parent 80566da7
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ task View {
input {
File inputFile
String outputPath = "output.vcf"
Boolean excludeUncalled = false
String? exclude
String? include
String memory = "256M"
......@@ -304,8 +304,9 @@ task View {
set -e
mkdir -p "$(dirname ~{outputPath})"
bcftools view \
~{"--include " + include} \
~{"--exclude " + exclude} \
~{"--include " + include} \
~{true="--exclude-uncalled" false="" excludeUncalled} \
-o ~{outputPath} \
-O ~{true="z" false="v" compressed} \
~{inputFile}
......@@ -330,6 +331,8 @@ task View {
outputPath: {description: "The location the output VCF file should be written.", category: "common"}
include: {description: "Select sites for which the expression is true (see man page for details).", category: "advanced"}
exclude: {description: "Exclude sites for which the expression is true (see man page for details).", category: "advanced"}
excludeUncalled: {description: "Exclude sites without a called genotype (see man page for details).", category: "advanced"}
memory: {description: "The amount of memory this job will use.", category: "advanced"}
timeMinutes: {description: "The maximum amount of time the job will run in minutes.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.", category: "advanced"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment