Skip to content

Commit

Permalink
fix argument issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jan 31, 2024
1 parent 88f7b92 commit 8834105
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bgzip/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ functionality:
description: name of BGZF index file [file.gz.gzi]
- name: Arguments
arguments:
- name: offset
- name: --offset
alternatives: -b
type: integer
description: decompress at virtual file pointer (0-based uncompressed offset)
Expand Down Expand Up @@ -79,6 +79,7 @@ functionality:
[[ "$par_binary" == "false" ]] && unset par_binary
bgzip -c \
${meta_cpus:+--threads "${meta_cpus}"} \
${par_offset:+-b "${par_offset}"} \
${par_decompress:+-d} \
${par_rebgzip:+-g} \
${par_index:+-i} \
Expand All @@ -87,6 +88,7 @@ functionality:
${par_reindex:+-r} \
${par_size:+-s "${par_size}"} \
${par_test:+-t} \
${par_binary:+--binary} \
"$par_input" > "$par_output"
test_resources:
- type: bash_script
Expand Down

0 comments on commit 8834105

Please sign in to comment.