Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev -> Master for 2.1.0 release #412

Closed
wants to merge 251 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
f8b2f3c
Bump pipeline version to 2.1.0dev
JoseEspinosa Oct 5, 2022
688be0a
Run nf-core modules update
JoseEspinosa Oct 5, 2022
2ec84ef
Re-install custom/getchromsizes module
JoseEspinosa Oct 5, 2022
d69bd44
Patch custom/getchromsizes module
JoseEspinosa Oct 5, 2022
50ca23a
Update custom_dumpsoftwareversions module
JoseEspinosa Oct 5, 2022
9d70ec5
Fix modules path after restructuring of nf-core/modules
JoseEspinosa Oct 5, 2022
c417d09
Force modules update so that nf-core lint does not complain
JoseEspinosa Oct 6, 2022
70f847c
Merge pull request #314 from JoseEspinosa/restructure
JoseEspinosa Oct 6, 2022
0fc1b93
Merged changes from nf-core template
JoseEspinosa Oct 6, 2022
ddf3e6b
Reorder onComplete snippet
JoseEspinosa Oct 6, 2022
c486101
Merge pull request #315 from JoseEspinosa/merging-template-2.6
JoseEspinosa Oct 6, 2022
3f548fe
Template update for nf-core/tools version 2.7.1
nf-core-bot Dec 8, 2022
8913497
Template update for nf-core/tools version 2.7.2
nf-core-bot Dec 19, 2022
846d960
Merge branch 'TEMPLATE' of https://github.com/nf-core/chipseq into me…
JoseEspinosa Dec 23, 2022
052c493
Merge remote-tracking branch 'upstream/master' into merge_template_v2…
JoseEspinosa Dec 23, 2022
0ea0d5b
Update changelog
JoseEspinosa Dec 23, 2022
535d575
Merge pull request #326 from JoseEspinosa/merge_template_v2.7.2
JoseEspinosa Dec 28, 2022
6e106dd
Add metro map files + embed image in readme
G-Sarah Jan 5, 2023
cd15ba3
Merge branch 'dev' of github.com:nf-core/chipseq into add-metro-map
G-Sarah Jan 5, 2023
860a044
Added name in credits
G-Sarah Jan 5, 2023
9bc62ef
Updated changelog
G-Sarah Jan 5, 2023
183b641
corrected nextflow versions
G-Sarah Jan 5, 2023
e5dcac8
Merge pull request #327 from nf-core/add-metro-map
G-Sarah Jan 5, 2023
9d9ab30
Fix node label
G-Sarah Jan 13, 2023
d63a964
correcting link to blacklist directory
mashehu Jan 19, 2023
099a830
Merge pull request #331 from nf-core/fix-link-in-json-schema
mashehu Jan 19, 2023
ff9eb2a
Merge pull request #329 from nf-core/fix-metro-map
maxulysse Jan 24, 2023
232ca30
Bump chromap version 0.2.4
JoseEspinosa Apr 17, 2023
91b3763
Enable chromap for paired-end reads
JoseEspinosa Apr 17, 2023
595c679
Fix black
JoseEspinosa Apr 17, 2023
8cda00f
Make black happy again
JoseEspinosa Apr 17, 2023
261cc86
Update changelog
JoseEspinosa Apr 17, 2023
8f4d262
Merge pull request #338 from JoseEspinosa/bump_chromap
JoseEspinosa Apr 17, 2023
b4ad530
Add back skip_spp parameter
JoseEspinosa Apr 17, 2023
77907aa
Install fastq_fastqc_umitools_trimgalore subworkflow
JoseEspinosa Apr 17, 2023
d67a0fd
Install fastq_align_bwa subworkflow
JoseEspinosa Apr 17, 2023
8b93ec2
Install fastq_align_bowtie2 subworkflow
JoseEspinosa Apr 17, 2023
356ccd2
Install fastq_align_chromap subworkflow
JoseEspinosa Apr 17, 2023
c8739ed
use the FASTQ_FASTQC_UMITOOLS_TRIMGALORE subworkflow insead of fastq…
JoseEspinosa Apr 17, 2023
8af9cb2
Use FASTQ_ALIGN_BWA subworkflow
JoseEspinosa Apr 17, 2023
d7f074a
Use FASTQ_ALIGN_BOWTIE2 subworkflow
JoseEspinosa Apr 18, 2023
28de291
Install custom/getchromsizes and picard/collectmultiplemetrics
JoseEspinosa Apr 18, 2023
4c462b3
Remove substituted modules and subworkflows
JoseEspinosa Apr 18, 2023
3a33ed9
Rename bamtools/filter
JoseEspinosa Apr 18, 2023
0f70b6d
add align_star local subworkflow
JoseEspinosa Apr 18, 2023
ccbc71c
Refactor and rename bam_filter_bamtools
JoseEspinosa Apr 18, 2023
0230090
Refactor code to use nf-core official subworkflows
JoseEspinosa Apr 18, 2023
3165a73
Simplify code
JoseEspinosa Apr 18, 2023
30312c3
changelog
JoseEspinosa Apr 18, 2023
603db63
Resolved arguments for bamtools_filteer
JoseEspinosa Apr 18, 2023
2637d88
Update bowtie2/align to fix the container download
JoseEspinosa Apr 18, 2023
6a75945
Remove code used for view
JoseEspinosa Apr 18, 2023
b00897d
Feed missing arguments to star subworkflow
JoseEspinosa Apr 18, 2023
be423bf
Update chromap/chromap
JoseEspinosa Apr 18, 2023
7cc3041
Update star_align
JoseEspinosa Apr 18, 2023
403a8e5
Update changelog
JoseEspinosa Apr 18, 2023
aece0fb
Update bowtie2/build
JoseEspinosa Apr 18, 2023
3b94a84
Merge pull request #339 from JoseEspinosa/fixes
JoseEspinosa Apr 18, 2023
0f4af2c
Fix samplesheet control column in docs examples
JoseEspinosa Apr 19, 2023
683428a
Try to clarify read_length docs
JoseEspinosa Apr 19, 2023
58bd1f6
Fix macs_gsize help text
JoseEspinosa Apr 19, 2023
f4cbf2a
Refine read_length help text
JoseEspinosa Apr 19, 2023
23efb25
Update readme since the steps below mapping can be performed when chr…
JoseEspinosa Apr 19, 2023
51e86f4
Merge pull request #340 from JoseEspinosa/docs_fixes
JoseEspinosa Apr 20, 2023
eeb0198
Update modules
JoseEspinosa Apr 21, 2023
8daf956
Install bam_markduplicates_picard from nf-core repo
JoseEspinosa Apr 21, 2023
73919ee
Also update instances of bam_markduplicates_picard in modules
JoseEspinosa Apr 21, 2023
477491d
Remove obsolet subworkflow
JoseEspinosa Apr 21, 2023
6c32d4e
Fix bwa_index
JoseEspinosa Apr 21, 2023
59c02c5
Update changelog
JoseEspinosa Apr 24, 2023
fa04941
Make prettier happy
JoseEspinosa Apr 24, 2023
e1d3685
Merge pull request #341 from JoseEspinosa/updates
JoseEspinosa Apr 24, 2023
02d021b
Remove enable_conda from local modules
JoseEspinosa Apr 25, 2023
ddddd16
Update untar, install untarfiles and update prepare_genomes
JoseEspinosa Apr 25, 2023
2c7b166
Delete duplicate instance of chromap index
JoseEspinosa Apr 25, 2023
9a7ab50
Fix typo in igenomes
JoseEspinosa Apr 25, 2023
fce1f54
Update changelog
JoseEspinosa Apr 25, 2023
a7374e8
Add meta2 to idx in star_align local module to unify prepare_genome u…
JoseEspinosa Apr 26, 2023
b6a5517
Revert previous commit
JoseEspinosa Apr 26, 2023
cc9e0de
Merge pull request #342 from JoseEspinosa/rm_enable_conda
JoseEspinosa Apr 26, 2023
9b4a92a
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
dc921a9
Merge branch 'TEMPLATE' of https://github.com/nf-core/chipseq into te…
JoseEspinosa May 4, 2023
4f271e1
Fix unmerged change
JoseEspinosa May 4, 2023
da50a0c
Make prettier happy
JoseEspinosa May 4, 2023
c21ba1d
Fix local merge changes deleted by mistake
JoseEspinosa May 4, 2023
eaee70b
reorder tower.yml
JoseEspinosa May 4, 2023
e4588b4
Apply review suggestions
JoseEspinosa May 5, 2023
93d9818
Merge pull request #345 from JoseEspinosa/template-update-v2.8
JoseEspinosa May 5, 2023
133ff47
Set a default registry outside of profile scope
JoseEspinosa May 12, 2023
647a3e3
Update changelog
JoseEspinosa May 12, 2023
067d9e8
Merge pull request #346 from JoseEspinosa/fix_registry
JoseEspinosa May 12, 2023
667b17f
Add explicit replicates and control_replicate column
JoseEspinosa Jun 20, 2023
8f1f57e
Update samplesheet in assets
JoseEspinosa Jun 20, 2023
14e21f7
Update code to deal with explicit replicates and control replicates
JoseEspinosa Jun 20, 2023
07ce152
Make black happy
JoseEspinosa Jun 20, 2023
bb9515d
Update changelog
JoseEspinosa Jun 21, 2023
a06cf7c
Add narrow_peak input channel value to macs2_consensus
JoseEspinosa Jun 21, 2023
8093123
Update test_full with new version of samplesheet
JoseEspinosa Jun 21, 2023
2630bc7
Update usage to cover replicate and control_replicate columns
JoseEspinosa Jun 22, 2023
da7ecaf
Make prettier happy
JoseEspinosa Jun 22, 2023
d99f2fe
Update usage.md
bjlang Jun 22, 2023
18bdef8
Remove dump
JoseEspinosa Jun 22, 2023
2715175
Merge branch 'explicit_rep' of https://github.com/JoseEspinosa/nf-cor…
JoseEspinosa Jun 22, 2023
0cf949c
Merge pull request #349 from JoseEspinosa/explicit_rep
JoseEspinosa Jun 22, 2023
36f1896
Update modules
JoseEspinosa Jun 22, 2023
ea4517b
Run prettier for modules
JoseEspinosa Jun 23, 2023
6bff0a9
Update changelog
JoseEspinosa Jun 23, 2023
0e90e76
Fix fasta input for chromap
JoseEspinosa Jun 23, 2023
4c2fcf3
Fix issue with fasta (needs map in some instances and not in some oth…
JoseEspinosa Jun 23, 2023
6331a76
Pass narrow peak parameter to macs2_consensus
JoseEspinosa Jun 23, 2023
81c26f1
Revert changes in chipseq pushed by mistake
JoseEspinosa Jun 23, 2023
3182e0f
Merge pull request #351 from JoseEspinosa/updates
JoseEspinosa Jun 23, 2023
1d99567
Make fasta available through IGV run
JoseEspinosa Jun 23, 2023
c21f05e
Fix blacklist and other instances where a parameter is used to create…
JoseEspinosa Jun 23, 2023
77aac1d
Remove commented line
JoseEspinosa Jun 23, 2023
05ab054
Remove parameter narrow_peak from plot_macs2_qc
JoseEspinosa Jun 23, 2023
4c484fb
Remove first not necessary
JoseEspinosa Jun 23, 2023
e88fdcd
Fix typo
JoseEspinosa Jun 26, 2023
5bb757d
Add is_narrow_peak to plot_macs2_qc
JoseEspinosa Jun 26, 2023
cc578b6
Add ext.when, remove params to local modules and rearrange modules co…
JoseEspinosa Jun 26, 2023
eca2e06
Fix typo
JoseEspinosa Jun 26, 2023
4aa413d
Read args from samplesheet_check
JoseEspinosa Jun 26, 2023
4ab68b3
Update output
JoseEspinosa Jun 26, 2023
5d8b570
Apply review changes
JoseEspinosa Jun 27, 2023
eb7c349
Apply review changes
JoseEspinosa Jun 27, 2023
0ae5d55
Revert change
JoseEspinosa Jun 27, 2023
2a5f3f4
Get rid of unused list for ext.args
JoseEspinosa Jun 28, 2023
3cff26f
Merge pull request #352 from JoseEspinosa/updates
JoseEspinosa Jun 28, 2023
e437a7c
Template update for nf-core/tools version 2.9
nf-core-bot Jun 30, 2023
e007d2a
Merged changes from nf-core template
JoseEspinosa Jun 30, 2023
b833899
Fix multiqc_config
JoseEspinosa Jul 3, 2023
7aeb56d
Reformat
JoseEspinosa Jul 3, 2023
54d6f21
Merge pull request #354 from JoseEspinosa/merging-template-2.9
JoseEspinosa Jul 4, 2023
92bc1be
Allow empty lines in input samplesheet
Jul 17, 2023
fa3221e
Remove quay.io from biocontainer address
Jul 19, 2023
48c10a7
Add missing comma to awsfulltest
adamrtalbot Jul 21, 2023
e64e11c
Merge pull request #359 from nf-core/gha-awsfulltest-params-comma-fix
adamrtalbot Jul 21, 2023
e5db239
Fix publishDir paths in modules.config
samuelruizperez Sep 10, 2023
1ae46c8
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
2da9eb4
Merge branch 'TEMPLATE' of https://github.com/nf-core/chipseq into me…
JoseEspinosa Sep 26, 2023
2e446fb
Update changelog
JoseEspinosa Sep 26, 2023
b2067d8
Fix fastqc version
JoseEspinosa Sep 26, 2023
d3add65
Fix zenodo link
JoseEspinosa Sep 27, 2023
74ef5af
Merge pull request #366 from JoseEspinosa/merge_temp_2.10
JoseEspinosa Sep 27, 2023
f7d76c9
Merge pull request #363 from samuelruizperez/dev
JoseEspinosa Oct 16, 2023
f9d6e65
Merge pull request #358 from bjlang/dev
JoseEspinosa Oct 16, 2023
9d15771
Remove depecrated code due to nf-validation use
JoseEspinosa Oct 16, 2023
b2cc15d
Add exists for file parameters in nextflow schema
JoseEspinosa Oct 16, 2023
052523b
Update changelog
JoseEspinosa Oct 16, 2023
f061fc8
Fix schema
JoseEspinosa Oct 16, 2023
63fbe91
Fix typo
JoseEspinosa Oct 16, 2023
60ecfe4
Add missing exists in schema
JoseEspinosa Oct 17, 2023
42b50c3
Merge pull request #368 from JoseEspinosa/dev
JoseEspinosa Oct 17, 2023
672467a
fixed "protection stack overflow" issue by setting max-ppsize
krokicki Nov 22, 2023
0bb54eb
update CHANGELOG
krokicki Nov 22, 2023
9eee551
Merge pull request #371 from krokicki/fix_stack_overflow
JoseEspinosa Nov 22, 2023
62b613c
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
3d37443
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
220d815
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
07d1650
Merge branch 'TEMPLATE' of https://github.com/nf-core/chipseq into me…
JoseEspinosa Jan 30, 2024
a5f0259
Fix lint
JoseEspinosa Feb 1, 2024
2efa8fa
fix linting
JoseEspinosa Feb 1, 2024
26e03a5
Update modules
JoseEspinosa Feb 1, 2024
12b6e43
Update modules json
JoseEspinosa Feb 1, 2024
da58939
Pass empty meta for modules needing it
JoseEspinosa Feb 1, 2024
1b42a37
Make prettier happy
JoseEspinosa Feb 1, 2024
334c21a
Fix lint
JoseEspinosa Feb 5, 2024
13e8e6d
Merge pull request #380 from JoseEspinosa/merging-template-2.12
JoseEspinosa Feb 5, 2024
6b1e458
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
e0e87f4
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
a81ee33
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
d4b1a53
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
5712425
Get rid of lib folder
JoseEspinosa Jun 26, 2024
198d114
Get rid of deprecated modules
JoseEspinosa Jun 26, 2024
39e1083
Add pipeline functions subworkflow
JoseEspinosa Jun 26, 2024
bda31b2
Install utils subworkflows
JoseEspinosa Jun 26, 2024
1b3dd1b
Update modules config
JoseEspinosa Jun 26, 2024
4cf206c
Update multiqc
JoseEspinosa Jun 26, 2024
933dede
Update prepare_genome
JoseEspinosa Jun 26, 2024
2397708
Update main workflows
JoseEspinosa Jun 26, 2024
9d926f7
Add emit
JoseEspinosa Jun 26, 2024
4c2cce8
Align comment
JoseEspinosa Jun 26, 2024
69ed785
Update changelog
JoseEspinosa Jun 26, 2024
a1b8e00
Make lint happy
JoseEspinosa Jun 26, 2024
5bf333d
Make lint happy
JoseEspinosa Jun 27, 2024
688c319
Update phantompeakqualtools
JoseEspinosa Jun 27, 2024
f85bcd7
Use wave container to avoid docker format version error
JoseEspinosa Jun 27, 2024
3862170
fix nf-core lint
JoseEspinosa Jun 28, 2024
121b0ec
Merge pull request #391 from JoseEspinosa/updates
bjlang Jul 1, 2024
7723a50
Merge branch 'TEMPLATE' of https://github.com/nf-core/chipseq into me…
JoseEspinosa Jul 1, 2024
259485d
Fix lint
JoseEspinosa Jul 2, 2024
9b646fe
Remove files_unchanged after template update
JoseEspinosa Jul 2, 2024
8ebded6
Roll back file to template version v2.14.1 and not dev
JoseEspinosa Jul 2, 2024
db32e8b
Bring back subworkflows in modules.json deleted while resolving merge…
JoseEspinosa Jul 2, 2024
1b94331
Merge pull request #393 from JoseEspinosa/merge_template_v2.14.1
JoseEspinosa Jul 2, 2024
c0c6347
Fix changelog
JoseEspinosa Jul 3, 2024
a628cc4
Fix save_unaligned parameter description in schema
JoseEspinosa Jul 3, 2024
f6b9c27
Remove code leak
JoseEspinosa Jul 3, 2024
ac7feee
Update nextflow_schema.json
JoseEspinosa Jul 3, 2024
651b61d
Merge pull request #395 from JoseEspinosa/fixes
JoseEspinosa Jul 3, 2024
80a12ac
check: Adding line number to error messages.
smoe Jul 1, 2024
c3e1861
Merge pull request #392 from smoe/adding_line_numbers_to_check_dev
JoseEspinosa Jul 3, 2024
e7fba48
Check for sample IDs allowed characters
JoseEspinosa Jul 4, 2024
50915a7
Merge pull request #397 from JoseEspinosa/fixes
bjlang Jul 4, 2024
f170418
use subworkflows/local/bam_bedgraph_bigwig_bedtools_ucsc from nf-core…
Jul 4, 2024
dbbfc23
actually use subworkflows/local/bam_bedgraph_bigwig_bedtools_ucsc fro…
Jul 5, 2024
d314ec3
clean imports
bjlang Jul 5, 2024
8aaccc2
Update chipseq.nf
bjlang Jul 5, 2024
53c152c
Update subworkflows/local/bam_bedgraph_bigwig_bedtools_ucsc.nf
bjlang Jul 5, 2024
1096fc1
Merge pull request #399 from bjlang/dev
bjlang Jul 5, 2024
a7a9f83
use subworkflows/local/bam_peaks_call_qc_annotate_macs2_homer from nf…
Jul 5, 2024
8f4108e
Merge branch 'nf-core:dev' into dev
bjlang Jul 5, 2024
561b73b
Update modules.config and other minor corrections
Jul 5, 2024
209e589
Merge pull request #400 from bjlang/dev
bjlang Jul 8, 2024
bb76db7
create subworkflows/local/bam_peaks_call_qc_annotate_macs2_homer simi…
Jul 8, 2024
132892e
fix includes
Jul 8, 2024
f4f8b68
suggestions from code review
Jul 9, 2024
a1dd9c2
Merge pull request #401 from bjlang/dev
JoseEspinosa Jul 9, 2024
1bd1b15
Clean up and removal of double slashes
Jul 9, 2024
637deb5
Merge pull request #402 from bjlang/dev
JoseEspinosa Jul 11, 2024
2936122
Install macs3 module
JoseEspinosa Jul 22, 2024
dabbe8c
Remove macs2/callpeak module
JoseEspinosa Jul 22, 2024
01623d6
Update all code using macs2 to use macs3, also docs
JoseEspinosa Jul 23, 2024
f851436
Update changelog
JoseEspinosa Jul 23, 2024
0191a6f
Update macs3/callpeak module
JoseEspinosa Jul 23, 2024
16b73ac
Merge remote-tracking branch 'upstream/dev' into updates
JoseEspinosa Jul 23, 2024
b0d81e6
Update subworkflows using macs2 to macs3 after merge
JoseEspinosa Jul 23, 2024
7238956
Address review comments
JoseEspinosa Jul 23, 2024
9fe5767
Merge pull request #404 from JoseEspinosa/updates
JoseEspinosa Jul 23, 2024
2b63173
Pass read group fields to bowtie2
JoseEspinosa Jul 23, 2024
bcb876b
Merge remote-tracking branch 'upstream/dev' into updates
JoseEspinosa Jul 23, 2024
1c2b3d7
Merge pull request #405 from JoseEspinosa/updates
JoseEspinosa Jul 23, 2024
5682c83
Update svg metro map with macs3
JoseEspinosa Jul 24, 2024
b1ded4b
Update png metro map to change to macs3
JoseEspinosa Jul 24, 2024
ce528a0
Update macs peak count plot
JoseEspinosa Jul 24, 2024
50a2416
Update changelog
JoseEspinosa Jul 24, 2024
dcd850f
Update svg metro map to show margins
JoseEspinosa Jul 24, 2024
fec708e
Always upload logs after megatests
JoseEspinosa Jul 24, 2024
9d6919a
Revert always upload logs after megatests
JoseEspinosa Jul 24, 2024
cee6b47
Always upload logs when running aws full tests
JoseEspinosa Jul 24, 2024
4115526
Merge pull request #406 from JoseEspinosa/updates
JoseEspinosa Jul 24, 2024
b161a7d
Merge pull request #407 from JoseEspinosa/fixes
JoseEspinosa Jul 24, 2024
fd28fe4
Read params before including anything
JoseEspinosa Jul 24, 2024
b1f7d31
Move getGenomeAttribute function to main
JoseEspinosa Jul 24, 2024
a20c464
Also move getMacsGsize declaration
JoseEspinosa Jul 24, 2024
50caeb9
Remove includes
JoseEspinosa Jul 24, 2024
cd28cd0
Fix output of bwa index when provided as not compressed input
JoseEspinosa Jul 25, 2024
588a28a
Make lint happy
JoseEspinosa Jul 31, 2024
49c405c
Get rid of the functions in pipeline utils
JoseEspinosa Jul 31, 2024
d489e97
Merge pull request #408 from JoseEspinosa/fixes
JoseEspinosa Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
13 changes: 11 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js,cff}]
[*.{md,yml,yaml,html,css,scss,js}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
Expand All @@ -18,10 +18,19 @@ end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
[/subworkflows/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset

[/assets/email*]
indent_size = unset

[/assets/blacklists/GRCh37-blacklist.bed]
trim_trailing_whitespace = unset

# ignore python and markdown
[*.{py,md}]
indent_style = unset
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
24 changes: 23 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Please use the pre-filled template to save time.
However, don't be put off by this template - other more general issues and suggestions are welcome!
Contributions to the code are even more welcome ;)

> [!NOTE]
> If you need help using or modifying nf-core/chipseq then the best place to ask is on the nf-core Slack [#chipseq](https://nfcore.slack.com/channels/chipseq) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow
Expand All @@ -25,6 +26,12 @@ If you're not used to this workflow with git, you can start with some [docs from

## Tests

You have the option to test your changes locally by running the pipeline. For receiving warnings about process selectors and other `debug` information, it is recommended to use the debug profile. Execute all the tests with the following command:

```bash
nf-test test --profile debug,test,docker --verbose
```

When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.

Expand Down Expand Up @@ -85,7 +92,7 @@ Once there, use `nf-core schema build` to add to `nextflow_schema.json`.

Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.

The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.
The process resources can be passed on to the tool dynamically within the process with the `${task.cpus}` and `${task.memory}` variables in the `script:` block.

### Naming schemes

Expand All @@ -101,3 +108,18 @@ If you are using a new feature from core Nextflow, you may bump the minimum requ
### Images and figures

For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

## GitHub Codespaces

This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/chipseq/codespaces)
- Tools installed
- nf-core
- Nextflow

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 21.10.3)_
* Nextflow version _(eg. 23.04.0)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/chipseq _(eg. 1.1, 1.5, 1.8.2)_
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/chip

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/chipseq/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/chipseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/chipseq/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/chipseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,34 @@ on:
types: [published]
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/chipseq'
runs-on: ubuntu-latest
strategy:
matrix:
aligner: ["bwa", "bowtie2", "chromap", "star"]
steps:
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/chipseq/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/chipseq/results-${{ github.sha }}"
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/chipseq/results-${{ github.sha }}",
"aligner": "${{ matrix.aligner }}"
}
profiles: test_full,aws_tower
profiles: test_full

- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: Seqera Platform debug log file
path: |
seqera_platform_action_*.log
seqera_platform_action_*.json
18 changes: 13 additions & 5 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@ name: nf-core AWS test
on:
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS tests
if: github.repository == 'nf-core/chipseq'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
# Launch workflow using Seqera Platform CLI tool action
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/chipseq/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/chipseq/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
profiles: test

- uses: actions/upload-artifact@v4
with:
name: Seqera Platform debug log file
path: |
seqera_platform_action_*.log
seqera_platform_action_*.json
4 changes: 2 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Check PRs
if: github.repository == 'nf-core/chipseq'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/chipseq ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/chipseq ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]

# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
with:
message: |
## This PR is against the `master` branch :x:
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
env:
NXF_ANSI_LOG: false

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true

jobs:
test:
name: Run pipeline with test data
Expand All @@ -20,17 +24,20 @@ jobs:
strategy:
matrix:
NXF_VER:
- "21.10.3"
- "23.04.0"
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Close user-tagged issues and PRs"
on:
schedule:
- cron: "0 0 * * 0" # Once a week

jobs:
clean-up:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
close-issue-message: "This issue was closed because it has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor and then staled for 20 days with no activity."
days-before-stale: 30
days-before-close: 20
days-before-pr-close: -1
any-of-labels: "awaiting-changes,awaiting-feedback"
exempt-issue-labels: "WIP"
exempt-pr-labels: "WIP"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
86 changes: 86 additions & 0 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Test successful pipeline download with 'nf-core download'

# Run the workflow when:
# - dispatched manually
# - when a PR is opened or reopened to master branch
# - the head branch of the pull request is updated, i.e. if fixes for a release are pushed last minute to dev.
on:
workflow_dispatch:
inputs:
testbranch:
description: "The specific branch you wish to utilize for the test execution of nf-core download."
required: true
default: "dev"
pull_request:
types:
- opened
- edited
- synchronize
branches:
- master
pull_request_target:
branches:
- master

env:
NXF_ANSI_LOG: false

jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Install Nextflow
uses: nf-core/setup-nextflow@v2

- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.12"
architecture: "x64"
- uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7
with:
singularity-version: 3.8.3

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/nf-core/tools.git@dev

- name: Get the repository name and current branch set as environment variable
run: |
echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
echo "REPOTITLE_LOWERCASE=$(basename ${GITHUB_REPOSITORY,,})" >> ${GITHUB_ENV}
echo "REPO_BRANCH=${{ github.event.inputs.testbranch || 'dev' }}" >> ${GITHUB_ENV}

- name: Download the pipeline
env:
NXF_SINGULARITY_CACHEDIR: ./
run: |
nf-core download ${{ env.REPO_LOWERCASE }} \
--revision ${{ env.REPO_BRANCH }} \
--outdir ./${{ env.REPOTITLE_LOWERCASE }} \
--compress "none" \
--container-system 'singularity' \
--container-library "quay.io" -l "docker.io" -l "ghcr.io" \
--container-cache-utilisation 'amend' \
--download-configuration

- name: Inspect download
run: tree ./${{ env.REPOTITLE_LOWERCASE }}

- name: Run the downloaded pipeline (stub)
id: stub_run_pipeline
continue-on-error: true
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
- name: Run the downloaded pipeline (stub run not supported)
id: run_pipeline
if: ${{ job.steps.stub_run_pipeline.status == failure() }}
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -profile test,singularity --outdir ./results
Loading
Loading