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 { ...@@ -290,7 +290,7 @@ task View {
input { input {
File inputFile File inputFile
String outputPath = "output.vcf" String outputPath = "output.vcf"
Boolean excludeUncalled = false
String? exclude String? exclude
String? include String? include
String memory = "256M" String memory = "256M"
...@@ -304,8 +304,9 @@ task View { ...@@ -304,8 +304,9 @@ task View {
set -e set -e
mkdir -p "$(dirname ~{outputPath})" mkdir -p "$(dirname ~{outputPath})"
bcftools view \ bcftools view \
~{"--include " + include} \
~{"--exclude " + exclude} \ ~{"--exclude " + exclude} \
~{"--include " + include} \
~{true="--exclude-uncalled" false="" excludeUncalled} \
-o ~{outputPath} \ -o ~{outputPath} \
-O ~{true="z" false="v" compressed} \ -O ~{true="z" false="v" compressed} \
~{inputFile} ~{inputFile}
...@@ -330,6 +331,8 @@ task View { ...@@ -330,6 +331,8 @@ task View {
outputPath: {description: "The location the output VCF file should be written.", category: "common"} 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"} 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"} 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"} 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"} 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