Skip to content

Commit a1aaa92

Browse files
authored
Merge pull request #276 from nf-core/dev
Dev -> Master for v2.2.0 release
2 parents 44b80aa + 676a69a commit a1aaa92

File tree

17 files changed

+218
-74
lines changed

17 files changed

+218
-74
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# nf-core/methylseq
22

3+
## [v2.2.0](https://github.com/nf-core/methylseq/releases/tag/2.2.0) - 2022-11-29
4+
5+
### Pipeline Updates
6+
7+
- ✨ Updated the `bismark2summary` step so that it no longer stages the aligned BAM files into the working directory. Should be much faster / cheaper for running on the cloud ([#268](https://github.com/nf-core/methylseq/pull/268))
8+
- ✨ Added ability to merge FastQ files based on shared IDs in sample sheet ([#272](https://github.com/nf-core/methylseq/pull/272))
9+
10+
### Bug fixes & refactoring
11+
12+
- 🐛 Fixed typo in parameter handling for input reference indices ([#263](https://github.com/nf-core/methylseq/issues/263))
13+
- 🧹 Removed orphaned `--bismark_align_cpu_per_multicore` and `--bismark_align_cpu_per_multicore` parameters.
14+
- Multi-core usage for Bismark alignment is now automatically set. If you would like to overwrite this, you can do so by setting `ext.args` for the process in a custom config.
15+
- 🧹 Removed duplicate option `--coverage2cytosine` ([#273](https://github.com/nf-core/methylseq/issues/273))
16+
- Use the existing option `--cytosine_report` to launch the new `COVERAGE2CYTOSINE` process.
17+
- Removed option `--cytosine_report genome_index` from the Bismark methylation extractor.
18+
19+
### Software Updates
20+
321
## [v2.1.0](https://github.com/nf-core/methylseq/releases/tag/2.1.0) - 2022-11-10
422

523
### Pipeline Updates

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Choose between workflows by using `--aligner bismark` (default, uses bowtie2 for
2828
| Step | Bismark workflow | bwa-meth workflow |
2929
| -------------------------------------------- | ---------------- | --------------------- |
3030
| Generate Reference Genome Index _(optional)_ | Bismark | bwa-meth |
31+
| Merge re-sequenced FastQ files | cat | cat |
3132
| Raw data QC | FastQC | FastQC |
3233
| Adapter sequence trimming | Trim Galore! | Trim Galore! |
3334
| Align Reads | Bismark | bwa-meth |

bin/check_samplesheet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ def check_samplesheet(file_in, file_out):
210210
except AssertionError as error:
211211
logger.critical(f"{str(error)} On line {i + 2}.")
212212
sys.exit(1)
213-
# TODO: ADD THIS BACK WHEN WE HAVE LANE MERGING?
214-
# checker.validate_unique_samples()
213+
# Ties into FastQ merging process
214+
checker.validate_unique_samples()
215215
header = list(reader.fieldnames)
216216
header.insert(1, "single_end")
217217
# See https://docs.python.org/3.9/library/csv.html#id3 to read up on `newline=""`.

conf/modules.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ process {
207207
withName: BISMARK_METHYLATIONEXTRACTOR {
208208
ext.args = { [
209209
params.comprehensive ? ' --comprehensive --merge_non_CpG' : '',
210-
params.cytosine_report ? ' --cytosine_report --genome_folder BismarkIndex' : '',
211210
params.meth_cutoff ? " --cutoff ${params.meth_cutoff}" : '',
212211
params.nomeseq ? '--CX' : '',
213212
meta.single_end ? '' : (params.no_overlap ? ' --no_overlap' : '--include_overlap'),
@@ -278,6 +277,7 @@ process {
278277
]
279278
}
280279

280+
281281
withName: BISMARK_SUMMARY {
282282
ext.args = ''
283283
publishDir = [

main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ nextflow.enable.dsl = 2
2020

2121
params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
2222
params.fasta_index = WorkflowMain.getGenomeAttribute(params, 'fasta_index')
23-
params.bismark_index = WorkflowMain.getGenomeAttribute(params, 'fasta_index')
24-
params.bwa_meth_index = WorkflowMain.getGenomeAttribute(params, 'fasta_index')
23+
params.bismark_index = WorkflowMain.getGenomeAttribute(params, 'bismark')
24+
params.bwa_meth_index = WorkflowMain.getGenomeAttribute(params, 'bwa_meth')
2525

2626
/*
2727
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

modules.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"bismark/summary": {
3333
"branch": "master",
34-
"git_sha": "cdaaf00a580a2b3378926b08dd44db1de44ed7b5"
34+
"git_sha": "e84cc8f07607ad7970db9b6cf79b815b78d9cacd"
3535
},
3636
"bwameth/align": {
3737
"branch": "master",
@@ -41,6 +41,10 @@
4141
"branch": "master",
4242
"git_sha": "cdaaf00a580a2b3378926b08dd44db1de44ed7b5"
4343
},
44+
"cat/fastq": {
45+
"branch": "master",
46+
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905"
47+
},
4448
"custom/dumpsoftwareversions": {
4549
"branch": "master",
4650
"git_sha": "8022c68e7403eecbd8ba9c49496f69f8c49d50f0"

modules/nf-core/bismark/summary/main.nf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bismark/summary/meta.yml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/cat/fastq/main.nf

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/cat/fastq/meta.yml

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)