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

Release PR for 2.0.0 #410

Merged
merged 418 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
f63f569
Merge pull request #371 from m3hdad/arg-amrfinderplus-name
jasmezz May 3, 2024
998de1f
Implement nf-test for BGC workflow
jasmezz May 7, 2024
c9db992
Implemented nf-test for AMP/ARG workflows (pyrodigal)
jasmezz May 7, 2024
8d909fb
Complete test_pyrodigal
jasmezz May 8, 2024
452a286
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
cbbc695
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
bf9c9d1
Merge branch 'dev' of github.com:nf-core/funcscan into nf-core-templa…
jfy133 May 15, 2024
e93d161
And everything else?
jfy133 May 15, 2024
421a6d4
Remove accidentally included `.nf-test` files
jfy133 May 15, 2024
48c0cd4
Update changelog
jfy133 May 15, 2024
5ad3cde
Remove leftover nf-test testing cruft
jfy133 May 15, 2024
e525c30
Merge pull request #375 from nf-core/nf-core-template-merge-2.14.1
jfy133 May 15, 2024
1f07771
Fix intermittant RGI process fail when certain files not produced
jfy133 May 15, 2024
af08833
Fix changelog
jfy133 May 15, 2024
8fb57b5
Better version
jfy133 May 16, 2024
0d76238
Merge pull request #377 from nf-core/fix-rgi-mv-fail
jfy133 May 16, 2024
3effa9f
Merge branch 'nf-test-conversion' of https://github.com/nf-core/funcs…
Darcy220606 May 17, 2024
dcadba5
Fix test_pyrodigal, add test_prokka
jasmezz May 22, 2024
fb6363f
Merge branch 'nf-test-conversion' of https://github.com/nf-core/funcs…
Darcy220606 May 27, 2024
2725c09
add taxonomy nftest
Darcy220606 May 27, 2024
f61f051
Add test_bakta
jasmezz May 28, 2024
eb4556b
Update test_bakta
jasmezz May 28, 2024
cab7811
Remove contig splitting add taxonomy fix
jfy133 May 29, 2024
6ba225b
Remove erroneous changelog entry
jfy133 May 29, 2024
f3698bb
Re-add annotation ORFs, everything should be working except the combB…
jfy133 May 29, 2024
1283308
Trying bumping MMSeqs database memory
jfy133 May 29, 2024
55ab7e8
Apply suggestions from code review
jfy133 May 30, 2024
45d3df1
Update workflows/funcscan.nf
jfy133 May 30, 2024
c46b53e
Update test_taxonomy.config
jfy133 May 30, 2024
5e19b8b
Apply suggestions from code review
jfy133 May 30, 2024
ca24ce1
Merge pull request #381 from nf-core/presupplied-orfs-attempt3
jfy133 Jun 3, 2024
a8c7452
New strategy for BGC contig optimisation
jfy133 Jun 3, 2024
5464506
Add changelog
jfy133 Jun 3, 2024
62220fc
Add filtered contig files output saving to test_taxonomy and improve …
jfy133 Jun 3, 2024
bfeabad
Remove dumps, reduce contig lengths to increase gecco hits
jfy133 Jun 3, 2024
6750006
add ampcombi2 and deprecate ampcombi
Darcy220606 Jun 4, 2024
ade5ddb
apply prettier
Darcy220606 Jun 4, 2024
cd6ed10
fix schema
Darcy220606 Jun 4, 2024
d81237e
fix linting
Darcy220606 Jun 4, 2024
962b2b3
fix spacing
Darcy220606 Jun 4, 2024
5a31a51
Apply suggestions from code review [skip ci]
jasmezz Jun 4, 2024
242cedc
Apply suggestions from code review [skip ci]
jasmezz Jun 4, 2024
1ad1712
Update test_full profile with new BGC params
jasmezz Jun 4, 2024
e6973f7
Merge pull request #382 from nf-core/filter-bgc-fastas
jasmezz Jun 4, 2024
12d7f01
change memory for ampcombi/cluster
Darcy220606 Jun 6, 2024
761b65a
add PR#
Darcy220606 Jun 6, 2024
9a75372
Merge branch 'dev' into add_ampcombi_2_dev
Darcy220606 Jun 6, 2024
49ee5a6
fix prodigal and pyrodigal with AMP
Darcy220606 Jun 6, 2024
d3b2aa6
lint annotation.nf
Darcy220606 Jun 6, 2024
9d5dec7
Update deebgc/pipeline module
jasmezz Jun 6, 2024
aa19d60
Update changelog
jasmezz Jun 6, 2024
fbc3061
Adding warning for missing deepbgc output, need only to add meta.id
jasmezz Jun 7, 2024
8d360b4
add reviewer suggestions
Darcy220606 Jun 10, 2024
b9f7ce2
fix schema
Darcy220606 Jun 10, 2024
e00a968
Print warning if no hits found by BGC tools
jasmezz Jun 10, 2024
3fb1dae
Add missing if-else statements; add comments
jasmezz Jun 10, 2024
ae223f9
Update nextflow_schema.json
Darcy220606 Jun 11, 2024
637b739
Update nextflow_schema.json
Darcy220606 Jun 11, 2024
f7ba1dc
Update subworkflows/local/amp.nf
Darcy220606 Jun 11, 2024
1fbcd82
Update subworkflows/local/amp.nf
Darcy220606 Jun 11, 2024
f99593f
Update subworkflows/local/annotation.nf
Darcy220606 Jun 11, 2024
8ca2ce1
Update CHANGELOG.md
Darcy220606 Jun 11, 2024
edd175f
Update docs/usage.md
Darcy220606 Jun 11, 2024
94bc953
Merge pull request #384 from Darcy220606/add_ampcombi_2_dev
Darcy220606 Jun 12, 2024
f6b792e
Alternative way of warning if no BGC hits are found
jasmezz Jun 12, 2024
291b6aa
Fix formatting
jasmezz Jun 12, 2024
5c4ab48
Fix snapshots
jasmezz Jun 12, 2024
0c8c1a4
Merge branch 'dev' into nf-test-conversion
jasmezz Jun 13, 2024
3df0b1a
Fix test profiles
jasmezz Jun 13, 2024
719f83c
Update ci.yml, changelog, multiqc, schema.json, fix linting
jasmezz Jun 13, 2024
c39a979
Fix funcscan.nf, ci.yml
jasmezz Jun 13, 2024
fad47e1
Fix linting for nextflow_schema.json
jasmezz Jun 13, 2024
a325aaf
Move ANNOTATION MQC mixing to right place
jfy133 Jun 17, 2024
c9ce4dd
Fix multiqc annotation channel, fix prepped_input, have all BGC tools…
jasmezz Jun 17, 2024
77b27c4
Merge branch 'dev' into update_deepbgc
jasmezz Jun 17, 2024
9e80d2d
Fix BGC tools input channel
jasmezz Jun 17, 2024
0b66fbd
Merge branch 'update_deepbgc' of github.com:nf-core/funcscan into upd…
jasmezz Jun 17, 2024
ddd4441
Remove ugly warning from nf-validation
jfy133 Jun 19, 2024
bfb76e8
Move multiQC file annotation mixing to the right place and fix duplic…
jfy133 Jun 19, 2024
7673f80
Update paths (test_bgc_pyrodigal)
jasmezz Jun 19, 2024
18afe1f
Fix comBGC warning
jasmezz Jun 20, 2024
a10963d
Add support for custom ABRicate custom databases
jfy133 Jun 20, 2024
2970101
Fix warning if no BGC hits found
jasmezz Jun 20, 2024
5119dc0
Fix variable error and add docs
jfy133 Jun 20, 2024
7dafc16
Update CHANGELOG.md [skip ci]
jasmezz Jun 20, 2024
72c4da6
Apply suggestions from code review
jasmezz Jun 21, 2024
8e83ad0
Merge pull request #387 from nf-core/update-abricate
jasmezz Jun 21, 2024
1d009ad
Merge pull request #386 from nf-core/update_deepbgc
jasmezz Jun 21, 2024
42a849a
Merge branch 'dev' into nf-test-conversion
jfy133 Jun 23, 2024
afdec7a
Merge branch 'nf-test-conversion' of github.com:nf-core/funcscan into…
jfy133 Jun 23, 2024
0c552c1
Standard test-data specification across all new configs
jfy133 Jun 23, 2024
ba572a9
Start updating workflow
jfy133 Jun 23, 2024
d96a513
Update schema (until fargene), update some tests
jasmezz Jun 24, 2024
c36c640
Complete first draft of the update
jfy133 Jun 24, 2024
f036b99
Finish pyrodigal and prokka tests, update schema
jasmezz Jun 25, 2024
96bb450
Deactivate hmmsearch by default, update MultiQC
jasmezz Jun 26, 2024
516bce1
Finish taxonomy (bakta,prokka,pyrodigal) and bakta tests, update full…
jasmezz Jun 26, 2024
6f187e3
Update `annotation_bakta_db` param, add preannotated test (not workin…
jasmezz Jun 26, 2024
eac462d
Update diagram to impending release
jfy133 Jun 27, 2024
9b44626
Less stretched
jfy133 Jun 27, 2024
3d5876a
Complete full test
jasmezz Jun 28, 2024
8755057
Unify all "database" parameters
jasmezz Jun 28, 2024
b19f7e2
Fix database params
jasmezz Jul 1, 2024
ba0dfcd
Merge pull request #388 from nf-core/workflow-diagram-update-1.2
jfy133 Jul 1, 2024
fc22654
Fix full test
jasmezz Jul 2, 2024
ab0a22d
Fix linting
jasmezz Jul 2, 2024
4f756aa
Finish full test
jasmezz Jul 3, 2024
1632179
Add all changes mentioned in changelog
jasmezz Jul 3, 2024
d31aeb1
Remove script file (was added by mistake)
jasmezz Jul 3, 2024
d8bd497
Fix docker/singularity only antismash directory error when conda sele…
jfy133 Jul 3, 2024
5c772ac
Actual CHGL message
jfy133 Jul 3, 2024
cad0614
Apply suggestions from code review [skip ci]
jasmezz Jul 3, 2024
c1c6251
Merge pull request #393 from nf-core/conda-antismash-vbug
jasmezz Jul 3, 2024
4bdff2c
Add preannotated tests
jasmezz Jul 3, 2024
000bb90
Merge branch 'dev' into nf-test-conversion
jasmezz Jul 3, 2024
1f617a5
Fix linting/missed merge conflict
jasmezz Jul 3, 2024
f0b6887
Add fix, update changelog
jasmezz Jul 4, 2024
2946972
Apply suggestions from code review
jasmezz Jul 4, 2024
ecb04e0
Apply suggestions from code review
jasmezz Jul 4, 2024
62ad92a
Merge pull request #394 from nf-core/fix-preannotated-input
jasmezz Jul 4, 2024
48f0b1b
Apply suggestions from code review
jasmezz Jul 4, 2024
7ebf74e
Merge branch 'dev' into docs-update
jasmezz Jul 4, 2024
c1ea976
Fix linting
jasmezz Jul 4, 2024
8590a74
Merge branch 'docs-update' of github.com:nf-core/funcscan into docs-u…
jasmezz Jul 4, 2024
3d3a721
Update icons, put some entries in correct order
jasmezz Jul 4, 2024
bad36bc
Update taxonomy tests, update ci.yml
jasmezz Jul 4, 2024
98c71b8
Merge branch 'dev' into nf-test-conversion
jasmezz Jul 4, 2024
83841c5
Update changelog
jasmezz Jul 4, 2024
088dbce
Merge branch 'nf-test-conversion' of github.com:nf-core/funcscan into…
jasmezz Jul 4, 2024
1adc9dc
Apply suggestions from code review
jfy133 Jul 4, 2024
239ea4f
Fix linting
jfy133 Jul 4, 2024
67c9f6a
Fix HMMSearch variables in text reporintg
jfy133 Jul 4, 2024
bc50c6b
Final changes
jfy133 Jul 4, 2024
af6b1fb
Fix preannotated test
jasmezz Jul 4, 2024
a208746
Merge pull request #391 from nf-core/docs-update
jasmezz Jul 4, 2024
6065c28
Updated failing taxonomy tests (snapshots missing)
jasmezz Jul 4, 2024
22ad445
Add taxonomy_bakta snapshot
jasmezz Jul 5, 2024
453c6a0
Add taxonomy_prokka snapshot
jasmezz Jul 5, 2024
50ce8d5
Merge branch 'dev' into nf-test-conversion
jasmezz Jul 5, 2024
746bbfa
Update changelog
jasmezz Jul 5, 2024
829c0e0
Update preannotated test + snapshot
jasmezz Jul 5, 2024
a0a5c9d
Remove deprecated ampcombi module
jasmezz Jul 5, 2024
48cb25e
Fix linting, fix warning messages if no annotation files
jasmezz Jul 5, 2024
e305c57
Apply suggestions from code review
jasmezz Jul 5, 2024
61b220c
Fixed antismash-conda download issue, removed deprecated ampcombi + m…
jasmezz Jul 5, 2024
3052a14
Update CHANGELOG.md
jfy133 Jul 7, 2024
96be132
Merge pull request #397 from nf-core/params-docs-fixes
jasmezz Jul 8, 2024
98a69ab
Merge branch 'dev' into nf-test-conversion
jasmezz Jul 8, 2024
78093ef
Merge branch 'master' into dev
jfy133 Jul 8, 2024
ed9f265
Merge branch 'dev' into nf-test-conversion
jfy133 Jul 8, 2024
ab3eda5
Clean up and add missing version numbers to CHANGELOG
jfy133 Jul 8, 2024
0789878
Apply suggestions from code review [skip ci]
jasmezz Jul 8, 2024
33f55b5
Apply suggestions from code review
jasmezz Jul 9, 2024
5c1c275
update test_full snap
Darcy220606 Jul 12, 2024
e535372
Merge pull request #366 from nf-core/nf-test-conversion
jfy133 Jul 12, 2024
e4e9c16
fix ampcombi cluster upon no hits
Darcy220606 Jul 12, 2024
d47052c
edit the log warning
Darcy220606 Jul 12, 2024
6f315ff
change warning
Darcy220606 Jul 12, 2024
858a069
Merge pull request #400 from Darcy220606/fix_ampcombi_cluster
jfy133 Jul 12, 2024
c381f0d
ADD argNorm module to ARG subworkflow
Vedanth-Ramji Jul 15, 2024
8fb9262
Fix path to argNorm output in test.nf
Vedanth-Ramji Jul 15, 2024
6073b62
Move argNorm test to test_preannotated
Vedanth-Ramji Jul 16, 2024
c6df5aa
ENH make sure to not pass empty files into argNorm
Vedanth-Ramji Jul 16, 2024
7097413
RFCT simplify file check for argnorm
Vedanth-Ramji Jul 16, 2024
6f16440
Fix argNorm tests
Vedanth-Ramji Jul 17, 2024
1f0a7ac
ENH remove unnecessary trailing whitespaces
Vedanth-Ramji Jul 17, 2024
53ab5d5
Auto-updated modules/nf-test files
jasmezz Jul 17, 2024
3bc1fac
[automated] Fix linting with Prettier
nf-core-bot Jul 18, 2024
431a7cc
ENH only use tsv version of hamronization output, simplify argnorm ou…
Vedanth-Ramji Jul 18, 2024
c79cafd
[automated] Fix linting with Prettier
nf-core-bot Jul 18, 2024
bde8907
ENH allow argNorm to be skipped
Vedanth-Ramji Jul 18, 2024
002ade7
BUG remove arg_skip_argnorm in test
Vedanth-Ramji Jul 18, 2024
a0e9aa1
RFCT make sure every named process is mixed
Vedanth-Ramji Jul 18, 2024
fb3af3f
Improve argnorm description in nextflow_schema.json
Vedanth-Ramji Jul 18, 2024
282388f
Update docs, fix comBGC, make MultiQC update work
jasmezz Jul 18, 2024
01e03fa
Update changelog
jasmezz Jul 18, 2024
c492a52
Added antismash params: pfam2go, rre, tfbs
jasmezz Jul 18, 2024
2829fbd
Apply suggestions from code review
jasmezz Jul 19, 2024
bef6312
Merge pull request #403 from nf-core/add-antismash-parameters
jasmezz Jul 19, 2024
aea6bf1
Patch untar module (update was not working on tar.bz2 files)
jasmezz Jul 19, 2024
d3bf4c0
Commit something to trigger CI tests
jasmezz Jul 19, 2024
d482e7d
Merge pull request #402 from nf-core/modules-update
jasmezz Jul 19, 2024
aac5515
Release version bump
jasmezz Jul 19, 2024
32b93a6
DOC add argnorm citation
Vedanth-Ramji Jul 20, 2024
d8e5b17
Merge branch 'dev' into dev
Vedanth-Ramji Jul 20, 2024
24cb448
[automated] Fix linting with Prettier
nf-core-bot Jul 20, 2024
4bc6692
remove unnecessary whitespaces
Vedanth-Ramji Jul 20, 2024
8504e01
Update snapshot for test_preannotated
Vedanth-Ramji Jul 21, 2024
2d73a41
Update base.config to mention requirements correctly for argNorm and …
Vedanth-Ramji Jul 23, 2024
f2e4f58
remove unnecessary whitespaces
Vedanth-Ramji Jul 23, 2024
7bc0d87
Fix input channel in funcscan.nf
jasmezz Jul 23, 2024
41d51cd
fix spacing and argnorm documentation
Vedanth-Ramji Jul 23, 2024
e671c3f
Fix argNorm citation
Vedanth-Ramji Jul 23, 2024
887d06d
Merge pull request #406 from nf-core/fix-no-annotation-behaviour
jasmezz Jul 23, 2024
583875d
Update test snapshot (others incoming later)
jasmezz Jul 23, 2024
f6545ac
Fix full_test assertions [skip ci]
jasmezz Jul 23, 2024
7b6ee27
Full_test snapshot [skip ci]
jasmezz Jul 24, 2024
b262551
Apply suggestions from code review
jfy133 Jul 24, 2024
91381ce
Updating nf-test files + snapshots (non-taxonomy)
jasmezz Jul 24, 2024
3130528
Update taxonomy test snapshots
jasmezz Jul 24, 2024
c0f40b7
Correct ARO test for deeparg in argnorm
Vedanth-Ramji Jul 24, 2024
be47309
Fix comBGC: parsing multiple antismash results
jasmezz Jul 24, 2024
4f0ca0a
Update changelog
jasmezz Jul 24, 2024
bf0b735
Update ARO test for deeparg in argnorm
Vedanth-Ramji Jul 24, 2024
f5e5195
Update test_preannotated snapshot
Vedanth-Ramji Jul 24, 2024
0ff6343
Merge pull request #407 from nf-core/fix-combgc-parsing
jasmezz Jul 24, 2024
6b93a96
Update argnorm deeparg test
Vedanth-Ramji Jul 24, 2024
451cd52
Update citation style, docs
jasmezz Jul 24, 2024
e2b56da
Merge pull request #405 from Vedanth-Ramji/dev
Vedanth-Ramji Jul 25, 2024
a694d1b
Update workflow, remove fastqc files
jasmezz Jul 25, 2024
a3d62a1
Updated files from updated Inkscape
jasmezz Jul 25, 2024
ebd8f31
Update legend
jasmezz Jul 25, 2024
31a4ac7
Add arrows for clarity
jasmezz Jul 25, 2024
8ab8ade
Put logo top left, revert legend to bottom left
jasmezz Jul 25, 2024
d3f4a4e
Make layout more balanced
jfy133 Jul 26, 2024
6eae341
Adjust version and legend ( )
jasmezz Jul 26, 2024
9c71780
Get FastQC images back for template purposes
jasmezz Jul 26, 2024
1bad834
Git revert changing FastQC files
jasmezz Jul 26, 2024
e331cf7
Merge pull request #408 from nf-core/update-metro-workflow
jasmezz Jul 26, 2024
d398116
Update modules.config + update deeparg version string
jasmezz Jul 26, 2024
21e868b
Update argnorm nf-tests
jasmezz Jul 26, 2024
30de9e7
Update changelog
jasmezz Jul 26, 2024
5fecc6a
Update changelog
jasmezz Jul 26, 2024
b8a7a49
Update argnorm nf-tests
jasmezz Jul 27, 2024
fae8879
Update md5sums (preannotated)
jasmezz Jul 27, 2024
6c3b3ae
Merge pull request #409 from nf-core/fix-argnorm-deeparg
jasmezz Jul 27, 2024
0e0bf84
Merge pull request #404 from nf-core/release-bump-2.0.0
jasmezz Jul 29, 2024
02ed4eb
Apply suggestions from code review
jasmezz Aug 6, 2024
c08b29f
Apply suggestions from code review
jasmezz Aug 8, 2024
1e87c48
Apply suggestions from code review
jasmezz Aug 9, 2024
04195ad
Apply suggestions from code review (changelog)
jasmezz Aug 9, 2024
9c34d48
Update hamronization fargene input channel, optimize fargene publish_dir
jasmezz Aug 12, 2024
8f16bd7
Update changelog
jasmezz Aug 12, 2024
30417bf
Update fargene module
jfy133 Aug 12, 2024
272905b
Tweak CHANGELOG
jfy133 Aug 13, 2024
56278bd
Update nf-test as we reduce number of fargene hits
jfy133 Aug 13, 2024
16c8ab6
Improve documenation for all download help
jfy133 Aug 14, 2024
2aa130f
Update CHANGELOG.md
jfy133 Aug 14, 2024
d8f7a5c
[automated] Fix linting with Prettier
nf-core-bot Aug 14, 2024
49b5519
Add basic mmseqs
jfy133 Aug 14, 2024
4b3ed32
Add more specific descriptions of what directories should go into eac…
jfy133 Aug 15, 2024
c820d20
Add exact db files list to schema too
jfy133 Aug 15, 2024
5fb7be9
Fix param typo in schema.json [skip ci]
jasmezz Aug 20, 2024
89d5b82
Merge pull request #411 from nf-core/fix-hamronization-fargene-input
jasmezz Aug 20, 2024
f89a8bf
Update full test snapshot (thx ❤️@darcy220606), changelog
jasmezz Aug 21, 2024
6b2172e
Merge branch 'dev' into db-docs-improvements
jasmezz Aug 21, 2024
011fb56
Apply suggestions from code review
jasmezz Aug 21, 2024
f51cb0b
Bulk-update modules (mostly only nf-test files), fix changelog
jasmezz Aug 21, 2024
d9ee680
Merge pull request #412 from nf-core/db-docs-improvements
jasmezz Aug 21, 2024
09f61d1
Fix test_bgc_pyrodigal config
jasmezz Aug 21, 2024
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
  •  
  •  
  •  
10 changes: 1 addition & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},

// Add the IDs of extensions you want installed when the container is created.
Expand Down
11 changes: 10 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@ end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
[/subworkflows/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset

[/assets/email*]
indent_size = unset

# ignore python and markdown
[*.{py,md}]
indent_style = unset
13 changes: 9 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ 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 ;)

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

## Contribution workflow

Expand All @@ -27,6 +26,12 @@ If you're not used to this workflow with git, you can start with some [docs from

## 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 Down Expand Up @@ -87,7 +92,7 @@ Once there, use `nf-core schema build` to add to `nextflow_schema.json`.

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.

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 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/func
- [ ] If necessary, also make a PR on the nf-core/funcscan _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
12 changes: 6 additions & 6 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
types: [published]
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/funcscan'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -28,9 +28,9 @@ jobs:
}
profiles: test_full

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
14 changes: 7 additions & 7 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: nf-core AWS test
on:
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS tests
if: github.repository == 'nf-core/funcscan'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
# Launch workflow using Seqera Platform CLI tool action
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -25,9 +25,9 @@ jobs:
}
profiles: test

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# 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:
Expand Down
133 changes: 66 additions & 67 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,102 +1,101 @@
name: nf-core CI
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
name: nf-core CI
on:
push:
branches:
- dev
- "dev"
pull_request:
branches:
- "dev"
- "master"
release:
types: [published]
types:
- "published"

env:
NXF_ANSI_LOG: false
NFTEST_VER: "0.8.4"

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: Run pipeline with test data (AMP and ARG workflows)
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/funcscan') }}"
define_nxf_versions:
name: Choose nextflow versions to test against depending on target branch
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "23.04.0"
- "latest-everything"
parameters:
- "--annotation_tool prodigal"
- "--annotation_tool prokka"
- "--annotation_tool bakta --annotation_bakta_db_downloadtype light"

outputs:
matrix: ${{ steps.nxf_versions.outputs.matrix }}
steps:
- name: Check out pipeline code
uses: actions/checkout@v3

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with test data (AMP and ARG workflows)
- id: nxf_versions
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results ${{ matrix.parameters }}
if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.base_ref }}" == "dev" && "${{ matrix.NXF_VER }}" != "latest-everything" ]]; then
echo matrix='["latest-everything"]' | tee -a $GITHUB_OUTPUT
else
echo matrix='["latest-everything", "23.10.0"]' | tee -a $GITHUB_OUTPUT
fi

test_bgc:
name: Run pipeline with test data (BGC workflow)
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/funcscan') }}"
test:
name: nf-test
needs: define_nxf_versions
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
NXF_VER:
- "23.04.0"
- "latest-everything"
parameters:
- "--annotation_tool prodigal"
- "--annotation_tool prokka"
- "--annotation_tool bakta --annotation_bakta_db_downloadtype light"
NXF_VER: ${{ fromJson(needs.define_nxf_versions.outputs.matrix) }}
tags:
- "test"
- "test_nothing"
- "test_bakta"
- "test_prokka"
- "test_bgc_pyrodigal"
- "test_bgc_bakta"
- "test_bgc_prokka"
- "test_taxonomy_pyrodigal"
- "test_taxonomy_bakta"
- "test_taxonomy_prokka"
- "test_preannotated"
- "test_preannotated_bgc"
profile:
jasmezz marked this conversation as resolved.
Show resolved Hide resolved
- "docker"

steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Check out test data
uses: actions/checkout@v3
with:
repository: nf-core/test-datasets
ref: funcscan
path: test-datasets/
fetch-depth: 1

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with test data (BGC workflow)
- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: Install nf-test
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_bgc,docker --outdir ./results ${{ matrix.parameters }} --bgc_skip_deepbgc
wget -qO- https://code.askimed.com/install/nf-test | bash -s $NFTEST_VER
sudo mv nf-test /usr/local/bin/

test_deeparg:
name: Run pipeline with test data (DeepARG only workflow)
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/funcscan') }}"
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "23.04.0"
- "latest-everything"
parameters:
- "--annotation_tool bakta --annotation_bakta_db_downloadtype light"
- "--annotation_tool pyrodigal"
- name: Run nf-test
run: |
nf-test test --tag ${{ matrix.tags }} --profile ${{ matrix.tags }},${{ matrix.profile }} --junitxml=test.xml

steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- name: Output log on failure
if: failure()
run: |
sudo apt install bat > /dev/null
batcat --decorations=always --color=always ${{ github.workspace }}/.nf-test/*/tests/output/pipeline_info/software_versions.yml

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with test data (DeepARG workflow)
run: |
wget https://zenodo.org/record/8280582/files/deeparg.zip ## download from zenodo due to instability of deepARG server
unzip deeparg.zip
nextflow run ${GITHUB_WORKSPACE} -profile test_deeparg,docker --outdir ./results ${{ matrix.parameters }} --arg_deeparg_data 'deeparg/'
report_paths: "*.xml"
2 changes: 1 addition & 1 deletion .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
Expand Down
Loading
Loading