Skip to content

Commit

Permalink
Minor changes, paths, config and script
Browse files Browse the repository at this point in the history
  • Loading branch information
emmarousseau committed Apr 11, 2024
1 parent 576d926 commit f25ca06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/samtools/samtools_sort/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ argument_groups:
description: |
Write final output to file.
required: true
must_exist: false
direction: output
example: out.bam
- name: --output_fmt
alternatives: -O
Expand Down
4 changes: 2 additions & 2 deletions src/samtools/samtools_sort/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
[[ "$par_no_PG" == "false" ]] && unset par_no_PG


$(which samtools) sort \
samtools sort \
${par_compression:+-l "$par_compression"} \
${par_uncompressed:+-u} \
${par_minimiser:+-M} \
Expand All @@ -40,4 +40,4 @@ $(which samtools) sort \
"$par_input"

# save text files containing the output of samtools view for later comparison
$(which samtools) view "$par_output" -o "$par_output".txt
samtools view "$par_output" -o "$par_output".txt
4 changes: 2 additions & 2 deletions src/samtools/samtools_sort/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

test_dir="${meta_resources_dir}test_data"
out_dir="${meta_resources_dir}test_data/text"
test_dir="${meta_resources_dir}/test_data"
out_dir="${meta_resources_dir}/test_data/text"

# Files are compared using the "samtools view" output.
############################################################################################
Expand Down

0 comments on commit f25ca06

Please sign in to comment.