Skip to content

Commit

Permalink
test(#10): Add test that should fail
Browse files Browse the repository at this point in the history
But it doesn't
  • Loading branch information
edmundmiller committed Jun 8, 2024
1 parent 6eb0401 commit 38aa69d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ build/
.devenv
result
target/

# justfile testing
*.fastq.gz
*.fa
dragmap/
14 changes: 11 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
dragen := "./result/bin/dragen-os"

test_segfault: test_data
{{dragen}} -r narfmap --RGSM null --num-threads 2 -1 SRX882903_T2.fastq.gz
test_segfault: # test_data build_reference
{{dragen}} -r dragmap --RGSM test --num-threads 2 -1 SRX882903_T2.fastq.gz > output.log

build_reference: test_data
# mkdir dragmap
{{dragen}} \
--build-hash-table true \
--ht-reference GRCh38_chr21.fa \
--output-directory dragmap \
--ht-num-threads 2

test_data:
wget https://raw.githubusercontent.com/nf-core/test-datasets/nascent/testdata/SRX882903_T2.fastq.gz

wget https://raw.githubusercontent.com/nf-core/test-datasets/nascent/reference/GRCh38_chr21.fa

0 comments on commit 38aa69d

Please sign in to comment.