Skip to content

Commit

Permalink
Merge pull request #131 from luslab/dev
Browse files Browse the repository at this point in the history
v2.0 updates
  • Loading branch information
chris-cheshire authored Jun 8, 2022
2 parents dbaad8c + ca92a9b commit f02083e
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 48 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
| ---------- | ----------- | ----------- |
| `samtools` | 1.14 | 1.15.1 |
| `bowtie2` | 2.4.2 | 2.4.4 |
| `picard` | 2.25.7 | 2.27.1 |
| `picard` | 2.25.7 | 2.27.2 |

> **NB:** Dependency has been **updated** if both old and new version information is present.
> **NB:** Dependency has been **added** if just the new version information is present.
Expand Down
3 changes: 0 additions & 3 deletions bin/check_samplesheet.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env python

# This script is based on the example at: https://raw.githubusercontent.com/nf-core/test-datasets/atacseq/design.csv


import os
import sys
import errno
Expand Down
2 changes: 1 addition & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ params {
max_time = '6.h'

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-small.csv'

// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_fasta_only.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-small.csv'

// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ params {
config_profile_description = 'Full test dataset to check pipeline function'

genome = 'GRCh38'
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all.csv'

minimum_alignment_q_score = 10
}
2 changes: 1 addition & 1 deletion conf/test_full_multi.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ params {
config_profile_description = 'Full test dataset to check pipeline function with added fake replicates to test the full reporting functionality'

genome = 'GRCh38'
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all-multi-rep.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all-multi-rep.csv'

minimum_alignment_q_score = 10
}
2 changes: 1 addition & 1 deletion conf/test_full_small.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all-small.csv'

// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_full_small_local_zip.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all-small.csv'

// Genome references
fasta = '/home/runner/work/cutandrun/cutandrun/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_local_zip.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-small.csv'

// Genome references
fasta = '/home/runner/work/cutandrun/cutandrun/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_no_control.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-noigg-small.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-noigg-small.csv'

// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/hg38-chr20.fa.gz'
Expand Down
2 changes: 1 addition & 1 deletion conf/test_tech_reps.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ params {
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-small-tech-reps.csv'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-small-tech-reps.csv'

// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/hg38-chr20.fa.gz'
Expand Down
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"git_sha": "f0800157544a82ae222931764483331a81812012"
},
"picard/markduplicates": {
"git_sha": "20ebb89ff97a2665106be9cace5ccb9aa4eed1be"
"git_sha": "63db63757cab03cfa7a02c0d0f134b66fbfadea6"
},
"samtools/flagstat": {
"git_sha": "897c33d5da084b61109500ee44c01da2d3e4e773"
Expand Down Expand Up @@ -76,7 +76,7 @@
"git_sha": "e20e57f90b6787ac9a010a980cf6ea98bd990046"
},
"untar": {
"git_sha": "9aadd9a6d3f5964476582319b3a1c54a3e3fe7c9"
"git_sha": "51be617b1ca9bff973655eb899d591ed6ab253b5"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions modules/nf-core/modules/picard/markduplicates/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion modules/nf-core/modules/untar/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ manifest {
description = 'Analysis pipeline for CUT&RUN and CUT&TAG experiments that includes sequencing QC, spike-in normalisation, IgG control normalisation, peak calling and downstream peak analysis.'
mainScript = 'main.nf'
nextflowVersion = '!>=21.10.3'
version = '1.1.0'
version = '2.0.0'
}

// Load flowswitch.config
Expand Down
4 changes: 2 additions & 2 deletions tests/test_peak_callers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- path: results/03_peak_calling/04_called_peaks/h3k27me3_R1.macs2.peaks.bed_summits.bed

- name: test_peak_callers_seacr_single_ctrl_multi_rep
command: nextflow run main.nf -profile docker,test --only_peak_calling true --skip_fastqc true --skip_removeduplicates true --peakcaller seacr --input https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all-multi-rep-single-ctrl.csv -c tests/config/nextflow.config
command: nextflow run main.nf -profile docker,test --only_peak_calling true --skip_fastqc true --skip_removeduplicates true --peakcaller seacr --input https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all-multi-rep-single-ctrl.csv -c tests/config/nextflow.config
tags:
- test_peak_callers
- test_peak_callers_ctrl_tests
Expand All @@ -60,7 +60,7 @@
- path: results/03_peak_calling/04_called_peaks/h3k27me3_R2.seacr.peaks.bed.stringent.bed

- name: test_peak_callers_seacr_multi_single_ctrl_multi_rep
command: nextflow run main.nf -profile docker,test --only_peak_calling true --skip_fastqc true --skip_removeduplicates true --peakcaller seacr --input https://raw.githubusercontent.com/luslab/test-datasets/cutandrun/samplesheet/test-GSE145187-all-multi-rep-multi-single-ctrl.csv -c tests/config/nextflow.config
command: nextflow run main.nf -profile docker,test --only_peak_calling true --skip_fastqc true --skip_removeduplicates true --peakcaller seacr --input https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/samplesheet_2_0/test-GSE145187-all-multi-rep-multi-single-ctrl.csv -c tests/config/nextflow.config
tags:
- test_peak_callers
- test_peak_callers_ctrl_tests
Expand Down
Loading

0 comments on commit f02083e

Please sign in to comment.