Skip to content

Commit

Permalink
Merge pull request nf-core#1328 from adamrtalbot/alternative_aligners…
Browse files Browse the repository at this point in the history
…_nf-test

Add nf-test for STAR-RSEM and HISAT2 aligners
  • Loading branch information
drpatelh authored Jun 20, 2024
2 parents 53e59a8 + 69faba1 commit c5b4fee
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
- [PR #1324](https://github.com/nf-core/rnaseq/pull/1324) - Fix tags entries and rename pipeline level tests
- [PR #1325](https://github.com/nf-core/rnaseq/pull/1325) - Minor fixes to strandedness settings and messaging
- [PR #1326](https://github.com/nf-core/rnaseq/pull/1326) - Move Conda dependencies for local modules to individual environment file
- [PR #1328](https://github.com/nf-core/rnaseq/pull/1328) - Add pipeline level test for STAR-RSEM and HISAT2
- [PR #1329](https://github.com/nf-core/rnaseq/pull/1329) - Remove tags from all nf-test files

### Parameters
Expand Down
20 changes: 20 additions & 0 deletions tests/hisat2.nf.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
nextflow_pipeline {

name "Test pipeline with HISAT2 aligner"
script "../main.nf"

test("Params: --aligner hisat2") {

when {
params {
outdir = "$outputDir"
aligner = 'hisat2'
}
}

then {
assert workflow.success
}
}
}

20 changes: 20 additions & 0 deletions tests/star_rsem.nf.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
nextflow_pipeline {

name "Test pipeline with STAR aligner and RSEM for quantification"
script "../main.nf"

test("Params: --aligner star_rsem") {

when {
params {
outdir = "$outputDir"
aligner = 'star_rsem'
}
}

then {
assert workflow.success
}
}
}

0 comments on commit c5b4fee

Please sign in to comment.