Skip to content

Commit 6f9b3c8

Browse files
authored
Merge pull request #211 from ewels/fix-bismark-align-command
Fix bismark align command
2 parents 594578b + b8f94ed commit 6f9b3c8

File tree

6 files changed

+62
-11
lines changed

6 files changed

+62
-11
lines changed

.github/workflows/ci.yml

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

1111
jobs:
1212
test:
13-
name: Run workflow tests
13+
name: workflow
1414
# Only run on push if this is the nf-core dev branch (merged PRs)
1515
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/methylseq') }}
1616
runs-on: ubuntu-latest
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
# Nextflow versions: check pipeline minimum and current latest
23-
nxf_ver: ['20.07.1', '21.03.0-edge']
23+
nxf_ver: ['20.07.1', '']
2424
aligner: ['bismark', 'bismark_hisat', 'bwameth']
2525
include:
2626
- aligner: 'bismark'
@@ -57,8 +57,14 @@ jobs:
5757
wget -qO- get.nextflow.io | bash
5858
sudo mv nextflow /usr/local/bin/
5959
60-
- name: Run pipeline with test data
61-
run: |
62-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} --save_reference
63-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} ${{matrix.ref_index}}
64-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} --skip_trimming --rrbs
60+
- name: Test - Single End
61+
run: nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} --save_reference
62+
63+
- name: Test - Single End with index
64+
run: nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} ${{matrix.ref_index}}
65+
66+
- name: Test - Single End RRBS
67+
run: nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{matrix.aligner}} --skip_trimming --rrbs
68+
69+
- name: Test - Paired End with index
70+
run: nextflow run ${GITHUB_WORKSPACE} -profile test_paired,docker --aligner ${{matrix.aligner}} ${{matrix.ref_index}}

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22

33
## v1.7dev
44

5-
_..nothing yet.._
5+
### Pipeline Updates
6+
7+
* Added new config profile to run minimal test paired-end dataset, with `-profile test_paired`. Added to the CI tests.
8+
9+
### Bug fixes
10+
11+
* Fixed silent bug in Bismark alignment command that had no effect on the output ([#210](https://github.com/nf-core/methylseq/issues/210))
12+
13+
### Software updates
14+
15+
* Picard `2.25.1` > `2.25.4`
16+
* MultiQC `1.10` > `1.10.1`
617

718
## [v1.6](https://github.com/nf-core/methylseq/releases/tag/1.6) - 2021-03-26
819

conf/test_paired.config

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* -------------------------------------------------
3+
* Nextflow config file for running tests
4+
* -------------------------------------------------
5+
* Defines bundled input files and everything required
6+
* to run a fast and simple test. Use as follows:
7+
* nextflow run nf-core/methylseq -profile test_paired,<conda/docker/singularity>
8+
*/
9+
10+
params {
11+
config_profile_name = 'Test profile'
12+
config_profile_description = 'Minimal test dataset to check pipeline function'
13+
// Limit resources so that this can run on GitHub Actions
14+
max_cpus = 2
15+
max_memory = 6.GB
16+
max_time = 48.h
17+
18+
// Input data
19+
single_end = false
20+
input_paths = [
21+
[
22+
'Ecoli_10K_methylated',
23+
[
24+
'https://github.com/nf-core/test-datasets/raw/methylseq/testdata/Ecoli_10K_methylated_R1.fastq.gz',
25+
'https://github.com/nf-core/test-datasets/raw/methylseq/testdata/Ecoli_10K_methylated_R2.fastq.gz'
26+
]
27+
]
28+
]
29+
// Genome references
30+
fasta = 'https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa'
31+
fasta_index = 'https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.fai'
32+
// Ignore `--input` as otherwise the parameter validation will throw an error
33+
schema_ignore_params = 'genomes,input_paths,input'
34+
}

environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ dependencies:
2121
- bioconda::bismark=0.23.0
2222
- bioconda::qualimap=2.2.2d
2323
- bioconda::preseq=2.0.3
24-
- bioconda::multiqc=1.10
24+
- bioconda::multiqc=1.10.1
2525
# bwa-meth pipeline
26-
- bioconda::picard=2.25.1
26+
- bioconda::picard=2.25.4
2727
- bioconda::bwameth=0.2.2
2828
- bioconda::methyldackel=0.5.2

main.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,6 @@ if( params.aligner =~ /bismark/ ){
546546
$aligner \\
547547
--bam $pbat $non_directional $unmapped $mismatches $multicore $minins $maxins \\
548548
--genome $index \\
549-
$reads \\
550549
$soft_clipping \\
551550
$splicesites
552551
"""

nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ profiles {
150150
charliecloud.enabled = true
151151
}
152152
test { includeConfig 'conf/test.config' }
153+
test_paired { includeConfig 'conf/test_paired.config' }
153154
test_full { includeConfig 'conf/test_full.config' }
154155
}
155156

0 commit comments

Comments
 (0)