Skip to content

Add nf-test for STAR-RSEM and HISAT2 aligners #1328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}
}