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

Dev -> master for 3.14.0 release #1156

Merged
merged 89 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from 82 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
9eadd68
Bump versions for work on 3.14.0 milestone
pinin4fjords Nov 21, 2023
e9ebeaa
[automated] Fix linting with Prettier
nf-core-bot Nov 21, 2023
700664f
Merge pull request #1129 from nf-core/bump_release_dev
pinin4fjords Nov 21, 2023
0156233
Update cloud_tests_full to action-tower-launch-v2
adamrtalbot Nov 27, 2023
5371d63
Update cloud_tests_small to action-tower-launch v2
adamrtalbot Nov 27, 2023
0a1d53a
Make output directory path instead of file?
adamrtalbot Nov 28, 2023
73fd071
Run on self-hosted
adamrtalbot Nov 28, 2023
d66151d
Revert self-hosted
adamrtalbot Nov 28, 2023
c958a01
Add revision parameter to action
adamrtalbot Nov 28, 2023
dbb185f
Update CHANGELOG.md
adamrtalbot Nov 28, 2023
a9f5810
Add PR to CHANGELOG
adamrtalbot Nov 28, 2023
dc2d75e
MultiQC dupradar custom plot: specify plot_type explicitly
vladsavelyev Dec 4, 2023
277af7d
Update FastQC and UMItools modules
mahesh-panchal Dec 8, 2023
d6803dc
Update CHANGELOG
mahesh-panchal Dec 8, 2023
f92aa38
Merge pull request #1135 from nf-core/update-action-tower-launch-to-v2
maxulysse Dec 8, 2023
8fed9ff
Merge branch 'dev' into dev
maxulysse Dec 8, 2023
8e66ae3
Update modules with stderr updated
mahesh-panchal Dec 8, 2023
c9fd01c
Update Changelog
mahesh-panchal Dec 8, 2023
9e5cdc7
Fix formatting
mahesh-panchal Dec 8, 2023
75dde11
Update channel names from bam_rseqc subworkflow update
mahesh-panchal Dec 8, 2023
a294bb5
Update bam_rseqc subworkflow again
mahesh-panchal Dec 8, 2023
ed2b8aa
Update CHANGELOG.md
mahesh-panchal Dec 8, 2023
f55a154
Merge pull request #1138 from mahesh-panchal/dev
mahesh-panchal Dec 8, 2023
e4c8d67
Merge pull request #1137 from vladsavelyev/multiqc-dupradar-plottype
ewels Dec 11, 2023
efff19f
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
0ad0970
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
d445520
Try more flexible requires for genome
pinin4fjords Dec 21, 2023
db3702d
Prettier
pinin4fjords Dec 21, 2023
8de95b7
Provide interface to pseudoaligner kmer length
pinin4fjords Dec 22, 2023
aeab5ff
Update CHANGELOG
pinin4fjords Dec 22, 2023
5b1765d
Fix param name
pinin4fjords Dec 22, 2023
4d05fbb
Temporarily disable latest testing
pinin4fjords Dec 22, 2023
74d2736
Merge branch 'dev' into nf-core-template-merge-2.11
pinin4fjords Dec 22, 2023
e686a75
Fix module
pinin4fjords Dec 22, 2023
2e72110
Don't put STDERR in versions string for UMITOOLS_PREPAREFORRSEM
pinin4fjords Dec 22, 2023
878a3e6
Merge pull request #1141 from nf-core/nf-core-template-merge-2.11
pinin4fjords Dec 22, 2023
35c5089
Merge branch 'dev' into interface_to_kmer
pinin4fjords Dec 22, 2023
2408c3b
add missing changelog entry
pinin4fjords Dec 22, 2023
9535a6f
Merge branch 'dev' into genome_fasta_required
pinin4fjords Dec 22, 2023
b23d761
Update CHANGELOG
pinin4fjords Jan 3, 2024
c781080
Revert "Update FastQC and UMItools modules"
adamrtalbot Jan 3, 2024
c261e9c
Merge pull request #1148 from nf-core/revert-1138-dev
drpatelh Jan 3, 2024
a59a6f3
Patch modules to fix #1103
drpatelh Jan 3, 2024
bec1c28
Merge branch 'dev' into interface_to_kmer
pinin4fjords Jan 3, 2024
a2ae1e5
Update ci.yml - fix test matrix
pinin4fjords Jan 3, 2024
2945c25
Reinstate non-schema fasta checking
pinin4fjords Jan 3, 2024
4312325
Update CHANGELOG
pinin4fjords Jan 3, 2024
0bb288a
Update CHANGELOG.md
pinin4fjords Jan 3, 2024
647419b
Merge branch 'dev' into genome_fasta_required
pinin4fjords Jan 3, 2024
b6a2d52
Update CHANGELOG.md
drpatelh Jan 3, 2024
ca7467a
Merge pull request #1149 from drpatelh/updates
drpatelh Jan 3, 2024
728e613
Merge branch 'dev' into genome_fasta_required
pinin4fjords Jan 3, 2024
26a8b38
Merge branch 'dev' into interface_to_kmer
pinin4fjords Jan 3, 2024
9ea05fc
Merge pull request #1144 from nf-core/interface_to_kmer
pinin4fjords Jan 3, 2024
3b7fae9
Merge branch 'dev' into genome_fasta_required
pinin4fjords Jan 3, 2024
91004b1
Be more flexible on attribute values in GTFs
pinin4fjords Jan 3, 2024
d000950
Update tx2gene.py
pinin4fjords Jan 3, 2024
745696a
Update CHANGELOG.md
pinin4fjords Jan 3, 2024
8d7edfb
Update CHANGELOG.md
drpatelh Jan 3, 2024
221bdca
Merge pull request #1143 from nf-core/genome_fasta_required
drpatelh Jan 3, 2024
c08e204
Update CHANGELOG.md
drpatelh Jan 3, 2024
87f603c
Merge branch 'dev' into flexible_tx2gene
drpatelh Jan 3, 2024
b4c6c69
Merge pull request #1150 from nf-core/flexible_tx2gene
drpatelh Jan 3, 2024
05cc397
fix to #1150
pinin4fjords Jan 4, 2024
456b11b
Update CHANGELOG.md
pinin4fjords Jan 4, 2024
cd3a4f5
Merge pull request #1151 from nf-core/fix_gtf_flexibility
drpatelh Jan 4, 2024
5017588
Bump qualimap version to 2.3
drpatelh Jan 4, 2024
709b7ba
Bump rseqc version to 5.0.3
drpatelh Jan 4, 2024
6edb3c1
[skip ci] Patch qualimap and rseqc modules
drpatelh Jan 4, 2024
5b0a148
Update CHANGELOG
drpatelh Jan 4, 2024
63df1d7
Merge pull request #1152 from drpatelh/fixes
drpatelh Jan 4, 2024
cc63dff
Disable additional multiqc versions section
pinin4fjords Jan 4, 2024
e86ea02
Defer strand inference until after trimming and filtering
pinin4fjords Jan 4, 2024
282e972
[skip ci] bump versions
pinin4fjords Jan 4, 2024
213d904
Fix conditional publishing to avoid empty dirs
pinin4fjords Jan 4, 2024
7843299
[skip ci] update changelog
pinin4fjords Jan 4, 2024
fbb50ce
Merge branch 'dev' into prerelease_3.14.0_fixes
pinin4fjords Jan 4, 2024
f06f298
Apply suggestions from code review
pinin4fjords Jan 5, 2024
7ab1724
Merge pull request #1154 from nf-core/prerelease_3.14.0_fixes
drpatelh Jan 5, 2024
0fb6002
[skip ci] Add slash to outdir for cloud tests to fix Azure validation…
drpatelh Jan 5, 2024
5899b4c
Update CHANGELOG
drpatelh Jan 5, 2024
0e79758
Merge pull request #1157 from drpatelh/fixes
drpatelh Jan 5, 2024
665ea7d
Bump MultiQC version from 1.17 -> 1.19
drpatelh Jan 7, 2024
0d859f7
[skip ci] Bump CHANGELOG
drpatelh Jan 7, 2024
aa1e043
Update CHANGELOG
drpatelh Jan 7, 2024
46eaf78
Fix prettier
drpatelh Jan 7, 2024
805c5ac
Merge pull request #1159 from drpatelh/fixes
drpatelh Jan 7, 2024
36c89c1
Final prerelease fixes
drpatelh Jan 8, 2024
eb5392a
Merge pull request #1160 from drpatelh/fixes
drpatelh Jan 8, 2024
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
3 changes: 3 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ If you're not used to this workflow with git, you can start with some [docs from

## Tests

You can optionally test your changes by running the pipeline locally. Then it is recommended to use the `debug` profile to
receive warnings about process selectors and other debug info. Example: `nextflow run . -profile debug,test,docker --outdir <OUTDIR>`.

When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.

Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/rnas
- [ ] If necessary, also make a PR on the nf-core/rnaseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/cloud_tests_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
matrix:
aligner: ["star_salmon", "star_rsem"]
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
revision: ${{ github.sha }}
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
Expand All @@ -35,21 +36,23 @@ jobs:
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"aligner": "${{ matrix.aligner }}",
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/"
}
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
path: tower_action_*.log

run-full-tests-on-gcp:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' || !github.event.inputs }}
runs-on: ubuntu-latest
strategy:
matrix:
aligner: ["star_salmon", "star_rsem"]
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
revision: ${{ github.sha }}
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }}
Expand All @@ -60,21 +63,23 @@ jobs:
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"aligner": "${{ matrix.aligner }}",
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/"
}
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
path: tower_action_*.log

run-full-tests-on-azure:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' || !github.event.inputs }}
runs-on: ubuntu-latest
strategy:
matrix:
aligner: ["star_salmon", "star_rsem"]
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
revision: ${{ github.sha }}
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
Expand All @@ -85,7 +90,7 @@ jobs:
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"aligner": "${{ matrix.aligner }}",
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}",
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/",
"igenomes_base": "${{ secrets.TOWER_IGENOMES_BASE_AZURE }}"
}
- uses: actions/upload-artifact@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cloud_tests_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
runs-on: ubuntu-latest
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -28,7 +28,7 @@ jobs:
profiles: test
parameters: |
{
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}"
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}/"
}
- uses: actions/upload-artifact@v3
with:
Expand All @@ -38,7 +38,7 @@ jobs:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }}
runs-on: ubuntu-latest
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -48,7 +48,7 @@ jobs:
profiles: test
parameters: |
{
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-test-${{ github.sha }}"
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-test-${{ github.sha }}/"
}
- uses: actions/upload-artifact@v3
with:
Expand All @@ -58,7 +58,7 @@ jobs:
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }}
runs-on: ubuntu-latest
steps:
- uses: seqeralabs/action-tower-launch@v1
- uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -68,7 +68,7 @@ jobs:
profiles: test
parameters: |
{
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-test-${{ github.sha }}"
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-test-${{ github.sha }}/"
}
- uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.nf_core_bot_auth_token }}

Expand All @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker
Expand All @@ -27,9 +27,9 @@ jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4

- name: Install Prettier
run: npm install -g prettier
Expand All @@ -40,7 +40,7 @@ jobs:
PythonBlack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check code lints with Black
uses: psf/black@stable
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand Down
4 changes: 3 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ tasks:
command: |
pre-commit install --install-hooks
nextflow self-update

- name: unset JAVA_TOOL_OPTIONS
command: |
unset JAVA_TOOL_OPTIONS
vscode:
extensions: # based on nf-core.nf-core-extensionpack
- codezombiech.gitignore # Language support for .gitignore files
Expand Down
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,56 @@
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).

## v3.14.0 - 2024-01-08

### Credits

Special thanks to the following for their contributions to the release:

- [Adam Talbot](https://github.com/adamrtalbot)
- [Jonathan Manning](https://github.com/pinin4fjords)
- [Mahesh Binzer-Panchal](https://github.com/mahesh-panchal)
- [Matthias Zepper](https://github.com/MatthiasZepper)
- [Maxime Garcia](https://github.com/maxulysse)
- [Phil Ewels](https://github.com/ewels)
- [Vlad Savelyev](https://github.com/vladsavelyev)

### Enhancements & fixes

- [PR #1135](https://github.com/nf-core/rnaseq/pull/1135) - Update [action-tower-launch](https://github.com/marketplace/actions/action-tower-launch) to v2 which supports more variable handling
- [PR #1141](https://github.com/nf-core/rnaseq/pull/1141) - Important! Template update for nf-core/tools v2.11
- [PR #1143](https://github.com/nf-core/rnaseq/pull/1143) - Move fasta check back to Groovy ([#1142](https://github.com/nf-core/rnaseq/issues/1142))
- [PR #1144](https://github.com/nf-core/rnaseq/pull/1144) - Interface to kmer size for pseudoaligners ([#1111](https://github.com/nf-core/rnaseq/issues/1111))
- [PR #1149](https://github.com/nf-core/rnaseq/pull/1149) - Fix and patch version commands for Fastp, FastQC and UMI-tools modules ([#1103](https://github.com/nf-core/rnaseq/issues/1103))
- [PR #1150](https://github.com/nf-core/rnaseq/pull/1150) - Be more flexible on attribute values in GTFs ([#1132](https://github.com/nf-core/rnaseq/issues/1132))
- [PR #1151](https://github.com/nf-core/rnaseq/pull/1151) - fix to #1150: reinstate conditional
- [PR #1152](https://github.com/nf-core/rnaseq/pull/1152) - Bump container versions for tools using Docker V1 manifest ([#1140](https://github.com/nf-core/rnaseq/issues/1140))
- [PR #1154](https://github.com/nf-core/rnaseq/pull/1154) - Prerelease 3.14.0 fixes ([#1111](https://github.com/nf-core/rnaseq/issues/1111), [#1153](https://github.com/nf-core/rnaseq/issues/1153))
- [PR #1157](https://github.com/nf-core/rnaseq/pull/1157) - Add slash to `--outdir` for cloud tests to fix Azure validation issue

### Parameters

| Old parameter | New parameter |
| ------------- | ---------------------------- |
| | `--pseudo_aligner_kmer_size` |

> **NB:** Parameter has been **updated** if both old and new parameter information is present.
> **NB:** Parameter has been **added** if just the new parameter information is present.
> **NB:** Parameter has been **removed** if new parameter information isn't present.

### Software dependencies

| Dependency | Old version | New version |
| ---------- | ----------- | ----------- |
| `qualimap` | 2.2.2d | 2.3 |
| `rseqc` | 3.0.1 | 5.0.3 |

> **NB:** Dependency has been **updated** if both old and new version information is present.
>
> **NB:** Dependency has been **added** if just the new version information is present.
>
> **NB:** Dependency has been **removed** if new version information isn't present.

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

### Credits
Expand Down
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@

## Usage

:::note
If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how
to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline)
with `-profile test` before running the workflow on actual data.
:::
> [!NOTE]
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.

First, prepare a samplesheet with your input data that looks as follows:

Expand Down Expand Up @@ -84,11 +81,9 @@ nextflow run nf-core/rnaseq \
-profile <docker/singularity/.../institute>
```

:::warning
Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those
provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_;
see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).
:::
> [!WARNING]
> Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_;
> see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).

For more details and further functionality, please refer to the [usage documentation](https://nf-co.re/rnaseq/usage) and the [parameter documentation](https://nf-co.re/rnaseq/parameters).

Expand Down
5 changes: 2 additions & 3 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/rnaseq/releases/tag/3.13.0" target="_blank">nf-core/rnaseq</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/rnaseq/3.13.0/docs/output" target="_blank">documentation</a>.
This report has been generated by the <a href="https://github.com/nf-core/rnaseq/releases/tag/3.14.0" target="_blank">nf-core/rnaseq</a> analysis pipeline. For information about how to interpret these results, please see the <a href="https://nf-co.re/rnaseq/3.14.0/docs/output" target="_blank">documentation</a>.
report_section_order:
"nf-core-rnaseq-methods-description":
order: -1000
Expand All @@ -11,6 +9,7 @@ report_section_order:
order: -1002

export_plots: true
disable_version_detection: true

# Run only these modules
run_modules:
Expand Down
1 change: 1 addition & 0 deletions bin/dupradar.r
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ curve_y <- curve_y[seq(1, length(curve_y), 10)]
curve_x = 10^curve_x
# Write to file
line="#id: dupradar
#plot_type: 'linegraph'
#section_name: 'DupRadar'
#section_href: 'bioconductor.org/packages/release/bioc/html/dupRadar.html'
#description: \"provides duplication rate quality control for RNA-Seq datasets. Highly expressed genes can be expected to have a lot of duplicate reads, but high numbers of duplicates at low read counts can indicate low library complexity with technical duplication.
Expand Down
11 changes: 8 additions & 3 deletions bin/tx2gene.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import argparse
import glob
import os
import re
from collections import Counter, defaultdict, OrderedDict
from collections.abc import Set
from typing import Dict
Expand Down Expand Up @@ -50,14 +51,18 @@ def discover_transcript_attribute(gtf_file: str, transcripts: Set[str]) -> str:
Returns:
str: The attribute name that corresponds to transcripts in the GTF file.
"""

votes = Counter()
with open(gtf_file) as inh:
# Read GTF file, skipping header lines
for line in filter(lambda x: not x.startswith("#"), inh):
cols = line.split("\t")
# Parse attribute column and update votes for each attribute found
attributes = dict(item.strip().split(" ", 1) for item in cols[8].split(";") if item.strip())
votes.update(key for key, value in attributes.items() if value.strip('"') in transcripts)

# Use regular expression to correctly split the attributes string
attributes_str = cols[8]
attributes = dict(re.findall(r'(\S+) "(.*?)(?<!\\)";', attributes_str))

votes.update(key for key, value in attributes.items() if value in transcripts)

if not votes:
# Log a warning if no matching attribute is found
Expand Down
Loading
Loading