Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b8881f8
add modules for magma [ci skip]
abhi18av Oct 26, 2024
0eb0105
import the modules from the `MTBseq-nf` pipeline
Mxrcon Oct 28, 2024
e88a06d
import MTBseq-NF workflows [ci skip]
Mxrcon Oct 28, 2024
c586331
update mtbseq-nf to the newest version [ci skip]
Mxrcon Oct 28, 2024
a62c1a2
import the original parameters [ci skip]
Mxrcon Oct 28, 2024
7e99000
add further gatk4 modules [ci skip]
abhi18av Oct 28, 2024
8bd30f1
add nf-core modules for magma [ci skip]
abhi18av Oct 28, 2024
ae797fb
update modules to nf-core folder structure [ci skip]
Mxrcon Oct 28, 2024
68b1782
update module importation on base workflows [ci skip]
Mxrcon Oct 28, 2024
9eb6013
add mtbseq-nf references data [ci skip]
Mxrcon Oct 28, 2024
f1a212b
add `mtbseq_` in front of each mtbseq required parameter [ci skip]
Mxrcon Oct 28, 2024
80de62e
update parameter names on mtbseq workflows [ci skip]
Mxrcon Oct 28, 2024
c4c4981
add rename files utility module [ci skip]
Mxrcon Oct 28, 2024
9d79b32
rename mtbseq base config [ci skip]
Mxrcon Oct 28, 2024
70c22cc
Merge pull request #7 from nf-core/magma-modules
abhi18av Oct 28, 2024
71a23e3
Merge branch 'dev' into mtbseq-modules
abhi18av Oct 28, 2024
7f75b10
remove the plugin `nf-validation` and add `nf-schema`accordingly to t…
Mxrcon Oct 28, 2024
1878438
include the mtbseq_nf workflow inside `main.nf`
Mxrcon Oct 28, 2024
8dc8525
changes after test iteration
Mxrcon Oct 29, 2024
fcef247
adding `mtbseq` test profiles
Mxrcon Oct 29, 2024
4767064
Merge pull request #8 from nf-core/mtbseq-modules
abhi18av Oct 30, 2024
4b51a58
Template update for nf-core/tools version 3.1.0
nf-core-bot Dec 12, 2024
bac9d94
Template update for nf-core/tools version 3.1.1
nf-core-bot Dec 20, 2024
251ab4a
Template update for nf-core/tools version 3.1.2
nf-core-bot Jan 20, 2025
89048a6
Template update for nf-core/tools version 3.2.0
nf-core-bot Jan 27, 2025
ef4aefa
Template update for nf-core/tools version 3.2.1
nf-core-bot Apr 30, 2025
062c2fb
Template update for nf-core/tools version 3.3.1
nf-core-bot Jun 3, 2025
b013cb2
Add manifest.contributors for nf-core template 4.x compatibility
abhi18av Jun 10, 2026
cef7b08
Template update for nf-core/tools version 4.0.2
abhi18av Jun 10, 2026
05db5c4
Merge branch 'TEMPLATE' into template-update-4.0.2
abhi18av Jun 10, 2026
a7131e1
Merge template-update-4.0.2: sync to nf-core template 4.0.2
abhi18av Jun 10, 2026
b8574c3
Integrate validated MTBseq-nf as the --mode mtbseq pipeline
abhi18av Jun 11, 2026
ceeb226
Add mode + mtbseq_* params to schema (execution_modes + mtbseq_option…
abhi18av Jun 11, 2026
88c239c
Lint/format: quote env('USER') in mtbseq modules; prettier schema JSON
abhi18av Jun 12, 2026
2184849
test profile: minimal MTBseq test on nf-core/test-datasets
abhi18av Jun 12, 2026
c19bd58
Point test_mtbseq/test_mtbseq_parallel profiles at nf-core/test-datasets
abhi18av Jun 12, 2026
660059d
Fix mtbseq_parallel default: empty string -> false (boolean schema)
abhi18av Jun 12, 2026
66600b6
test data: host downsampled MTBseq test reads on Zenodo (doi 10.5281/…
abhi18av Jun 12, 2026
a1ff455
test data: use Zenodo v2 (doi 10.5281/zenodo.20665860) with ENA-named…
abhi18av Jun 12, 2026
ef0409f
ci: fix strict config parse and scope nextflow-lint to local code
abhi18av Jun 12, 2026
60f8300
ci: fix EOF in mtbseq conf files, exclude vendored reference data fro…
abhi18av Jun 12, 2026
9549542
ci: convert rename_files to nf-core module dir form; empty.config fal…
abhi18av Jun 12, 2026
e3e1423
test data: add 3 MAGMA samples; bump to Zenodo v3 (5 samples, ~11x)
abhi18av Jun 12, 2026
6be92a9
ci: resolve remaining nf-core lint failures
abhi18av Jun 12, 2026
676d808
Merge pull request #17 from nf-core/integrate-mtbseq
abhi18av Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],
"image": "nfcore/devcontainer:latest",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},
"remoteUser": "root",
"privileged": true,

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
"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/tbanalyzer devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
33 changes: 0 additions & 33 deletions .editorconfig

This file was deleted.

125 changes: 0 additions & 125 deletions .github/CONTRIBUTING.md

This file was deleted.

1 change: 0 additions & 1 deletion .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/tbanalyzer pipeline documentation](https://nf-co.re/tbanalyzer/usage)

- type: textarea
id: description
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ 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/tbanalyzer/tree/master/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/tbanalyzer/tree/master/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/tbanalyzer/tree/master/.github/CONTRIBUTING.md)
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/tbanalyzer/tree/master/docs/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/tbanalyzer _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>`).
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
Loading