Skip to content
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
522b3a8
Merge pull request #29 from vinisalazar/rgi
nickp60 Mar 13, 2026
f526e69
Adds metro diagram, updates README.md
miraep8 Mar 13, 2026
322daf1
runs prettier
Mar 13, 2026
f908026
hotfix missing parenthesis
Mar 13, 2026
cad37c8
adds in new references
miraep8 Mar 13, 2026
5c3c453
and new citations
miraep8 Mar 13, 2026
6ac0958
hotfix, update readme
nickp60 Mar 13, 2026
27ac493
Merge pull request #30 from miraep8/dev
nickp60 Mar 15, 2026
635ed46
Update metro pipeline
Yixuan39 Mar 16, 2026
72d306f
Trim trailing whitespace and add EOF newlines
Yixuan39 Mar 16, 2026
3c8224c
remove long read routes
Yixuan39 Mar 17, 2026
8202775
attempt 1 at sensible defaults for eggnogmapper
nickp60 Mar 19, 2026
ebd4dd5
Merge pull request #31 from Yixuan39/dev
nickp60 Mar 19, 2026
a1753f8
Merge pull request #32 from nickp60/eggnog-defaults
nickp60 Mar 19, 2026
71f2542
clean up, start moving to version topics
nickp60 Mar 20, 2026
47d5e5e
Merge branch 'dev' into topic-migration
nickp60 Mar 20, 2026
4cfce3a
hotfix missing modules
nickp60 Mar 20, 2026
3bede2f
Merge branch 'dev' of github.com:nickp60/funcprofiler into dev
nickp60 Mar 20, 2026
db6c2b1
update mqc, tests WIP
nickp60 Mar 23, 2026
ccb6d6f
fix versions for mifaser
nickp60 Mar 23, 2026
909c8c3
Merge branch 'update-multiqc' into nw-dev
nickp60 Mar 23, 2026
d4145e1
passing in stub mode
nickp60 Mar 23, 2026
10275be
update modules
nickp60 Mar 24, 2026
11aa244
most tests passing
nickp60 Mar 25, 2026
6835ef8
whitespace fix
nickp60 Mar 25, 2026
c3d943f
Merge pull request #34 from nickp60/nw-dev
nickp60 Mar 25, 2026
042356e
test explicitly listing the container not using function
Mar 27, 2026
ef5825d
fix whitespace
Mar 27, 2026
a706275
use withName instead
Mar 27, 2026
934b8b7
adds missing paren
miraep8 Mar 27, 2026
2a9709c
whoops
miraep8 Mar 27, 2026
bda4d14
try with task.process not name
miraep8 Mar 27, 2026
a265ab7
move regroup to aliases
nickp60 Mar 27, 2026
6cf5b92
fix profiling alias
nickp60 Mar 27, 2026
1befee1
revert container fetching
nickp60 Mar 27, 2026
d453892
add dummy entry to container selection for paritail compliance with
nickp60 Mar 27, 2026
664e0ea
add dummy processes to trick nextflow inspect into cooperating
nickp60 Mar 27, 2026
f792c49
fix weird absolute path issue
nickp60 Mar 27, 2026
786b91b
disable diamond for test profile
nickp60 Mar 28, 2026
e28d0dc
update snapshot
miraep8 Mar 30, 2026
89f04ff
try janky environmet file
miraep8 Mar 30, 2026
86f4ecd
pre-commit
miraep8 Mar 30, 2026
9d0b4ec
update env
miraep8 Mar 30, 2026
68cc530
fix env locally
miraep8 Mar 30, 2026
cfaedfd
adds git
miraep8 Mar 30, 2026
33c09ce
temporarily reduce tests
miraep8 Mar 30, 2026
667d7bf
adds docker where appropriate and manually installs fmh-funcprofiler …
miraep8 Mar 30, 2026
ba18759
adds conditional install to stub as well
miraep8 Mar 30, 2026
f0a3805
explicit call to python?
miraep8 Mar 30, 2026
e3e6eec
explicit call to python when not installed
miraep8 Mar 30, 2026
0ee3027
add python to versions as well
miraep8 Mar 30, 2026
db752a3
udate snapshot to include help not version for fmh-funcprofiler
miraep8 Mar 30, 2026
8cbc0ea
reset tests and also ditch the conditional install
miraep8 Mar 31, 2026
7b326e0
Improve docs
vinisalazar Apr 2, 2026
7be5f94
Apply pre-commit fixes
vinisalazar Apr 2, 2026
73ba613
Improve text
vinisalazar Apr 2, 2026
2ca4781
Pre-commit again
vinisalazar Apr 2, 2026
2816fde
error if fmhfunprofiler is run without container. Test skips run_fmhf…
miraep8 Apr 2, 2026
92c4904
attempts mifaser env
miraep8 Apr 2, 2026
20a1f1d
precommit and fix profile def
miraep8 Apr 2, 2026
7ad3dbd
flip sign
miraep8 Apr 2, 2026
bd4c8c9
update mifaser version
miraep8 Apr 2, 2026
d23e157
resotre test snapshot
miraep8 Apr 2, 2026
89d95d6
temporarily turn off latest everything and update snapshots
miraep8 Apr 2, 2026
fcc7160
actually update snapshot with correct nf version and singularity profile
miraep8 Apr 2, 2026
815320f
simplify container paths
miraep8 Apr 2, 2026
7cc16fc
update mifaser to conda version - yay!
miraep8 Apr 8, 2026
231528e
fix eof
nickp60 Apr 9, 2026
6d8d3bd
disable conda from ci
nickp60 Apr 9, 2026
9ac4648
fix name, bump shards
nickp60 Apr 9, 2026
803cb9c
remove yml from tests, re-enable fmhfunprofiler for tests
nickp60 Apr 9, 2026
f2feaa9
simplify regroup singularity prefix
nickp60 Apr 9, 2026
24178ea
Merge pull request #38 from vinisalazar/docs
vinisalazar Apr 9, 2026
89ec4fe
fix snap
nickp60 Apr 9, 2026
5902136
Merge branch 'dev' of github.com:nf-core/funcprofiler into dev
nickp60 Apr 9, 2026
68521d5
fix .nftignore
nickp60 Apr 9, 2026
b362cf6
bump shards further
nickp60 Apr 10, 2026
341fcd8
attempt to bump storage on runner
nickp60 Apr 10, 2026
797a560
try smaller image
miraep8 Apr 10, 2026
1e72710
fix typo
miraep8 Apr 10, 2026
75e6b99
rollback image
miraep8 Apr 10, 2026
b8ecd26
try out small figure again
miraep8 Apr 10, 2026
4e676aa
new image, tried it out locally first this time :)
miraep8 Apr 10, 2026
a93f863
make humann3 smaller as well
miraep8 Apr 10, 2026
c481794
remove volume bump since it curiously increased number of failing jobs
miraep8 Apr 10, 2026
1617f95
mifaser: in tests, only check for file existence and name.
vinisalazar Apr 14, 2026
a80bc72
Add non-deterministic files to .nftignore
vinisalazar Apr 14, 2026
ede7787
Update snapshot
vinisalazar Apr 14, 2026
d5a20da
Use correct extension in ignored files
vinisalazar Apr 14, 2026
f8666f6
Remove genefamilies from humann/main_v4 stub test
vinisalazar Apr 14, 2026
ef8fe5e
Do the same for humann_v3 test
vinisalazar Apr 14, 2026
b6bb063
Update snapshots
vinisalazar Apr 14, 2026
cc3a454
Increase singularity.pullTimeout
vinisalazar Apr 14, 2026
0b69293
Move singularity.pullTimeout to tests/nextflow.config
vinisalazar Apr 14, 2026
8aa5eb9
Add HUMAnN {sample}_reactions.tsv file to .nftignore
vinisalazar Apr 14, 2026
1853aea
attmept 1 at getting artifact
nickp60 Apr 14, 2026
d380906
whitespace
nickp60 Apr 14, 2026
1d377d6
make conditional
nickp60 Apr 14, 2026
50316cc
fix syntax
nickp60 Apr 14, 2026
ef65a4e
doh
nickp60 Apr 14, 2026
11d7fa5
list before upload attempt
nickp60 Apr 14, 2026
d0f0b9c
make artifacts uniq
nickp60 Apr 14, 2026
e3a27b6
typo
nickp60 Apr 14, 2026
762e4af
more typo fixes
nickp60 Apr 14, 2026
2d27f02
add shard to artifact id
nickp60 Apr 14, 2026
e49c571
force artifacts
nickp60 Apr 14, 2026
e9e9a7d
made test data smaller, skip stub, override mpa container
nickp60 Apr 14, 2026
12eac7b
update module-level snap
nickp60 Apr 14, 2026
1766752
update renorm container to most recent, hardcoded
nickp60 Apr 14, 2026
d48c849
update snapshot to fix header after renorm bump
nickp60 Apr 14, 2026
7ead87b
WIP major refactor to clean up input mess
nickp60 Apr 16, 2026
f63b1a0
WIP
nickp60 Apr 16, 2026
bbff4b8
add tests for run-merging off/on
nickp60 Apr 16, 2026
0c918fa
add tests for prepareInput function
nickp60 Apr 16, 2026
9bae988
WIP update profile subworkflow next
nickp60 Apr 16, 2026
f9544ad
WIP fixing db parsing structure
nickp60 Apr 17, 2026
4f13fe7
fix db parse param location
nickp60 Apr 17, 2026
b025de0
unify test
nickp60 Apr 17, 2026
5588bd1
restructured all profiling
nickp60 Apr 17, 2026
a529ccf
haven't rebuilt snapshots but pushing anyway
nickp60 Apr 17, 2026
d3a7ece
remove fmhfunprofler garbage workarounds
nickp60 Apr 17, 2026
503597c
unify tuple input for fmhfunprofiler
nickp60 Apr 17, 2026
2eeeec1
passing local tests
nickp60 Apr 17, 2026
4d341ee
remove file() from tests to prevent abs paths
nickp60 Apr 17, 2026
3bbc90d
swap out arraylist for map
nickp60 Apr 17, 2026
84416b0
fix order
nickp60 Apr 17, 2026
1287778
attmpt 1 at resolve collision
nickp60 Apr 18, 2026
37e4fa0
attempt add sample mixup test
nickp60 Apr 20, 2026
c4316b5
attempt 2
nickp60 Apr 20, 2026
6df114f
fix test
nickp60 Apr 20, 2026
ac29fb7
update
nickp60 Apr 20, 2026
8747c12
add cleanup false to retain .command files
nickp60 Apr 20, 2026
1329db9
hotfix removes the cleanup from nf test config
Apr 20, 2026
e3d3372
syntax
nickp60 Apr 20, 2026
db0b5ec
Merge branch 'get-build-artifacts' of github.com:nf-core/funcprofiler…
nickp60 Apr 20, 2026
0b60093
push drop retention
nickp60 Apr 20, 2026
12a5ae8
untabbify
nickp60 Apr 20, 2026
4d39d00
refactor humann to separate modules :(
nickp60 Apr 21, 2026
87e0314
fix sort, fix import
nickp60 Apr 21, 2026
585d802
update
nickp60 Apr 21, 2026
5ab29a6
fix versions
nickp60 Apr 21, 2026
551b999
snapshot only reads not dbs, disable humann4 for tests
nickp60 Apr 21, 2026
0cf765b
update snap
nickp60 Apr 21, 2026
a532a7d
more separation
nickp60 Apr 21, 2026
a4c227d
just reorders test input
miraep8 Apr 21, 2026
da969fc
adds back dbs to prepareInputs snap
miraep8 Apr 21, 2026
967ebd6
add back humannv4
nickp60 Apr 21, 2026
6320c28
sorts keys and input
miraep8 Apr 21, 2026
a644931
join mpa with reads before humann
nickp60 Apr 22, 2026
c1cbe94
Merge remote-tracking branch 'origin/minimal_change_parallel_debug' i…
nickp60 Apr 22, 2026
56f0ea0
clean up humann meta
nickp60 Apr 22, 2026
08237bc
syntax, fix test input url
nickp60 Apr 22, 2026
bebc86f
syntax
nickp60 Apr 22, 2026
da2f92c
update snapshots
nickp60 Apr 22, 2026
4d58eb6
Revert commits from dev in relation to this one. See below for full l…
vinisalazar Apr 28, 2026
b5d3178
Merge branch 'get-build-artifacts' into fix-dev
vinisalazar Apr 28, 2026
b466a66
Merge pull request #51 from vinisalazar/fix-dev
vinisalazar Apr 28, 2026
c500582
Replace test-datasets mentions with nf-core repo
vinisalazar Apr 28, 2026
e4e8b51
runs nextflow lint on all nf files
miraep8 Apr 29, 2026
833b2df
same issues with test and netflix version
miraep8 Apr 29, 2026
37559e6
Merge pull request #54 from nf-core/fix_linting
miraep8 Apr 29, 2026
3bbdabd
Mark DIAMOND and eggNOG-mapper as beta in README
Yixuan39 Apr 30, 2026
55e2c6b
Template update for nf-core/tools version 4.0.2
nf-core-bot Apr 30, 2026
47625fc
Update DIAMOND/EggNOG status and warnings
Yixuan39 May 10, 2026
6ab44a3
Fix website issues
Yixuan39 May 10, 2026
be25804
fix: wrap ext.prefix ternary inside single closure
vinisalazar May 12, 2026
d1fa49d
fix(fmhfunprofiler): fix typo, remove TODOs, fix version string
vinisalazar May 12, 2026
ab360d1
fix(fmhfunprofiler): remove TODO comments from tests
vinisalazar May 12, 2026
0bdc1ab
fix(fmhfunprofiler): rewrite meta.yml with correct inputs/outputs
vinisalazar May 12, 2026
584b2f1
docs: rewrite output.md per nf-core conventions
vinisalazar May 12, 2026
a5a0903
docs: convert GitHub admonitions to nf-core website admonitions
vinisalazar May 12, 2026
834ae70
chore: sync RO-Crate description from README
vinisalazar May 12, 2026
ff12832
Apply pre-commit
vinisalazar May 12, 2026
8c4b3a4
Merge pull request #57 from Yixuan39/dev
vinisalazar May 12, 2026
ae0162f
Merge branch 'dev' into pr52-code-review-minor
vinisalazar May 12, 2026
630bfc2
Update snapshots
vinisalazar May 12, 2026
292e231
Merge pull request #59 from vinisalazar/pr52-code-review-minor
vinisalazar May 12, 2026
745df54
Resolve merge conflicts from nf-core-template-merge-4.0.2
vinisalazar May 12, 2026
15ce257
Fix Nextflow lint errors from template merge
vinisalazar May 12, 2026
d45e41f
Fix more pre-commit errors
vinisalazar May 12, 2026
cd18e2e
Remove lint ignores
vinisalazar May 12, 2026
76896b2
Remove names of tools from error message
vinisalazar May 13, 2026
c55af29
cat/fastq: update module
vinisalazar May 15, 2026
e7c6004
eggnogmapper: update module
vinisalazar May 15, 2026
724a15d
metaphlan/metaphlan: update module
vinisalazar May 15, 2026
60a5615
rgi/bwt: update module
vinisalazar May 15, 2026
fcb50b6
seqkit/fq2fa: update module
vinisalazar May 15, 2026
beeecbc
Linting modules
vinisalazar May 15, 2026
2e61cf0
Add 'Install Nextflow' action
vinisalazar May 15, 2026
662904e
Update nf-core config
vinisalazar May 15, 2026
17c8094
Update subworkflow 'utils_nextflow_pipeline'
vinisalazar May 15, 2026
16f8db1
Update subworkflow 'utils_nfcore_pipeline'
vinisalazar May 15, 2026
a0f59ef
Update subworkflow 'utils_nfschema_plugin'
vinisalazar May 15, 2026
8b2a6c2
fix: add missing cli_typecast arg to UTILS_NFSCHEMA_PLUGIN call
vinisalazar May 15, 2026
03e2145
ci: update nf-test.yml workflow file
vinisalazar May 15, 2026
385a3cb
WIP fulltest with interim paths
nickp60 May 22, 2026
630c581
Merge branch 'dev' into dev-update-template
vinisalazar May 23, 2026
b117aaa
Remove names of tools from error message
vinisalazar May 13, 2026
374319f
Merge branch 'dev' into dev-update-template
vinisalazar May 23, 2026
578b0c4
Merge pull request #60 from vinisalazar/dev-update-template
vinisalazar May 23, 2026
c385559
Linting: fix version string
vinisalazar May 23, 2026
945efa2
Install nf-core humann3 and mifaser modules
vinisalazar May 23, 2026
d0f94f4
Use nf-core humann3 and mifaser in profile workflow
vinisalazar May 23, 2026
b0d1f27
Remove replaced local humann3 and mifaser modules
vinisalazar May 23, 2026
646f37c
Linting: pin multiqc report_comment to 1.0.0
vinisalazar May 23, 2026
b0917e7
fix snapshot; mifaser fixed in testdatasets
nickp60 Jun 12, 2026
4d4b8c5
exclude pesky non-deterministic regroupung for test profile; add card…
nickp60 Jun 25, 2026
df8c6f9
re-enable conda support after tools were added to bioconda (#63)
nickp60 Jul 2, 2026
80d7556
add working tests for rgi/bwt
nickp60 Jul 7, 2026
135efa0
update4 snap
nickp60 Jul 7, 2026
13f29b1
fix snapshot, mysterious error\no such property: process for class: c…
nickp60 Jul 7, 2026
66de1db
fix rgi assertion
nickp60 Jul 7, 2026
fea6860
snapshot versions to clarify issue
nickp60 Jul 8, 2026
d3ec186
bump rgi version
nickp60 Jul 8, 2026
a2dc0ce
attempt remove global topic tag
nickp60 Jul 9, 2026
6446f24
bump nf-test to version supporting topics
nickp60 Jul 9, 2026
1d415f1
clean up prior to lint fix
nickp60 Jul 9, 2026
a72f04e
reinstall multiqc to fix conf issue
nickp60 Jul 9, 2026
d689a3f
WIP cleaning up lint comments
nickp60 Jul 9, 2026
d334781
more lint cleanups
nickp60 Jul 13, 2026
71735ed
temporary fix fmhfuncprofiler test
nickp60 Jul 14, 2026
3845079
prek
nickp60 Jul 14, 2026
1846312
Template update for nf-core/tools version 4.0.3.dev0
nickp60 Jul 14, 2026
4cdaf37
attempt bump template
nickp60 Jul 14, 2026
5c2be92
bump sticky pull comment to 3.0.5 to avoid node 20 error
nickp60 Jul 14, 2026
a0d2bf9
increase shards, add valid nf-core version
nickp60 Jul 14, 2026
30112d7
update rocrate and config; bandaid for https://github.com/nf-core/too…
nickp60 Jul 23, 2026
e6c80e1
revert container configs with nf-core/tools 4.0.2 to pass lint tests
nickp60 Jul 23, 2026
f56a916
bump shards to avoid out of storage error
nickp60 Jul 23, 2026
4dfa00d
attempt to drop dataset to avoid storage issue
nickp60 Jul 23, 2026
3d41918
simplify profile subworkflow test; merge logic already tested in data…
nickp60 Jul 23, 2026
e351b6a
Update documentation links in README (#66)
Yixuan39 Jul 23, 2026
73b056e
Template update for nf-core/tools version 4.0.3
nf-core-bot Jul 24, 2026
ca2080d
swap in module for fmhfunprofiler
nickp60 Jul 24, 2026
e8d9f16
Merge branch 'dev' of github.com:nf-core/funcprofiler into dev
nickp60 Jul 24, 2026
e47a3f3
merge template
nickp60 Jul 24, 2026
1e0dcce
fix rocrate
nickp60 Jul 24, 2026
fe0ac38
local lint and tests rerun
nickp60 Jul 24, 2026
489dd49
Code review for #52 (#68)
vinisalazar Jul 30, 2026
f70c3ed
Template update for nf-core/tools version 4.1.0
nickp60 Jul 30, 2026
9acfcca
merged 4.1.0 template
nickp60 Jul 30, 2026
f8607a3
Fix DIAMOND db intake (#71)
vinisalazar Jul 31, 2026
4d53c0c
Feat/cite (#72)
nickp60 Jul 31, 2026
a0d5bcc
Fix eggNOG-mapper database integration (#74)
vinisalazar Aug 3, 2026
0693820
WIP address outstanding comments
nickp60 Aug 4, 2026
04a93a7
WIP addressing more comments; update profile snapshot
nickp60 Aug 4, 2026
e6e396a
lint, address more comments
nickp60 Aug 4, 2026
c03cfbf
prek
nickp60 Aug 4, 2026
77674e4
Address review follow-ups from PR #52
vinisalazar Aug 5, 2026
8726325
Merge pull request #77 from vinisalazar/fix/pr52-review-followups
vinisalazar Aug 5, 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
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/nextbigthing devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
125 changes: 0 additions & 125 deletions .github/CONTRIBUTING.md

This file was deleted.

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/funcprofiler/tree/main/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/funcprofiler/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/funcprofiler/tree/main/.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/funcprofiler/tree/main/docs/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/funcprofiler _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
2 changes: 1 addition & 1 deletion .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
uses: nf-core/setup-nf-test@4069fbbaabe94c08faba4ad261bfa88225ba133f # v2
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
Expand Down
17 changes: 11 additions & 6 deletions .github/actions/nf-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,43 @@ runs:
using: "composite"
steps:
- name: Setup Nextflow
uses: nf-core/setup-nextflow@v2
uses: nf-core/setup-nextflow@893c28b667aedeba26e37f296d260ccc5bc4d914 # v3
with:
version: "${{ env.NXF_VERSION }}"

- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.13"
python-version: "3.14"

- name: Install nf-test
uses: nf-core/setup-nf-test@v1
uses: nf-core/setup-nf-test@4069fbbaabe94c08faba4ad261bfa88225ba133f # v2
with:
version: "${{ env.NFT_VER }}"
install-pdiff: true

- name: Setup apptainer
if: contains(inputs.profile, 'singularity')
uses: eWaterCycle/setup-apptainer@main
uses: eWaterCycle/setup-apptainer@3f706d898c9db585b1d741b4692e66755f3a1b40 # v2.0.0

- name: Set up Singularity
if: contains(inputs.profile, 'singularity')
shell: bash
run: |
# The runner image restricts unprivileged user namespaces, which non-suid
# apptainer needs to start a container at all.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
- name: Conda setup
if: contains(inputs.profile, 'conda')
uses: conda-incubator/setup-miniconda@505e6394dae86d6a5c7fbb6e3fb8938e3e863830 # v3
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4
with:
auto-update-conda: true
conda-solver: libmamba
channels: conda-forge
channel-priority: flexible
conda-remove-defaults: true

- name: Run nf-test
Expand Down
38 changes: 28 additions & 10 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,44 @@ jobs:
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
uses: seqeralabs/action-tower-launch@51565b514bff1827cf34620de25d0055759f1fc9 # v2
# 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 }}
workspace_id: ${{ vars.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
compute_env: ${{ vars.TOWER_COMPUTE_ENV }}
revision: ${{ steps.revision.outputs.revision }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/funcprofiler/work-${{ steps.revision.outputs.revision }}
workdir: s3://${{ vars.AWS_S3_BUCKET }}/work/funcprofiler/work-${{ steps.revision.outputs.revision }}
nextflow_config: |
plugins {
id 'nf-slack@0.5.0'
}
slack {
enabled = true
bot {
token = '${{ secrets.NFSLACK_BOT_TOKEN }}'
channel = 'funcprofiler'
}
onStart {
enabled = false
}
onComplete {
message = ':white_check_mark: *funcprofiler/test_full* completed successfully! :tada:'
}
onError {
message = ':x: *funcprofiler/test_full* failed :crying_cat_face:'
}
}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/funcprofiler/results-${{ steps.revision.outputs.revision }}"
"outdir": "s3://${{ vars.AWS_S3_BUCKET }}/funcprofiler/results-${{ steps.revision.outputs.revision }}"
}
profiles: test_full

- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: Seqera Platform debug log file
path: |
seqera_platform_action_*.log
seqera_platform_action_*.json
tower_action_*.log
tower_action_*.json
16 changes: 8 additions & 8 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
steps:
# Launch workflow using Seqera Platform CLI tool action
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
uses: seqeralabs/action-tower-launch@51565b514bff1827cf34620de25d0055759f1fc9 # v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
workspace_id: ${{ vars.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
compute_env: ${{ vars.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/funcprofiler/work-${{ github.sha }}
workdir: s3://${{ vars.AWS_S3_BUCKET }}/work/funcprofiler/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/funcprofiler/results-test-${{ github.sha }}"
"outdir": "s3://${{ vars.AWS_S3_BUCKET }}/funcprofiler/results-test-${{ github.sha }}"
}
profiles: test

- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: Seqera Platform debug log file
path: |
seqera_platform_action_*.log
seqera_platform_action_*.json
tower_action_*.log
tower_action_*.json
Loading
Loading