From eb2e475c074d295a3cbc96c30607f5f027a7a31e Mon Sep 17 00:00:00 2001 From: Andrew Frantz Date: Mon, 10 Jun 2024 16:05:46 -0400 Subject: [PATCH] tests: add an extra RG case --- tests/tools/input/test.extra_RG.bam | 3 +++ tests/tools/test_samtools.yaml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/tools/input/test.extra_RG.bam diff --git a/tests/tools/input/test.extra_RG.bam b/tests/tools/input/test.extra_RG.bam new file mode 100644 index 00000000..a50bc693 --- /dev/null +++ b/tests/tools/input/test.extra_RG.bam @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7919615ffb3122715ae1d8428fedc340402eba969ffc086475f0dcf053dca2b0 +size 38283 diff --git a/tests/tools/test_samtools.yaml b/tests/tools/test_samtools.yaml index 8eb20bab..c6559687 100644 --- a/tests/tools/test_samtools.yaml +++ b/tests/tools/test_samtools.yaml @@ -26,6 +26,14 @@ miniwdl run --verbose -d test-output/. --task split tools/samtools.wdl bam="tests/tools/input/test.unaccounted_read.bam" exit_code: 21 +- name: samtools_split_extra_RG + tags: + - miniwdl + - samtools + command: >- + miniwdl run --verbose -d test-output/. --task split tools/samtools.wdl bam="tests/tools/input/test.extra_RG.bam" + exit_code: 42 + - name: samtools_flagstat tags: - miniwdl