Skip to content

Commit 8073125

Browse files
authored
Merge pull request #290 from nf-core/nf-core-template-merge-2.9
Important! Template update for nf-core/tools v2.9
2 parents 461784b + df5af52 commit 8073125

22 files changed

+270
-632
lines changed

.github/CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ To get started:
116116
Devcontainer specs:
117117

118118
- [DevContainer config](.devcontainer/devcontainer.json)
119-
- [Dockerfile](.devcontainer/Dockerfile)

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ body:
4242
attributes:
4343
label: System information
4444
description: |
45-
* Nextflow version _(eg. 22.10.1)_
45+
* Nextflow version _(eg. 23.04.0)_
4646
* Hardware _(eg. HPC, Desktop, Cloud)_
4747
* Executor _(eg. slurm, local, awsbatch)_
4848
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_

.github/workflows/awsfulltest.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,23 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Launch workflow via tower
17-
uses: seqeralabs/action-tower-launch@v1
17+
uses: seqeralabs/action-tower-launch@v2
1818
with:
1919
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
2020
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
2121
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
22+
revision: ${{ github.sha }}
2223
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/funcscan/work-${{ github.sha }}
2324
parameters: |
2425
{
26+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
2527
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/funcscan/results-${{ github.sha }}"
2628
}
27-
profiles: test_full,aws_tower
29+
profiles: test_full
30+
2831
- uses: actions/upload-artifact@v3
2932
with:
3033
name: Tower debug log file
31-
path: tower_action_*.log
34+
path: |
35+
tower_action_*.log
36+
tower_action_*.json

.github/workflows/awstest.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,22 @@ jobs:
1212
steps:
1313
# Launch workflow using Tower CLI tool action
1414
- name: Launch workflow via tower
15-
uses: seqeralabs/action-tower-launch@v1
15+
uses: seqeralabs/action-tower-launch@v2
1616
with:
1717
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
1818
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
1919
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
20+
revision: ${{ github.sha }}
2021
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/funcscan/work-${{ github.sha }}
2122
parameters: |
2223
{
2324
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/funcscan/results-test-${{ github.sha }}"
2425
}
25-
profiles: test,aws_tower
26+
profiles: test
27+
2628
- uses: actions/upload-artifact@v3
2729
with:
2830
name: Tower debug log file
29-
path: tower_action_*.log
31+
path: |
32+
tower_action_*.log
33+
tower_action_*.json

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
NXF_VER:
27-
- "22.10.1"
27+
- "23.04.0"
2828
- "latest-everything"
2929
parameters:
3030
- "--annotation_tool prodigal"
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
NXF_VER:
55-
- "22.10.1"
55+
- "23.04.0"
5656
- "latest-everything"
5757
parameters:
5858
- "--annotation_tool prodigal"
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
matrix:
8282
NXF_VER:
83-
- "22.10.1"
83+
- "23.04.0"
8484
- "latest-everything"
8585
parameters:
8686
- "--annotation_tool bakta --annotation_bakta_db_downloadtype light"

.gitpod.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
image: nfcore/gitpod:latest
2+
tasks:
3+
- name: Update Nextflow and setup pre-commit
4+
command: |
5+
pre-commit install --install-hooks
6+
nextflow self-update
27
38
vscode:
49
extensions: # based on nf-core.nf-core-extensionpack

CITATIONS.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
- [AMPlify](https://doi.org/10.1186/s12864-022-08310-4)
2222

23-
> CLi, C., Sutherland, D., Hammond, S. A., Yang, C., Taho, F., Bergman, L., Houston, S., Warren, R. L., Wong, T., Hoang, L., Cameron, C. E., Helbing, C. C., & Birol, I. (2022). AMPlify: attentive deep learning model for discovery of novel antimicrobial peptides effective against WHO priority pathogens. BMC genomics, 23(1), 77. [DOI: 10.1186/s12864-022-08310-4](https://doi.org/10.1186/s12864-022-08310-4)
23+
> Li, C., Sutherland, D., Hammond, S. A., Yang, C., Taho, F., Bergman, L., Houston, S., Warren, R. L., Wong, T., Hoang, L., Cameron, C. E., Helbing, C. C., & Birol, I. (2022). AMPlify: attentive deep learning model for discovery of novel antimicrobial peptides effective against WHO priority pathogens. BMC genomics, 23(1), 77. [DOI: 10.1186/s12864-022-08310-4](https://doi.org/10.1186/s12864-022-08310-4)
2424
2525
- [AMRFinderPlus](https://doi.org/10.1038/s41598-021-91456-0)
2626

@@ -34,6 +34,14 @@
3434

3535
> Schwengers, O., Jelonek, L., Dieckmann, M. A., Beyvers, S., Blom, J., & Goesmann, A. (2021). Bakta: rapid and standardized annotation of bacterial genomes via alignment-free sequence identification. Microbial Genomics, 7(11). [DOI: 10.1099/mgen.0.000685](https://doi.org/10.1099/mgen.0.000685)
3636
37+
- [bioawk](https://github.com/lh3/bioawk)
38+
39+
> Li, H. (2023). bioawk: BWK awk modified for biological data. Github. Retrieved July 12, 2023, from https://github.com/lh3/bioawk
40+
41+
- [comBGC](https://github.com/nf-core/funcscan)
42+
43+
> Frangenberg, J., Fellows Yates, J. A., Ibrahim, A., Perelo, L., & Beber, M. E. (2023). nf-core/funcscan: 1.0.0 - German Rollmops - 2023-02-15. https://doi.org/10.5281/zenodo.7643100
44+
3745
- [DeepARG](https://doi.org/10.1186/s40168-018-0401-z)
3846

3947
> Arango-Argoty, G., Garner, E., Pruden, A., Heath, L. S., Vikesland, P., & Zhang, L. (2018). DeepARG: a deep learning approach for predicting antibiotic resistance genes from metagenomic data. Microbiome, 6(1), 23. [DOI: 10.1186/s40168-018-0401-z](https://doi.org/10.1186/s40168-018-0401-z)
@@ -58,6 +66,10 @@
5866

5967
> Ibrahim, A. & Perelo, L. (2023). Darcy220606/AMPcombi. [DOI: 10.5281/zenodo.7639121](https://doi.org/10.5281/zenodo.7639121).
6068
69+
- [hAMRonization](https://github.com/pha4ge/hAMRonization)
70+
71+
> Maguire, F., Fornika, D., Mendes, I., Phelan, J., Underwood, A., Witney, A., pvanheus, Manuele, A., Lee, T., amos, & imendes. (2023). pha4ge/hAMRonization: Zenodo Release. Zenodo. https://doi.org/10.5281/ZENODO.8131134
72+
6173
- [HMMER](https://doi.org/10.1371/journal.pcbi.1002195.)
6274

6375
> Eddy S. R. (2011). Accelerated Profile HMM Searches. PLoS computational biology, 7(10), e1002195. [DOI: 10.1371/journal.pcbi.1002195](https://doi.org/10.1371/journal.pcbi.1002195)
@@ -98,5 +110,8 @@
98110
99111
- [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241)
100112

113+
> Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241.
114+
101115
- [Singularity](https://pubmed.ncbi.nlm.nih.gov/28494014/)
102-
> Kurtzer, G. M., Sochat, V., & Bauer, M. W. (2017). Singularity: Scientific containers for mobility of compute. PloS one, 12(5), e0177459. [DOI: 10.1371/journal.pone.0177459](https://doi.org/10.1371/journal.pone.0177459)
116+
117+
> Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# ![nf-core/funscan](docs/images/nf-core-funcscan_logo_flat_light.png#gh-light-mode-only) ![nf-core/funscan](docs/images/nf-core-funcscan_logo_flat_dark.png#gh-dark-mode-only)
22

33
[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/funcscan/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.7643099-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.7643099)
4-
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A522.10.1-23aa62.svg)](https://www.nextflow.io/)
4+
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A523.04.0-23aa62.svg)](https://www.nextflow.io/)
5+
56
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
67
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
78
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
@@ -67,11 +68,11 @@ nextflow run nf-core/funcscan \
6768
> provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_;
6869
> see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).
6970
70-
For more details, please refer to the [usage documentation](https://nf-co.re/funcscan/usage) and the [parameter documentation](https://nf-co.re/funcscan/parameters).
71+
For more details and further functionality, please refer to the [usage documentation](https://nf-co.re/funcscan/usage) and the [parameter documentation](https://nf-co.re/funcscan/parameters).
7172

7273
## Pipeline output
7374

74-
To see the the results of a test run with a full size dataset refer to the [results](https://nf-co.re/funcscan/results) tab on the nf-core website pipeline page.
75+
To see the results of an example test run with a full size dataset refer to the [results](https://nf-co.re/funcscan/results) tab on the nf-core website pipeline page.
7576
For more details about the output files and reports, please refer to the
7677
[output documentation](https://nf-co.re/funcscan/output).
7778

assets/methods_description_template.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@ description: "Suggested text and references to use when describing pipeline usag
33
section_name: "nf-core/funcscan Methods Description"
44
section_href: "https://github.com/nf-core/funcscan"
55
plot_type: "html"
6-
## TODO nf-core: Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline
6+
## TODO nf-core: Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
77
## You inject any metadata in the Nextflow '${workflow}' object
88
data: |
99
<h4>Methods</h4>
10-
<p>Data was processed using nf-core/funcscan v${workflow.manifest.version} ${doi_text} of the nf-core collection of workflows (<a href="https://doi.org/10.1038/s41587-020-0439-x">Ewels <em>et al.</em>, 2020</a>).</p>
10+
<p>Data was processed using nf-core/funcscan v${workflow.manifest.version} ${doi_text} of the nf-core collection of workflows (<a href="https://doi.org/10.1038/s41587-020-0439-x">Ewels <em>et al.</em>, 2020</a>), utilising reproducible software environments from the Bioconda (<a href="https://doi.org/10.1038/s41592-018-0046-7">Grüning <em>et al.</em>, 2018</a>) and Biocontainers (<a href="https://doi.org/10.1093/bioinformatics/btx192">da Veiga Leprevost <em>et al.</em>, 2017</a>) projects.</p>
1111
<p>The pipeline was executed with Nextflow v${workflow.nextflow.version} (<a href="https://doi.org/10.1038/nbt.3820">Di Tommaso <em>et al.</em>, 2017</a>) with the following command:</p>
1212
<pre><code>${workflow.commandLine}</code></pre>
13+
<p>${tool_citations}</p>
1314
<h4>References</h4>
1415
<ul>
15-
<li>Di Tommaso, P., Chatzou, M., Floden, E. W., Barja, P. P., Palumbo, E., & Notredame, C. (2017). Nextflow enables reproducible computational workflows. Nature Biotechnology, 35(4), 316-319. <a href="https://doi.org/10.1038/nbt.3820">https://doi.org/10.1038/nbt.3820</a></li>
16-
<li>Ewels, P. A., Peltzer, A., Fillinger, S., Patel, H., Alneberg, J., Wilm, A., Garcia, M. U., Di Tommaso, P., & Nahnsen, S. (2020). The nf-core framework for community-curated bioinformatics pipelines. Nature Biotechnology, 38(3), 276-278. <a href="https://doi.org/10.1038/s41587-020-0439-x">https://doi.org/10.1038/s41587-020-0439-x</a></li>
16+
<li>Di Tommaso, P., Chatzou, M., Floden, E. W., Barja, P. P., Palumbo, E., & Notredame, C. (2017). Nextflow enables reproducible computational workflows. Nature Biotechnology, 35(4), 316-319. doi: <a href="https://doi.org/10.1038/nbt.3820">10.1038/nbt.3820</a></li>
17+
<li>Ewels, P. A., Peltzer, A., Fillinger, S., Patel, H., Alneberg, J., Wilm, A., Garcia, M. U., Di Tommaso, P., & Nahnsen, S. (2020). The nf-core framework for community-curated bioinformatics pipelines. Nature Biotechnology, 38(3), 276-278. doi: <a href="https://doi.org/10.1038/s41587-020-0439-x">10.1038/s41587-020-0439-x</a></li>
18+
<li>Grüning, B., Dale, R., Sjödin, A., Chapman, B. A., Rowe, J., Tomkins-Tinch, C. H., Valieris, R., Köster, J., & Bioconda Team. (2018). Bioconda: sustainable and comprehensive software distribution for the life sciences. Nature Methods, 15(7), 475–476. doi: <a href="https://doi.org/10.1038/s41592-018-0046-7">10.1038/s41592-018-0046-7</a></li>
19+
<li>da Veiga Leprevost, F., Grüning, B. A., Alves Aflitos, S., Röst, H. L., Uszkoreit, J., Barsnes, H., Vaudel, M., Moreno, P., Gatto, L., Weber, J., Bai, M., Jimenez, R. C., Sachsenberg, T., Pfeuffer, J., Vera Alvarez, R., Griss, J., Nesvizhskii, A. I., & Perez-Riverol, Y. (2017). BioContainers: an open-source and community-driven framework for software standardization. Bioinformatics (Oxford, England), 33(16), 2580–2582. doi: <a href="https://doi.org/10.1093/bioinformatics/btx192">10.1093/bioinformatics/btx192</a></li>
20+
${tool_bibliography}
1721
</ul>
1822
<div class="alert alert-info">
1923
<h5>Notes:</h5>

assets/multiqc_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/funcscan" target="_blank">nf-core/funcscan</a>
2+
This report has been generated by the <a href="https://github.com/nf-core/funcscan/1.1.3dev" target="_blank">nf-core/funcscan</a>
33
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/funcscan" target="_blank">documentation</a>.
4+
<a href="https://nf-co.re/funcscan/1.1.3dev/output" target="_blank">documentation</a>.
55
report_section_order:
66
"nf-core-funcscan-methods-description":
77
order: -1000
58.8 KB
Loading

assets/slackreport.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"fallback": "Plain-text summary of the attachment.",
55
"color": "<% if (success) { %>good<% } else { %>danger<%} %>",
6-
"author_name": "sanger-tol/readmapping v${version} - ${runName}",
6+
"author_name": "nf-core/funcscan v${version} - ${runName}",
77
"author_icon": "https://www.nextflow.io/docs/latest/_static/favicon.ico",
88
"text": "<% if (success) { %>Pipeline completed successfully!<% } else { %>Pipeline completed with errors<% } %>",
99
"fields": [

conf/test_full.config

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
----------------------------------------------------------------------------------------
1111
*/
1212

13-
cleanup = true
14-
1513
params {
1614
config_profile_name = 'Full test profile'
1715
config_profile_description = 'Full test dataset to check pipeline function'

docs/usage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ If you wish to repeatedly use the same parameters for multiple runs, rather than
249249
Pipeline settings can be provided in a `yaml` or `json` file via `-params-file <file>`.
250250

251251
> ⚠️ Do not use `-c <file>` to specify parameters as this will result in errors. Custom config files specified with `-c` must only be used for [tuning process resource specifications](https://nf-co.re/docs/usage/configuration#tuning-workflow-resources), other infrastructural tweaks (such as output directories), or module arguments (args).
252-
> The above pipeline run specified with a params file in yaml format:
252+
253+
The above pipeline run specified with a params file in yaml format:
253254

254255
```bash
255256
nextflow run nf-core/funcscan -profile docker -params-file params.yaml
@@ -261,7 +262,6 @@ with `params.yaml` containing:
261262
input: './samplesheet.csv'
262263
outdir: './results/'
263264
genome: 'GRCh37'
264-
input: 'data'
265265
<...>
266266
```
267267

0 commit comments

Comments
 (0)