Skip to content

Commit bfe7eb3

Browse files
authored
Merge pull request #158 from drpatelh/master
Close issues and aesthetic updates
2 parents 482c03d + b2934ff commit bfe7eb3

File tree

8 files changed

+295
-261
lines changed

8 files changed

+295
-261
lines changed

.github/workflows/awstest.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
push:
77
branches:
88
- master
9+
- dev
910
release:
1011
types: [published]
1112

1213
jobs:
1314
run-awstest:
15+
if: github.repository == 'nf-core/chipseq'
1416
name: Run AWS test
1517
runs-on: ubuntu-latest
1618
steps:
@@ -26,5 +28,10 @@ jobs:
2628
AWS_ACCESS_KEY_ID: ${{secrets.AWS_KEY_ID}}
2729
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_KEY_SECRET}}
2830
TOWER_ACCESS_TOKEN: ${{secrets.TOWER_ACCESS_TOKEN}}
29-
run: |
30-
aws batch submit-job --region eu-west-1 --job-name nf-core-chipseq --job-queue 'default-8b3836e0-5eda-11ea-96e5-0a2c3f6a2a32' --job-definition nextflow --container-overrides '{"command": ["nf-core/chipseq", "-r '"${GITHUB_SHA}"' -profile test_full --outdir s3://nf-core-awsmegatests/chipseq/results-'"${GITHUB_SHA}"' -w s3://nf-core-awsmegatests/chipseq/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}'
31+
run: | # Submits job to AWS batch using a 'nextflow-4GiB' instance. Setting JVM options to "-XX:+UseG1GC" for more efficient garbage collection when staging remote files.
32+
aws batch submit-job \
33+
--region eu-west-1 \
34+
--job-name nf-core-chipseq \
35+
--job-queue 'default-8b3836e0-5eda-11ea-96e5-0a2c3f6a2a32' \
36+
--job-definition nextflow-4GiB \
37+
--container-overrides '{"command": ["nf-core/chipseq", "-r '"${GITHUB_SHA}"' -profile test --outdir s3://nf-core-awsmegatests/chipseq/results-'"${GITHUB_SHA}"' -w s3://nf-core-awsmegatests/chipseq/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}, {"name": "NXF_OPTS", "value": "-XX:+UseG1GC"}]}'

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
### `Added`
99

1010
* [#138](https://github.com/nf-core/chipseq/issues/138) - Add social preview image
11+
* [#153](https://github.com/nf-core/chipseq/issues/153) - Add plotHeatmap
1112
* [nf-core/atacseq#63](https://github.com/nf-core/atacseq/issues/63) - Added multicore support for Trim Galore!
1213
* [nf-core/atacseq#71](https://github.com/nf-core/atacseq/issues/71) - consensus_peaks.mLb.clN.boolean.intersect.plot.pdf not generated
1314
* [nf-core/atacseq#75](https://github.com/nf-core/atacseq/issues/75) - Include gene annotation versions in multiqc report
1415
* [nf-core/atacseq#76](https://github.com/nf-core/atacseq/issues/76) - featureCounts coupled to DESeq2
1516
* [nf-core/atacseq#79](https://github.com/nf-core/atacseq/issues/79) - Parallelize DESeq2
1617
* [nf-core/atacseq#97](https://github.com/nf-core/atacseq/issues/97) - PBC1, PBC2 from pipeline?
1718
* Update template to tools `1.9`
19+
* Replace `set` with `tuple` and `file()` with `path()` in all processes
20+
* Capitalise process names
1821
* Parameters:
22+
* `--skip_peak_qc` to skip MACS2 peak QC plot generation
23+
* `--skip_peak_annotation` to skip annotation of MACS2 and consensus peaks with HOMER
1924
* `--skip_consensus_peaks` to skip consensus peak generation
2025
* `--deseq2_vst` to use variance stabilizing transformation (VST) instead of regularized log transformation (rlog) with DESeq2
2126
* `--publish_dir_mode` to customise method of publishing results to output directory [nf-core/tools#585](https://github.com/nf-core/tools/issues/585)
@@ -24,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2429

2530
* [#118](https://github.com/nf-core/chipseq/issues/118) - Running on with SGE
2631
* [#132](https://github.com/nf-core/chipseq/issues/132) - BigWig Error: sort: cannot create temporary file in '': Read-only file system
32+
* [#154](https://github.com/nf-core/chipseq/issues/154) - computeMatrix.val.mat.gz files not zipped
2733
* [nf-core/atacseq#73](https://github.com/nf-core/atacseq/issues/73) - macs_annotatePeaks.mLb.clN.summary.txt file is not created
2834
* [nf-core/atacseq#86](https://github.com/nf-core/atacseq/issues/86) - bug in the plot_homer_annotatepeaks.r script
2935
* [nf-core/atacseq#102](https://github.com/nf-core/atacseq/issues/102) - Incorrect Group ID assigned by featurecounts_deseq2.r

conf/base.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ process {
3838
withLabel:process_long {
3939
time = { check_max( 20.h * task.attempt, 'time' ) }
4040
}
41+
withLabel:error_ignore {
42+
errorStrategy = 'ignore'
43+
}
4144
withName:get_software_versions {
4245
cache = false
4346
}

conf/test.config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,4 @@ params {
2828

2929
// For speed to avoid CI time-out
3030
fingerprint_bins = 100
31-
32-
// Tests fail without this:
33-
// ERROR: Max count before zero is les than min required count (4), sample not sufficiently deep or duplicates removed
34-
skip_preseq = true
3531
}

docs/output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ The library-level alignments associated with the same sample are merged and subs
151151
* `bwa/mergedLibrary/deepTools/plotFingerprint/`
152152
* Output files: `*.plotFingerprint.pdf`, `*.plotFingerprint.qcmetrics.txt`, `*.plotFingerprint.raw.txt`
153153
* `bwa/mergedLibrary/deepTools/plotProfile/`
154-
* Output files: `*.computeMatrix.mat.gz`, `*.computeMatrix.vals.mat.gz`, `*.plotProfile.pdf`, `*.plotProfile.tab`.
154+
* Output files: `*.computeMatrix.mat.gz`, `*.computeMatrix.vals.mat.tab`, `*.plotProfile.pdf`, `*.plotProfile.tab`, `*.plotHeatmap.pdf`, `*.plotHeatmap.mat.tab`.
155155

156156
4. **Call peaks**
157157

docs/usage.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
* [`--broad_cutoff`](#--broad_cutoff)
3939
* [`--min_reps_consensus`](#--min_reps_consensus)
4040
* [`--save_macs_pileup`](#--save_macs_pileup)
41+
* [`--skip_peak_qc`](#--skip_peak_qc)
42+
* [`--skip_peak_annotation`](#--skip_peak_annotation)
4143
* [`--skip_consensus_peaks`](#--skip_consensus_peaks)
4244
* [Differential analysis](#differential_analysis)
4345
* [`--deseq2_vst`](#--deseq2_vst)
@@ -408,6 +410,14 @@ Number of biological replicates required from a given condition for a peak to co
408410

409411
Instruct MACS2 to create bedGraph files using the `-B --SPMR` parameters.
410412

413+
### `--skip_peak_qc`
414+
415+
Skip MACS2 peak QC plot generation.
416+
417+
### `--skip_peak_annotation`
418+
419+
Skip annotation of MACS2 and consensus peaks with HOMER.
420+
411421
### `--skip_consensus_peaks`
412422

413423
Skip consensus peak generation, annotation and counting.

0 commit comments

Comments
 (0)