Skip to content

Commit 0f487ed

Browse files
authored
Merge pull request #171 from nf-core/patch
Update schema to use new definitions groups
2 parents 048fd68 + 2bf81d0 commit 0f487ed

File tree

6 files changed

+87
-41
lines changed

6 files changed

+87
-41
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
3636
- name: Build new docker image
3737
if: env.GIT_DIFF
38-
run: docker build --no-cache . -t nfcore/chipseq:1.2.0
38+
run: docker build --no-cache . -t nfcore/chipseq:1.2.1
3939

4040
- name: Pull docker image
4141
if: ${{ !env.GIT_DIFF }}
4242
run: |
4343
docker pull nfcore/chipseq:dev
44-
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.0
44+
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.1
4545
4646
- name: Install Nextflow
4747
run: |
@@ -75,13 +75,13 @@ jobs:
7575
7676
- name: Build new docker image
7777
if: env.GIT_DIFF
78-
run: docker build --no-cache . -t nfcore/chipseq:1.2.0
78+
run: docker build --no-cache . -t nfcore/chipseq:1.2.1
7979

8080
- name: Pull docker image
8181
if: ${{ !env.GIT_DIFF }}
8282
run: |
8383
docker pull nfcore/chipseq:dev
84-
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.0
84+
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.1
8585
8686
- name: Install Nextflow
8787
run: |

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6+
## [1.2.1] - 2020-07-29
7+
8+
* [#171](https://github.com/nf-core/chipseq/issues/171) - Minor patch release to update pipeline schema
9+
610
## [1.2.0] - 2020-07-02
711

812
### `Added`

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ COPY environment.yml /
77
RUN conda env create -f /environment.yml && conda clean -a
88

99
# Add conda installation dir to PATH (instead of doing 'conda activate')
10-
ENV PATH /opt/conda/envs/nf-core-chipseq-1.2.0/bin:$PATH
10+
ENV PATH /opt/conda/envs/nf-core-chipseq-1.2.1/bin:$PATH
1111

1212
# Dump the details of the installed packages to a file for posterity
13-
RUN conda env export --name nf-core-chipseq-1.2.0 > nf-core-chipseq-1.2.0.yml
13+
RUN conda env export --name nf-core-chipseq-1.2.1 > nf-core-chipseq-1.2.1.yml
1414

1515
# Instruct R processes to use these empty files instead of clashing with a local version
1616
RUN touch .Rprofile

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# You can use this file to create a conda environment for this pipeline:
22
# conda env create -f environment.yml
3-
name: nf-core-chipseq-1.2.0
3+
name: nf-core-chipseq-1.2.1
44
channels:
55
- conda-forge
66
- bioconda

nextflow.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ params {
9696

9797
// Container slug. Stable releases should specify release tag!
9898
// Developmental code should specify :dev
99-
process.container = 'nfcore/chipseq:1.2.0'
99+
process.container = 'nfcore/chipseq:1.2.1'
100100

101101
// Load base.config by default for all pipelines
102102
includeConfig 'conf/base.config'
@@ -169,7 +169,7 @@ manifest {
169169
description = 'ChIP-seq peak-calling and differential analysis pipeline.'
170170
mainScript = 'main.nf'
171171
nextflowVersion = '>=19.10.0'
172-
version = '1.2.0'
172+
version = '1.2.1'
173173
}
174174

175175
// Function to ensure that resource requirements don't go beyond

nextflow_schema.json

+74-32
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema",
3-
"$id": "https://raw.githubusercontent.com/nf-core/atacseq/master/nextflow_schema.json",
4-
"title": "nf-core/atacseq pipeline parameters",
5-
"description": "ATACSeq peak-calling and differential analysis pipeline.",
2+
"$schema": "https://json-schema.org/draft-07/schema",
3+
"$id": "https://raw.githubusercontent.com/nf-core/chipseq/master/nextflow_schema.json",
4+
"title": "nf-core/chipseq pipeline parameters",
5+
"description": "ChIP-seq peak-calling and differential analysis pipeline.",
66
"type": "object",
7-
"properties": {
8-
"Input/output options": {
7+
"definitions": {
8+
"input_output_options": {
9+
"title": "Input/output options",
910
"type": "object",
1011
"properties": {
1112
"input": {
1213
"type": "string",
1314
"description": "Path to comma-separated file containing information about the samples in the experiment.",
14-
"help_text": "You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 4 columns, and a header row. See [usage docs](https://nf-co.re/atacseq/docs/usage#--input).",
15+
"help_text": "You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 4 columns, and a header row. See [usage docs](https://nf-co.re/chipseq/docs/usage#--input).",
1516
"fa_icon": "fas fa-file-csv"
1617
},
1718
"single_end": {
@@ -53,7 +54,8 @@
5354
],
5455
"fa_icon": "fas fa-terminal"
5556
},
56-
"Reference genome options": {
57+
"reference_genome_options": {
58+
"title": "Reference genome options",
5759
"type": "object",
5860
"properties": {
5961
"genome": {
@@ -124,7 +126,8 @@
124126
},
125127
"fa_icon": "fas fa-dna"
126128
},
127-
"Adapter trimming options": {
129+
"adapter_trimming_options": {
130+
"title": "Adapter trimming options",
128131
"type": "object",
129132
"properties": {
130133
"clip_r1": {
@@ -165,7 +168,7 @@
165168
"default": false,
166169
"description": "Skip the adapter trimming step.",
167170
"help_text": "Use this if your input FastQ files have already been trimmed outside of the workflow or if you're very confident that there is no adapter contamination in your data.",
168-
"fa_icon": "fas fa-forward"
171+
"fa_icon": "fas fa-fast-forward"
169172
},
170173
"save_trimmed": {
171174
"type": "boolean",
@@ -177,7 +180,8 @@
177180
},
178181
"fa_icon": "fas fa-cut"
179182
},
180-
"Alignment options": {
183+
"alignment_options": {
184+
"title": "Alignment options",
181185
"type": "object",
182186
"properties": {
183187
"keep_dups": {
@@ -223,7 +227,8 @@
223227
},
224228
"fa_icon": "fas fa-map-signs"
225229
},
226-
"Peak calling options": {
230+
"peak_calling_options": {
231+
"title": "Peak calling options",
227232
"type": "object",
228233
"properties": {
229234
"narrow_peak": {
@@ -265,27 +270,28 @@
265270
},
266271
"skip_peak_qc": {
267272
"type": "boolean",
268-
"fa_icon": "fas fa-forward",
273+
"fa_icon": "fas fa-fast-forward",
269274
"description": "Skip MACS2 peak QC plot generation.",
270275
"default": false
271276
},
272277
"skip_peak_annotation": {
273278
"type": "boolean",
274-
"fa_icon": "fas fa-forward",
279+
"fa_icon": "fas fa-fast-forward",
275280
"description": "Skip annotation of MACS2 and consensus peaks with HOMER.",
276281
"default": false
277282
},
278283
"skip_consensus_peaks": {
279284
"type": "boolean",
280285
"default": false,
281286
"description": "Skip consensus peak generation, annotation and counting.",
282-
"fa_icon": "fas fa-forward",
287+
"fa_icon": "fas fa-fast-forward",
283288
"help_text": ""
284289
}
285290
},
286291
"fa_icon": "fas fa-chart-area"
287292
},
288-
"Differential analysis options": {
293+
"differential_analysis_options": {
294+
"title": "Differential analysis options",
289295
"type": "object",
290296
"properties": {
291297
"deseq2_vst": {
@@ -299,67 +305,69 @@
299305
"type": "boolean",
300306
"default": false,
301307
"description": "Skip differential accessibility analysis.",
302-
"fa_icon": "fas fa-forward",
308+
"fa_icon": "fas fa-fast-forward",
303309
"help_text": ""
304310
}
305311
},
306312
"fa_icon": "fas fa-not-equal"
307313
},
308-
"Process skipping options": {
314+
"process_skipping_options": {
315+
"title": "Process skipping options",
309316
"type": "object",
310317
"properties": {
311318
"skip_fastqc": {
312319
"type": "boolean",
313320
"default": false,
314321
"description": "Skip FastQC.",
315-
"fa_icon": "fas fa-forward"
322+
"fa_icon": "fas fa-fast-forward"
316323
},
317324
"skip_picard_metrics": {
318325
"type": "boolean",
319326
"default": false,
320327
"description": "Skip Picard CollectMultipleMetrics.",
321-
"fa_icon": "fas fa-forward"
328+
"fa_icon": "fas fa-fast-forward"
322329
},
323330
"skip_preseq": {
324331
"type": "boolean",
325332
"default": false,
326333
"description": "Skip Preseq.",
327-
"fa_icon": "fas fa-forward"
334+
"fa_icon": "fas fa-fast-forward"
328335
},
329336
"skip_plot_profile": {
330337
"type": "boolean",
331338
"default": false,
332339
"description": "Skip deepTools plotProfile.",
333-
"fa_icon": "fas fa-forward"
340+
"fa_icon": "fas fa-fast-forward"
334341
},
335342
"skip_plot_fingerprint": {
336343
"type": "boolean",
337344
"default": false,
338345
"description": "Skip deepTools plotFingerprint.",
339-
"fa_icon": "fas fa-forward"
346+
"fa_icon": "fas fa-fast-forward"
340347
},
341348
"skip_spp": {
342349
"type": "boolean",
343350
"default": false,
344351
"description": "Skip Phantompeakqualtools.",
345-
"fa_icon": "fas fa-forward"
352+
"fa_icon": "fas fa-fast-forward"
346353
},
347354
"skip_igv": {
348355
"type": "boolean",
349356
"default": false,
350357
"description": "Skip IGV.",
351-
"fa_icon": "fas fa-forward"
358+
"fa_icon": "fas fa-fast-forward"
352359
},
353360
"skip_multiqc": {
354361
"type": "boolean",
355362
"default": false,
356363
"description": "Skip MultiQC.",
357-
"fa_icon": "fas fa-forward"
364+
"fa_icon": "fas fa-fast-forward"
358365
}
359366
},
360-
"fa_icon": "fas fa-forward"
367+
"fa_icon": "fas fa-fast-forward"
361368
},
362-
"Institutional config options": {
369+
"institutional_config_options": {
370+
"title": "Institutional config options",
363371
"type": "object",
364372
"properties": {
365373
"custom_config_version": {
@@ -409,7 +417,8 @@
409417
},
410418
"fa_icon": "fas fa-university"
411419
},
412-
"Max job request options": {
420+
"max_job_request_options": {
421+
"title": "Max job request options",
413422
"type": "object",
414423
"properties": {
415424
"max_cpus": {
@@ -439,7 +448,8 @@
439448
},
440449
"fa_icon": "fab fa-acquisitions-incorporated"
441450
},
442-
"Generic options": {
451+
"generic_options": {
452+
"title": "Generic options",
443453
"type": "object",
444454
"properties": {
445455
"help": {
@@ -536,5 +546,37 @@
536546
},
537547
"fa_icon": "fas fa-file-import"
538548
}
539-
}
540-
}
549+
},
550+
"allOf": [
551+
{
552+
"$ref": "#/definitions/input_output_options"
553+
},
554+
{
555+
"$ref": "#/definitions/reference_genome_options"
556+
},
557+
{
558+
"$ref": "#/definitions/adapter_trimming_options"
559+
},
560+
{
561+
"$ref": "#/definitions/alignment_options"
562+
},
563+
{
564+
"$ref": "#/definitions/peak_calling_options"
565+
},
566+
{
567+
"$ref": "#/definitions/differential_analysis_options"
568+
},
569+
{
570+
"$ref": "#/definitions/process_skipping_options"
571+
},
572+
{
573+
"$ref": "#/definitions/institutional_config_options"
574+
},
575+
{
576+
"$ref": "#/definitions/max_job_request_options"
577+
},
578+
{
579+
"$ref": "#/definitions/generic_options"
580+
}
581+
]
582+
}

0 commit comments

Comments
 (0)