Skip to content
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

Ensure pseudoaligner is set if pseudoalignment is not skipped #1124

Merged
merged 13 commits into from
Nov 21, 2023
Merged
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [[3.13.2](https://github.com/nf-core/rnaseq/releases/tag/3.13.2)] - 2023-11-20

### Enhancements & fixes

- [PR #1124](https://github.com/nf-core/rnaseq/pull/1124) - Ensure pseudoaligner is set if pseudoalignment is not skipped

## [[3.13.1](https://github.com/nf-core/rnaseq/releases/tag/3.13.1)] - 2023-11-17

### Enhancements and fixes

- [[PR #1121](https://github.com/nf-core/rnaseq/pull/1121) - Changes for 3.13.1 patch release incl. igenomes star fix
- [PR #1121](https://github.com/nf-core/rnaseq/pull/1121) - Changes for 3.13.1 patch release incl. igenomes star fix

## [[3.13.0](https://github.com/nf-core/rnaseq/releases/tag/3.13.0)] - 2023-11-17

Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ params {

// Alignment
aligner = 'star_salmon'
pseudo_aligner = null
pseudo_aligner = 'salmon'
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
drpatelh marked this conversation as resolved.
Show resolved Hide resolved
seq_center = null
bam_csi_index = false
star_ignore_sjdbgtf = false
Expand Down
8 changes: 7 additions & 1 deletion workflows/rnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ if (!params.skip_bbsplit && !params.bbsplit_index && params.bbsplit_fasta_list)
def prepareToolIndices = []
if (!params.skip_bbsplit) { prepareToolIndices << 'bbsplit' }
if (!params.skip_alignment) { prepareToolIndices << params.aligner }
if (!params.skip_pseudo_alignment && params.pseudo_aligner) { prepareToolIndices << params.pseudo_aligner }
if (!params.skip_pseudo_alignment) {
if(params.pseudo_aligner) {
prepareToolIndices << params.pseudo_aligner
} else {
exit 1, "--skip_pseudo_alignment not set, but --pseudo_aligner not set"
}
}

// Determine whether to filter the GTF or not
def filterGtf =
Expand Down
Loading