Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c4975fc
Template update for nf-core/tools version 2.7.1
nf-core-bot Dec 8, 2022
688a377
Template update for nf-core/tools version 2.7.2
nf-core-bot Dec 19, 2022
888bffe
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
dd35774
Template update for nf-core/tools version 2.9
nf-core-bot Jun 30, 2023
0c17f6b
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
a036ca3
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
f47ae52
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
4f1b4a5
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
30c0318
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
8b4d73f
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
1ebaaef
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
c7c57be
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
f88f078
Template update for nf-core/tools version 3.0.0
nf-core-bot Oct 8, 2024
dc5eca7
Template update for nf-core/tools version 3.0.1
nf-core-bot Oct 9, 2024
42257fc
Template update for nf-core/tools version 3.0.2
nf-core-bot Oct 11, 2024
16980f5
Template update for nf-core/tools version 3.1.0
nf-core-bot Dec 12, 2024
3fbe888
Template update for nf-core/tools version 3.1.1
nf-core-bot Dec 20, 2024
324ec7d
Template update for nf-core/tools version 3.1.2
nf-core-bot Jan 20, 2025
643cd21
Template update for nf-core/tools version 3.2.0
nf-core-bot Jan 27, 2025
1120426
Template update for nf-core/tools version 3.2.1
nf-core-bot Apr 30, 2025
a249423
Template update for nf-core/tools version 3.3.1
nf-core-bot Jun 3, 2025
cbe21af
Template update for nf-core/tools version 3.3.2
nf-core-bot Jul 8, 2025
c0f94e4
Template update for nf-core/tools version 3.4.1
nf-core-bot Oct 16, 2025
ea236c6
Template update for nf-core/tools version 3.5.1
nf-core-bot Nov 20, 2025
b27187b
Template update for nf-core/tools version 3.5.2
znorgaard Mar 18, 2026
ef8c76f
Template update for nf-core/tools version 4.0.0
nf-core-bot Apr 28, 2026
11ca2d6
Template update for nf-core/tools version 4.0.2
nf-core-bot Apr 30, 2026
290f27c
Template update for nf-core/tools version 4.0.3
nf-core-bot Jul 24, 2026
05fa2dd
Template update for nf-core/tools version 4.1.0
nf-core-bot Sep 1, 2026
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
21 changes: 21 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"name": "nfcore",
"image": "nfcore/devcontainer:latest",

"remoteUser": "root",
"privileged": true,

"remoteEnv": {
// Workspace path on the host for mounting with docker-outside-of-docker
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},

"onCreateCommand": "./.devcontainer/setup.sh",

"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
13 changes: 13 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Customise the terminal command prompt
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
export PROMPT_DIRTRIM=2
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '

# Update Nextflow
nextflow self-update

# Update welcome message
echo "Welcome to the nf-core/fastquorum devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
24 changes: 0 additions & 24 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
103 changes: 0 additions & 103 deletions .github/CONTRIBUTING.md

This file was deleted.

9 changes: 4 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ body:
Before you post this issue, please check the documentation:

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

- [nf-core/fastquorum pipeline documentation](https://nf-co.re/fastquorum/usage)
- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -42,9 +41,9 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 21.10.3)_
* 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/fgcons _(eg. 1.1, 1.5, 1.8.2)_
* Version of nf-core/fastquorum _(eg. 1.1, 1.5, 1.8.2)_
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ contact_links:
- name: Join nf-core
url: https://nf-co.re/join
about: Please join the nf-core community here
- name: "Slack #fgcons channel"
url: https://nfcore.slack.com/channels/fgcons
about: Discussion about the nf-core/fgcons pipeline
- name: "Slack #fastquorum channel"
url: https://nfcore.slack.com/channels/fastquorum
about: Discussion about the nf-core/fastquorum pipeline
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature request
description: Suggest an idea for the nf-core/fgcons pipeline
description: Suggest an idea for the nf-core/fastquorum pipeline
labels: enhancement
body:
- type: textarea
Expand Down
13 changes: 7 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
<!--
# nf-core/fgcons pull request
# nf-core/fastquorum pull request

Many thanks for contributing to nf-core/fgcons!
Many thanks for contributing to nf-core/fastquorum!

Please fill in the appropriate checklist below (delete whatever is not relevant).
These are the most common things requested on pull requests (PRs).

Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release.

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/fgcons/tree/master/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/fastquorum/tree/main/docs/CONTRIBUTING.md)
-->

## PR checklist

- [ ] 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/fgcons/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/fgcons _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/fastquorum/tree/main/docs/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/fastquorum _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
69 changes: 69 additions & 0 deletions .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "Get number of shards"
description: "Get the number of nf-test shards for the current CI job"
inputs:
max_shards:
description: "Maximum number of shards allowed"
required: true
paths:
description: "Component paths to test"
required: false
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
outputs:
shard:
description: "Array of shard numbers"
value: ${{ steps.shards.outputs.shard }}
total_shards:
description: "Total number of shards"
value: ${{ steps.shards.outputs.total_shards }}
runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@4069fbbaabe94c08faba4ad261bfa88225ba133f # v2
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
id: shards
shell: bash
run: |
# Run nf-test with dynamic parameter
nftest_output=$(nf-test test \
--profile +docker \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--dry-run \
--ci \
--changed-since HEAD^) || {
echo "nf-test command failed with exit code $?"
echo "Full output: $nftest_output"
exit 1
}
echo "nf-test dry-run output: $nftest_output"
# Default values for shard and total_shards
shard="[]"
total_shards=0
# Check if there are related tests
if echo "$nftest_output" | grep -q 'No tests to execute'; then
echo "No related tests found."
else
# Extract the number of related tests
number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
total_shards="$shards_to_run"
else
echo "Unexpected output format. Falling back to default values."
fi
fi
# Write to GitHub Actions outputs
echo "shard=$shard" >> $GITHUB_OUTPUT
echo "total_shards=$total_shards" >> $GITHUB_OUTPUT
# Debugging output
echo "Final shard array: $shard"
echo "Total number of shards: $total_shards"
Loading