Skip to content

Commit

Permalink
adding meta variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaspe committed Aug 26, 2024
1 parent 146ca1f commit aa2c460
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bcftools/bcftools_sort/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ argument_groups:
arguments:
- name: --output_type
type: string
choices: [b, u, z, v]
description: |
Compresses or uncompresses the output.
The options are:
b: compressed BCF,
u: uncompressed BCF,
z: compressed VCF,
v: uncompressed VCF.
v: uncompressed VCF.
resources:
- type: bash_script
Expand Down
2 changes: 2 additions & 0 deletions src/bcftools/bcftools_sort/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ set -eo pipefail
bcftools sort \
-o "$par_output" \
${par_output_type:+-O "$par_output_type"} \
${meta_memory_mb:+-m "${meta_memory_mb}M"} \
${meta_temp_dir:+-T "$meta_temp_dir"} \
$par_input \

0 comments on commit aa2c460

Please sign in to comment.