Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
49345a1
Simplify samplesheet, input check, and qcat
christopher-hakkaart Feb 24, 2023
342429b
remove tools and add back in slowly
christopher-hakkaart Feb 25, 2023
a4ff7dc
Fix vc branch, sv calling
christopher-hakkaart Feb 28, 2023
5e2fcc7
Adding graphmap
christopher-hakkaart Mar 1, 2023
565a139
Merge pull request #220 from nf-core/update_3_1
yuukiiwa Mar 7, 2023
368f1ef
Update align_graphmap2.nf
yuukiiwa Mar 13, 2023
d71927b
Merge pull request #228 from nf-core/master
yuukiiwa Mar 13, 2023
f78633d
make sure that python black is still passing
yuukiiwa Mar 13, 2023
f5d238a
Update check_samplesheet.py
yuukiiwa Mar 13, 2023
962aa51
python blacked
yuukiiwa Mar 13, 2023
6c6d67b
convert local modules with existing nf-core/modules
yuukiiwa Mar 14, 2023
45d21a5
refactoring
yuukiiwa Mar 16, 2023
5f5dcd1
replace medaka with clair3
yuukiiwa Mar 17, 2023
4f8a9f5
done refactoring: one fasta & gtf per run; replaced local modules wit…
yuukiiwa Mar 17, 2023
d094261
PRETTY
yuukiiwa Mar 21, 2023
38507c5
fix
yuukiiwa Mar 21, 2023
9eabb15
fix
yuukiiwa Mar 21, 2023
e3ac9c4
fix
yuukiiwa Mar 21, 2023
17fd627
Remove mapping and add in more meta information
christopher-hakkaart Mar 21, 2023
3d05290
tidy lines
christopher-hakkaart Mar 21, 2023
ada62a9
fix check_samplesheet
christopher-hakkaart Mar 21, 2023
69f9f5a
Merge pull request #232 from nf-core/update_3_1_dev_meta
yuukiiwa Mar 24, 2023
b127e3a
convert sniffles and cutesv to nf-core/modules
yuukiiwa Mar 24, 2023
403b456
PRETTY
yuukiiwa Mar 24, 2023
371ce6d
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
3075df6
Updated m6anet to 2.0.2
matthewstuartedwards May 9, 2023
ca4458f
Updated samplesheet error message when no fastq found
matthewstuartedwards May 9, 2023
d028b16
Merge pull request #241 from zovoilis-lab/update_3_1_dev_matthewSE
yuukiiwa May 10, 2023
854f134
Merge pull request #242 from zovoilis-lab/update_3_1_dev_matthewSE_sa…
yuukiiwa May 10, 2023
aa61fae
fix merge conflict
yuukiiwa May 10, 2023
0849ea5
Update modules.json
yuukiiwa May 10, 2023
015c24c
Update README.md
yuukiiwa May 10, 2023
06cfafa
Update nextflow.config
yuukiiwa May 10, 2023
0fbf1e1
Update samplesheet_check.nf
yuukiiwa May 10, 2023
de8aaf8
Update get_nanolyse_fasta.nf
yuukiiwa May 10, 2023
63498d7
Update get_nanolyse_fasta.nf
yuukiiwa May 10, 2023
4b1997d
Merge pull request #244 from nf-core/nf-core-template-merge
yuukiiwa May 10, 2023
c739ef6
python black linting fix
yuukiiwa May 10, 2023
1ad7c5f
fix linting
yuukiiwa May 10, 2023
fe68299
fix linting
yuukiiwa May 10, 2023
f2af6e9
update local modules
yuukiiwa May 10, 2023
391b7fd
update nf-core modules
yuukiiwa May 10, 2023
a03d1e3
add clair3 back in
yuukiiwa May 10, 2023
2f46ec2
add the missing nf-core modules
yuukiiwa May 10, 2023
a179ba2
add the missing nf-core modules
yuukiiwa May 10, 2023
b572c14
fix bug
yuukiiwa May 10, 2023
48384ce
fix bug
yuukiiwa May 10, 2023
748cba5
PRETTY!
yuukiiwa May 10, 2023
585cf23
Update nextflow_schema.json
yuukiiwa May 19, 2023
2ddff0c
Update nextflow_schema.json
yuukiiwa May 19, 2023
91db264
Update nextflow_schema.json
yuukiiwa May 19, 2023
8364c10
Update bin/check_samplesheet.py
yuukiiwa May 19, 2023
d14ce4e
address suggestions from Chris
yuukiiwa May 19, 2023
32a2afb
fix typo
yuukiiwa May 19, 2023
9b2d287
Update nextflow_schema.json
yuukiiwa May 19, 2023
2130938
Update nextflow_schema.json
yuukiiwa May 19, 2023
96e51e2
update m6anet biocontainer
yuukiiwa May 22, 2023
93d391a
update test-dataset paths
yuukiiwa May 22, 2023
c59485c
Update test_full.config
yuukiiwa May 23, 2023
0a2fb82
igenome
yuukiiwa May 23, 2023
855ce8b
igenome
yuukiiwa May 23, 2023
398ab24
clean up
yuukiiwa May 23, 2023
9ae4d1a
tmp: aws access denied
yuukiiwa May 23, 2023
95ac0ec
tmp: aws access denied
yuukiiwa May 23, 2023
7fcdb46
tmp: aws access denied
yuukiiwa May 23, 2023
2fa1fc5
tmp: aws access denied
yuukiiwa May 23, 2023
6cb98e2
tmp: aws access denied
yuukiiwa May 23, 2023
d86f3d2
tmp: aws access denied
yuukiiwa May 23, 2023
9358a7c
tmp: aws access denied
yuukiiwa May 24, 2023
8ba80ba
tmp: aws access denied
yuukiiwa May 24, 2023
5322c90
tmp: aws access denied
yuukiiwa May 25, 2023
210d774
tmp: aws access denied
yuukiiwa May 25, 2023
4a75758
tmp: aws access denied
yuukiiwa May 25, 2023
357ec04
tmp: aws access denied
yuukiiwa May 25, 2023
ecdf027
tmp: aws access denied
yuukiiwa May 25, 2023
4af13f4
Merge pull request #246 from nf-core/update_3_1_igenome
yuukiiwa May 25, 2023
47c7d85
Update test.config
yuukiiwa May 25, 2023
5ae8db5
test
yuukiiwa May 25, 2023
dfb7910
Hotfix: docker.registry outside of docker profile
adamrtalbot May 25, 2023
8d55255
Merge pull request #248 from nf-core/hotfix_docker_registry_scope
drpatelh May 25, 2023
65990ab
nf-core modules update (All modules)
yuukiiwa Oct 9, 2023
791f9dd
fix samtools stats path
yuukiiwa Oct 9, 2023
e994f27
update
yuukiiwa Oct 9, 2023
3aa5ed6
fix graphmap
yuukiiwa Oct 9, 2023
3812706
linting fix
yuukiiwa Oct 9, 2023
bf4cd0a
fix
yuukiiwa Oct 9, 2023
5247122
PRETTY!
yuukiiwa Oct 9, 2023
2020960
Merge pull request #229 from nf-core/update_3_1_dev
christopher-hakkaart Oct 16, 2023
2938b24
Fix CHANGELOG
maxulysse Dec 7, 2023
31def65
Merge pull request #259 from nf-core/maxulysse-patch-1
maxulysse Dec 7, 2023
a1349c2
ADD: added ToulligQC module to pipeline Nanoseq
Salome-Brunon Apr 9, 2024
f4ff2f2
ADD: added documentation about ToulligQC
Salome-Brunon Nov 22, 2024
d6844f2
UDPATE: upgraded version
Salome-Brunon Nov 22, 2024
336af63
FIX: resolve conflicts
Salome-Brunon Nov 22, 2024
f1bc1d4
FIX: ran prettier on modules.json
Salome-Brunon Nov 22, 2024
2c8e163
remove lib
yuukiiwa May 14, 2025
3383ac7
add nanoseq_template3.2.1_working
yuukiiwa May 14, 2025
13644c9
ci nextflow version >=23.10.0
yuukiiwa May 14, 2025
fab74bd
update ci.yml
yuukiiwa May 14, 2025
127ee71
4 cpu for process medium
yuukiiwa May 14, 2025
994e7c6
15.6 GB mem for process medium
yuukiiwa May 14, 2025
9fa08bc
prepare for nanoRNAseq
yuukiiwa May 14, 2025
9219b17
update to actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
yuukiiwa May 14, 2025
dec2061
update to v4
yuukiiwa May 14, 2025
6285733
change template files
yuukiiwa May 14, 2025
a25acd7
template linting.yml threw an error
yuukiiwa May 14, 2025
d5019e1
update to latest nf-coremodules; down version some containers as the …
yuukiiwa May 15, 2025
3145de9
set resource limit for testing
yuukiiwa May 15, 2025
5e4cfaa
fix samtools sort
yuukiiwa May 15, 2025
c45ef60
update schema
yuukiiwa May 15, 2025
0f1b480
update schema
yuukiiwa May 15, 2025
cb8a467
latest containers
yuukiiwa May 15, 2025
18504ab
latest containers
yuukiiwa May 15, 2025
977a9ce
update .nf-core.yml
yuukiiwa May 15, 2025
43f3f15
add SGNEx citation
yuukiiwa May 15, 2025
5f3fb72
linting.yml
yuukiiwa May 15, 2025
2d346f1
PRETTY!!
yuukiiwa May 15, 2025
97b47bb
multiqc and clean up
yuukiiwa May 15, 2025
33ed088
Merge branch 'add_template_to_dev_first' into Salome-Brunon-add_toull…
yuukiiwa May 15, 2025
e49e12a
Merge pull request #287 from Salome-Brunon/Salome-Brunon-add_toulligqc
yuukiiwa May 15, 2025
68a975b
update schema
yuukiiwa May 15, 2025
1c604a8
PRETTY!!
yuukiiwa May 15, 2025
fa4f4ef
update CHANGELOG and README
yuukiiwa May 15, 2025
9a47d5c
remove DNA functionalies
yuukiiwa May 26, 2025
0dad221
clean up and update README+CHANGELOG
yuukiiwa May 27, 2025
9753f1c
update bambu and sgnex citations
yuukiiwa May 27, 2025
43d5c0c
push to see whether ci test got removed
yuukiiwa May 27, 2025
b175040
Merge pull request #321 from nf-core/add_template_to_dev_first
yuukiiwa May 28, 2025
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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js,cff}]
[*.{md,yml,yaml,html,css,scss,js}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
Expand Down
34 changes: 20 additions & 14 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nf-core/nanoseq: Contributing Guidelines
# `nf-core/nanoseq`: Contributing Guidelines

Hi there!
Many thanks for taking an interest in improving nf-core/nanoseq.
Expand All @@ -9,6 +9,7 @@ Please use the pre-filled template to save time.
However, don't be put off by this template - other more general issues and suggestions are welcome!
Contributions to the code are even more welcome ;)

> [!NOTE]
> If you need help using or modifying nf-core/nanoseq then the best place to ask is on the nf-core Slack [#nanoseq](https://nfcore.slack.com/channels/nanoseq) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow
Expand All @@ -18,13 +19,19 @@ If you'd like to write some code for nf-core/nanoseq, the standard workflow is a
1. Check that there isn't already an issue about your idea in the [nf-core/nanoseq issues](https://github.com/nf-core/nanoseq/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
2. [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/nanoseq repository](https://github.com/nf-core/nanoseq) to your GitHub account
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
4. Use `nf-core pipelines schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged

If you're not used to this workflow with git, you can start with some [docs from GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests) or even their [excellent `git` resources](https://try.github.io/).

## Tests

You have the option to test your changes locally by running the pipeline. For receiving warnings about process selectors and other `debug` information, it is recommended to use the debug profile. Execute all the tests with the following command:

```bash
nf-test test --profile debug,test,docker --verbose
```

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 All @@ -33,7 +40,7 @@ There are typically two types of tests that run:
### Lint tests

`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core pipelines lint <pipeline-directory>` command.

If any failures or warnings are encountered, please follow the listed URL for more documentation.

Expand All @@ -48,27 +55,27 @@ These tests are run both with the latest available version of `Nextflow` and als

:warning: Only in the unlikely and regretful event of a release happening with a bug.

- On your own fork, make a new branch `patch` based on `upstream/master`.
- On your own fork, make a new branch `patch` based on `upstream/main` or `upstream/master`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.
- Open a pull-request from `patch` to `main`/`master` with the changes.

## Getting help

For further information/help, please consult the [nf-core/nanoseq documentation](https://nf-co.re/nanoseq/usage) and don't hesitate to get in touch on the nf-core Slack [#nanoseq](https://nfcore.slack.com/channels/nanoseq) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Pipeline contribution conventions

To make the nf-core/nanoseq code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.
To make the `nf-core/nanoseq` code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.

### Adding a new step

If you wish to contribute a new step, please use the following coding standards:

1. Define the corresponding input channel into your new process from the expected previous process channel
1. Define the corresponding input channel into your new process from the expected previous process channel.
2. Write the process block (see below).
3. Define the output channel if needed (see below).
4. Add any new parameters to `nextflow.config` with a default (see below).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
Expand All @@ -77,15 +84,15 @@ If you wish to contribute a new step, please use the following coding standards:

### Default values

Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
Parameters should be initialised / defined with default values within the `params` scope in `nextflow.config`.

Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
Once there, use `nf-core pipelines schema build` to add to `nextflow_schema.json`.

### Default processes resource requirements

Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.
Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/main/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.

The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.
The process resources can be passed on to the tool dynamically within the process with the `${task.cpus}` and `${task.memory}` variables in the `script:` block.

### Naming schemes

Expand All @@ -96,7 +103,7 @@ Please use the following naming schemes, to make it easy to understand what is g

### Nextflow version bumping

If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core bump-version --nextflow . [min-nf-version]`
If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core pipelines bump-version --nextflow . [min-nf-version]`

### Images and figures

Expand All @@ -116,4 +123,3 @@ To get started:
Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ body:

- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
- [nf-core/nanoseq pipeline documentation](https://nf-co.re/nanoseq/usage)

- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -42,9 +41,9 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 22.10.1)_
* Nextflow version _(eg. 23.04.0)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/nanoseq _(eg. 1.1, 1.5, 1.8.2)_
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/nano

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/nanoseq/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/nanoseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/nanoseq/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/nanoseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core pipelines 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
38 changes: 26 additions & 12 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,48 @@
name: nf-core AWS full size tests
# This workflow is triggered on published releases.
# This workflow is triggered on PRs opened against the main/master branch.
# It can be additionally triggered manually with GitHub actions workflow dispatch button.
# It runs the -profile 'test_full' on AWS batch

on:
workflow_dispatch:
pull_request_review:
types: [submitted]
release:
types: [published]
workflow_dispatch:

jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/nanoseq'
# run only if the PR is approved by at least 2 reviewers and against the master/main branch or manually triggered
if: github.repository == 'nf-core/nanoseq' && github.event.review.state == 'approved' && (github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
- name: Set revision variable
id: revision
run: |
echo "revision=${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'release') && github.sha || 'dev' }}" >> "$GITHUB_OUTPUT"

- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
# TODO nf-core: You can customise AWS full pipeline tests as required
# Add full size test data (but still relatively small datasets for few samples)
# on the `test_full.config` test runs with only one set of parameters
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/nanoseq/work-${{ github.sha }}
revision: ${{ steps.revision.outputs.revision }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/nanoseq/work-${{ steps.revision.outputs.revision }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/nanoseq/results-${{ github.sha }}"
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/nanoseq/results-${{ steps.revision.outputs.revision }}"
}
profiles: test_full,aws_tower
- uses: actions/upload-artifact@v3
profiles: test_full

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
path: tower_action_*.log
name: Seqera Platform debug log file
path: |
seqera_platform_action_*.log
seqera_platform_action_*.json
4 changes: 2 additions & 2 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -23,7 +23,7 @@ jobs:
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/nanoseq/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
path: tower_action_*.log
22 changes: 12 additions & 10 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
name: nf-core branch protection
# This workflow is triggered on PRs to master branch on the repository
# It fails when someone tries to make a PR against the nf-core `master` branch instead of `dev`
# This workflow is triggered on PRs to `main`/`master` branch on the repository
# It fails when someone tries to make a PR against the nf-core `main`/`master` branch instead of `dev`
on:
pull_request_target:
branches: [master]
branches:
- main
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master/main - are both intended to be supported by nf-core repos now?

- master

jobs:
test:
runs-on: ubuntu-latest
steps:
# PRs to the nf-core repo master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
# PRs to the nf-core repo main/master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
- name: Check PRs
if: github.repository == 'nf-core/nanoseq'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/nanoseq ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/nanoseq ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]

# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
with:
message: |
## This PR is against the `master` branch :x:
## This PR is against the `${{github.event.pull_request.base.ref}}` branch :x:

* Do not close this PR
* Click _Edit_ and change the `base` to `dev`
Expand All @@ -32,9 +34,9 @@ jobs:

Hi @${{ github.event.pull_request.user.login }},

It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `master` branch.
The `master` branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to `master` are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.
It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) ${{github.event.pull_request.base.ref}} branch.
The ${{github.event.pull_request.base.ref}} branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to ${{github.event.pull_request.base.ref}} are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.

You do not need to close this PR, you can change the target branch to `dev` by clicking the _"Edit"_ button at the top of this page.
Note that even after this, the test will continue to show as failing until you push a new commit.
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
strategy:
matrix:
NXF_VER:
- "22.10.1"
- "24.04.2"
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand All @@ -44,18 +44,17 @@ jobs:
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/nanoseq') }}"
runs-on: ubuntu-latest
env:
NXF_VER: "22.10.3"
NXF_VER: "24.04.2"
NXF_ANSI_LOG: false
strategy:
matrix:
profiles:
- "test_nodx_vc"
- "test_nodx_stringtie"
- "test_nodx_noaln"
- "test_nodx_rnamod"
- "test_nobc_nodx_stringtie"
- "test_nobc_nodx_noaln"
- "test_nobc_nodx_rnamod"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
Expand All @@ -71,7 +70,7 @@ jobs:
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/nanoseq') }}"
runs-on: ubuntu-latest
env:
NXF_VER: "22.10.3"
NXF_VER: "24.04.2"
NXF_ANSI_LOG: false
strategy:
matrix:
Expand All @@ -82,7 +81,7 @@ jobs:
- "--skip_quantification"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b

- name: Install Nextflow
env:
Expand Down
Loading
Loading