Skip to content

Commit 5db40d3

Browse files
Merge branch 'dev' into nf-core-template-merge-3.2.0
2 parents efa2ac4 + cb124cd commit 5db40d3

30 files changed

+498
-116
lines changed

.github/workflows/awsfulltest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ jobs:
4545
4646
- name: Launch workflow via Seqera Platform
4747
uses: seqeralabs/action-tower-launch@v2
48-
# TODO nf-core: You can customise AWS full pipeline tests as required
49-
# Add full size test data (but still relatively small datasets for few samples)
50-
# on the `test_full.config` test runs with only one set of parameters
5148
with:
5249
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
5350
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}

CHANGELOG.md

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,61 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6-
## v1.0.0 - [date]
6+
## 1.0.2
77

8-
Initial release of nf-core/demo, created with the [nf-core](https://nf-co.re/) template.
8+
### Credits
9+
10+
Special thanks to the following for their reviews and assistance:
11+
12+
- [Chris Hakkaart](https://github.com/christopher-hakkaart)
13+
- [Marcel Ribeiro-Dantas](https://github.com/mribeirodantas)
14+
15+
### Changed
16+
17+
[#23](https://github.com/nf-core/demo/pull/23) - Update to latest `seqtk` and `fastqc` modules
18+
[#21](https://github.com/nf-core/demo/pull/21) - Template update for nf-core/tools v3.1.0
19+
20+
## [1.0.1](https://github.com/nf-core/demo/releases/tag/1.0.1) 2024-10-18
21+
22+
### Credits
23+
24+
Special thanks to the following for their reviews and assistance:
25+
26+
- [Matthias Hörtenhuber](https://github.com/mashehu)
27+
- [Chris Hakkaart](https://github.com/christopher-hakkaart)
28+
- [Maxime Garcia](https://github.com/maxulysse)
29+
- [Friederike Hanssen](https://github.com/FriederikeHanssen)
30+
31+
### Changed
932

10-
### `Added`
33+
[#14](https://github.com/nf-core/demo/pull/14) - Update to template 3.0.2
34+
[#7](https://github.com/nf-core/demo/pull/7) - Updated Usage and README docs
1135

12-
### `Fixed`
36+
### Fixed
1337

14-
### `Dependencies`
38+
[#15](https://github.com/nf-core/demo/pull/15) - Add background to subway map
39+
[#7](https://github.com/nf-core/demo/pull/7) - Fixed full path for `test.config`
1540

16-
### `Deprecated`
41+
### Dependencies
42+
43+
| Dependency | Old version | New version |
44+
| ---------- | ----------- | ----------- |
45+
| `multiqc` | 1.21 | 1.25.1 |
46+
47+
## [1.0.0](https://github.com/nf-core/demo/releases/tag/1.0.0) 2024-06-19
48+
49+
### Credits
50+
51+
Special thanks to the following for their reviews and assistance:
52+
53+
- [Maxime Garcia](https://github.com/maxulysse)
54+
- [Friederike Hanssen](https://github.com/FriederikeHanssen)
55+
56+
### Added
57+
58+
- `nf-core/seqtk/trim` module
59+
- `skip_trim` parameter
60+
61+
## v1.0dev - 2024-05-5
62+
63+
Initial release of nf-core/demo, created with the [nf-core](https://nf-co.re/) template.

CITATIONS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
> Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online].
1616
17+
- [seqtk](https://github.com/lh3/seqtk)
18+
1719
- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)
1820

1921
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.

README.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</h1>
77

88
[![GitHub Actions CI Status](https://github.com/nf-core/demo/actions/workflows/ci.yml/badge.svg)](https://github.com/nf-core/demo/actions/workflows/ci.yml)
9-
[![GitHub Actions Linting Status](https://github.com/nf-core/demo/actions/workflows/linting.yml/badge.svg)](https://github.com/nf-core/demo/actions/workflows/linting.yml)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/demo/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.XXXXXXX-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.XXXXXXX)
9+
[![GitHub Actions Linting Status](https://github.com/nf-core/demo/actions/workflows/linting.yml/badge.svg)](https://github.com/nf-core/demo/actions/workflows/linting.yml)[![AWS CI](https://img.shields.io/badge/CI%20tests-full%20size-FF9900?labelColor=000000&logo=Amazon%20AWS)](https://nf-co.re/demo/results)[![Cite with Zenodo](http://img.shields.io/badge/DOI-10.5281/zenodo.12192442-1073c8?labelColor=000000)](https://doi.org/10.5281/zenodo.12192442)
1010
[![nf-test](https://img.shields.io/badge/unit_tests-nf--test-337ab7.svg)](https://www.nf-test.com)
1111

1212
[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A524.04.2-23aa62.svg)](https://www.nextflow.io/)
@@ -19,43 +19,35 @@
1919

2020
## Introduction
2121

22-
**nf-core/demo** is a bioinformatics pipeline that ...
22+
**nf-core/demo** is a simple nf-core style bioinformatics pipeline for workshops and demonstrations. It was created using the nf-core template and is designed to run quickly using small test data files.
2323

24-
<!-- TODO nf-core:
25-
Complete this sentence with a 2-3 sentence summary of what types of data the pipeline ingests, a brief overview of the
26-
major pipeline sections and the types of output it produces. You're giving an overview to someone new
27-
to nf-core here, in 15-20 seconds. For an example, see https://github.com/nf-core/rnaseq/blob/master/README.md#introduction
28-
-->
24+
![nf-core/demo metro map](docs/images/nf-core-demo-subway.png)
2925

30-
<!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core
31-
workflows use the "tube map" design for that. See https://nf-co.re/docs/contributing/design_guidelines#examples for examples. -->
32-
<!-- TODO nf-core: Fill in short bullet-pointed list of the default steps in the pipeline -->1. Read QC ([`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))2. Present QC for raw reads ([`MultiQC`](http://multiqc.info/))
26+
1. Read QC ([`FASTQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/))
27+
2. Adapter and quality trimming ([`SEQTK_TRIM`](https://github.com/lh3/seqtk))
28+
3. Present QC for raw reads ([`MULTIQC`](http://multiqc.info/))
3329

3430
## Usage
3531

3632
> [!NOTE]
3733
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.
3834
39-
<!-- TODO nf-core: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
40-
Explain what rows and columns represent. For instance (please edit as appropriate):
41-
4235
First, prepare a samplesheet with your input data that looks as follows:
4336

4437
`samplesheet.csv`:
4538

4639
```csv
4740
sample,fastq_1,fastq_2
48-
CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz
41+
SAMPLE1_PE,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample1_R1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample1_R2.fastq.gz
42+
SAMPLE2_PE,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample2_R1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample2_R2.fastq.gz
43+
SAMPLE3_SE,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample1_R1.fastq.gz,
44+
SAMPLE3_SE,https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/illumina/amplicon/sample2_R1.fastq.gz,
4945
```
5046

5147
Each row represents a fastq file (single-end) or a pair of fastq files (paired end).
5248

53-
-->
54-
5549
Now, you can run the pipeline using:
5650

57-
<!-- TODO nf-core: update the following command to include all required parameters for a minimal example -->
58-
5951
```bash
6052
nextflow run nf-core/demo \
6153
-profile <docker/singularity/.../institute> \
@@ -76,11 +68,9 @@ For more details about the output files and reports, please refer to the
7668

7769
## Credits
7870

79-
nf-core/demo was originally written by Christopher Hakkaart.
71+
nf-core/demo was originally written by Chris Hakkaart ([@christopher-hakkaart](https://github.com/christopher-hakkaart)).
8072

81-
We thank the following people for their extensive assistance in the development of this pipeline:
82-
83-
<!-- TODO nf-core: If applicable, make list of people who have also contributed -->
73+
<!-- We thank the following people for their extensive assistance in the development of this pipeline: -->
8474

8575
## Contributions and Support
8676

@@ -90,10 +80,7 @@ For further information or help, don't hesitate to get in touch on the [Slack `#
9080

9181
## Citations
9282

93-
<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. -->
94-
<!-- If you use nf-core/demo for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
95-
96-
<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
83+
If you use nf-core/demo for your analysis, please cite it using the following doi: [10.5281/zenodo.12192442](https://doi.org/10.5281/zenodo.12192442)
9784

9885
An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.
9986

assets/methods_description_template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ description: "Suggested text and references to use when describing pipeline usag
33
section_name: "nf-core/demo Methods Description"
44
section_href: "https://github.com/nf-core/demo"
55
plot_type: "html"
6-
## TODO nf-core: Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
76
## You inject any metadata in the Nextflow '${workflow}' object
87
data: |
98
<h4>Methods</h4>

assets/multiqc_config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/demo/releases/tag/1.0.0" target="_blank">nf-core/demo</a>
3-
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/demo/1.0.0/docs/output" target="_blank">documentation</a>.
2+
This report has been generated by the <a href="https://github.com/nf-core/demo/releases/tag/1.0.2"
3+
target="_blank">nf-core/demo</a> analysis pipeline. For information about how to
4+
interpret these results, please see the <a href="https://nf-co.re/demo/1.0.2/docs/output"
5+
target="_blank">documentation</a>.
56
report_section_order:
67
"nf-core-demo-methods-description":
78
order: -1000

assets/nf-core-demo_logo_light.png

2 Bytes
Loading

conf/base.config

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
process {
1212

13-
// TODO nf-core: Check the defaults for all processes
1413
cpus = { 1 * task.attempt }
1514
memory = { 6.GB * task.attempt }
1615
time = { 4.h * task.attempt }
@@ -20,12 +19,6 @@ process {
2019
maxErrors = '-1'
2120

2221
// Process-specific resource requirements
23-
// NOTE - Please try and reuse the labels below as much as possible.
24-
// These labels are used and recognised by default in DSL2 files hosted on nf-core/modules.
25-
// If possible, it would be nice to keep the same label naming convention when
26-
// adding in your local modules too.
27-
// TODO nf-core: Customise requirements for specific processes.
28-
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
2922
withLabel:process_single {
3023
cpus = { 1 }
3124
memory = { 6.GB * task.attempt }

conf/modules.config

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,21 @@ process {
2020

2121
withName: FASTQC {
2222
ext.args = '--quiet'
23+
publishDir = [
24+
path: { "${params.outdir}/fastqc/${meta.id}" },
25+
mode: params.publish_dir_mode,
26+
pattern: "*.{html,json}"
27+
]
2328
}
2429

30+
31+
withName: 'SEQTK_TRIM' {
32+
publishDir = [
33+
path: { "${params.outdir}/fq/${meta.id}" },
34+
mode: params.publish_dir_mode,
35+
pattern: "*.{fastq.gz}"
36+
]
37+
}
2538
withName: 'MULTIQC' {
2639
ext.args = { params.multiqc_title ? "--title \"$params.multiqc_title\"" : '' }
2740
publishDir = [

conf/test.config

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
process {
1414
resourceLimits = [
15-
cpus: 4,
16-
memory: '15.GB',
15+
cpus: 2,
16+
memory: '4.GB',
1717
time: '1.h'
1818
]
1919
}
@@ -23,8 +23,6 @@ params {
2323
config_profile_description = 'Minimal test dataset to check pipeline function'
2424

2525
// Input data
26-
// TODO nf-core: Specify the paths to your test data on nf-core/test-datasets
27-
// TODO nf-core: Give any required params for the test so that command line flags are not needed
28-
input = params.pipelines_testdata_base_path + 'viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'// Genome references
29-
genome = 'R64-1-1'
26+
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'
27+
3028
}

0 commit comments

Comments
 (0)