Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
b4a8983
Add consistent support of .csi indices as alternative to .bai
Aug 10, 2023
7ab1cd9
Changes from code review
Aug 11, 2023
5117171
Make Prettier happy
Aug 11, 2023
947dde3
Remove unused code
Aug 11, 2023
79284fb
Update CHANGELOG.md
bjlang Aug 11, 2023
32513f8
Merge pull request #328 from bjlang/dev
bjlang Aug 11, 2023
964cc17
Create samplesheet_with_control.csv
bjlang Aug 15, 2023
d2d6632
Merge pull request #329 from nf-core/bjlang-patch-1
bjlang Aug 15, 2023
e5a87a5
Merge branch 'dev' into dev
JoseEspinosa Sep 6, 2023
1030a66
Revert "DO NOT MERGE yet: Discuss fixes of #164 #168 #169 "
bjlang Sep 6, 2023
e034e1e
Merge pull request #333 from nf-core/revert-301-dev
JoseEspinosa Sep 6, 2023
a942574
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
c36ca2c
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Sep 26, 2023
91eb3ca
Update changelog
JoseEspinosa Sep 26, 2023
8d7b4d7
Fix zenodo link
JoseEspinosa Sep 27, 2023
0d8b463
Make prettier happy
JoseEspinosa Sep 27, 2023
08b73f5
Merge pull request #336 from JoseEspinosa/merge_temp_2.10
JoseEspinosa Sep 27, 2023
8ed2d79
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
4835675
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
8940d1e
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
4a65ded
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Jan 30, 2024
966d6ff
Fix linting
JoseEspinosa Jan 30, 2024
9589041
Make prettier happy
JoseEspinosa Jan 30, 2024
4d49977
Update subworkflows to fix lint
JoseEspinosa Jan 30, 2024
a3e7ecb
Make lint happy
JoseEspinosa Feb 1, 2024
18ad7d6
[automated] Fix linting with Prettier
nf-core-bot Feb 1, 2024
fa90c2e
Update .devcontainer/devcontainer.json
JoseEspinosa Feb 1, 2024
7d1e034
Update .devcontainer/devcontainer.json
JoseEspinosa Feb 1, 2024
a4b97cb
Merge pull request #348 from JoseEspinosa/merging-template-2.12
JoseEspinosa Feb 1, 2024
01043d3
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
e9ab327
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
0ceb182
Install utils subworkflows
JoseEspinosa Mar 6, 2024
8508612
Add local utils subworkflow
JoseEspinosa Mar 6, 2024
3687239
Fix double slash in directory urls #332
Mar 20, 2024
fb5540b
Remove lib
JoseEspinosa Mar 20, 2024
260ffc4
Update prepare_genome subworkflow
JoseEspinosa Mar 20, 2024
3677eb8
Add getMacsGsize function
JoseEspinosa Mar 20, 2024
78109ab
Update main
JoseEspinosa Mar 20, 2024
17380f6
Update atacseq
JoseEspinosa Mar 20, 2024
0a9134d
Update changelog
JoseEspinosa Mar 20, 2024
e84c1fb
Make lint happy
JoseEspinosa Mar 20, 2024
0d7f3e8
remove custom crg config and firt draft of usage CONTROL description …
VErconi Mar 20, 2024
bcd8c13
Merge branch 'dev' into WipClarificationUsage
VErconi Mar 20, 2024
fdc35e7
Merge pull request #355 from bjlang/dev
JoseEspinosa Mar 20, 2024
b9fcab2
Make lint happy
JoseEspinosa Mar 20, 2024
357cf89
[automated] Fix linting with Prettier
nf-core-bot Mar 20, 2024
5932ff2
Remove local leak
JoseEspinosa Mar 20, 2024
1a5f178
Bring back logic for making gene bed from supplied --gtf
JoseEspinosa Mar 20, 2024
39cfeb6
fix spaces
bjlang Mar 21, 2024
367a550
Make lint happy
JoseEspinosa Mar 22, 2024
eb1285a
Address review comments
JoseEspinosa Apr 2, 2024
36227a2
Merge pull request #357 from JoseEspinosa/updates
JoseEspinosa Apr 2, 2024
80b4c22
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Apr 3, 2024
d3f03de
Update changelog
JoseEspinosa Apr 3, 2024
1436193
Fix merge error
JoseEspinosa Apr 3, 2024
4af724a
Remove dumpsoftwareversios vestiges
JoseEspinosa Apr 3, 2024
657df91
fix multiqc config
JoseEspinosa Apr 4, 2024
931a1e2
Update modules and subworkflows
JoseEspinosa Apr 4, 2024
01d6f2c
Make prettier happy
JoseEspinosa Apr 5, 2024
029e29d
fix path to fasta file for samtools sort in bam_filter_bamtools
JoseEspinosa Apr 5, 2024
af234f3
Update bowtie/align module
JoseEspinosa Apr 5, 2024
76ee846
Merge pull request #360 from JoseEspinosa/merge-template-2.13.1
bjlang Apr 11, 2024
9fbc9b0
Merge pull request #358 from VErconi/WipClarificationUsage
JoseEspinosa Apr 12, 2024
5a3215f
Synchronize example samplesheets with the usage.md
Apr 12, 2024
4fcb660
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
296d552
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
e69f5dc
Synchronize README.md with usage.md
bjlang Jun 10, 2024
6be9408
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Jun 25, 2024
b89f879
Update fastqc hash
JoseEspinosa Jun 25, 2024
35f81ab
Update .editorconfig
JoseEspinosa Jun 25, 2024
7924ff7
Merge pull request #366 from JoseEspinosa/merge-template-v2.13.1
JoseEspinosa Jun 25, 2024
510563e
Merge pull request #362 from bjlang/dev
JoseEspinosa Jun 25, 2024
a876ca1
Fix save_unaligned parameter description in schema
JoseEspinosa Jul 1, 2024
641228c
Merge pull request #368 from JoseEspinosa/fixes
maxulysse Jul 2, 2024
fff0394
Use bash sort instead of bedtools sort (more memory efficient)
JoseEspinosa Jul 3, 2024
31ca117
Increase memory for BEDTOOLS_GENOMECOV for merge duplicates
JoseEspinosa Jul 3, 2024
bd6270a
Merge remote-tracking branch 'upstream/dev' into fixes
JoseEspinosa Jul 3, 2024
3123088
Update changelog
JoseEspinosa Jul 3, 2024
020cbec
Move memory requirements to base.config as requested in review
JoseEspinosa Jul 3, 2024
e53da35
Add --skip_merged_replicate_bigwig parameter
JoseEspinosa Jul 3, 2024
0623e2e
Merge pull request #369 from JoseEspinosa/fixes
JoseEspinosa Jul 3, 2024
51b2f96
Check for sample names allowed characters and report line number whe…
JoseEspinosa Jul 4, 2024
90a440a
Update changelog
JoseEspinosa Jul 4, 2024
50f1b0d
Make linting happy
JoseEspinosa Jul 4, 2024
a238997
Merge pull request #371 from JoseEspinosa/fixes
JoseEspinosa Jul 4, 2024
81d5eca
Update bedtools_genomecov image to use gnu sort
JoseEspinosa Jul 5, 2024
4a4227c
Update sort command adding buffer size and parallel processing
JoseEspinosa Jul 5, 2024
57db5ef
rm tmp file
JoseEspinosa Jul 5, 2024
dbab390
make lint happy
JoseEspinosa Jul 5, 2024
30a165a
Merge pull request #374 from JoseEspinosa/fixes
JoseEspinosa Jul 8, 2024
7d31e7f
Revert "Revert "DO NOT MERGE yet: Discuss fixes of #164 #168 #169 ""
lpantano Jul 12, 2024
36a67a0
get working shift and make it false by default
lpantano Jul 15, 2024
cc5ca5d
integrated dev changes
lpantano Jul 15, 2024
e6d9190
remove bam to bed
lpantano Jul 15, 2024
bb2d9fb
fix editorial
lpantano Jul 15, 2024
6dea6cd
fix default of shift param
lpantano Jul 15, 2024
b1fb091
update changelog
lpantano Jul 15, 2024
a67450d
Change to macs3 instead of macs2
JoseEspinosa Sep 19, 2024
caef300
Update changelog
JoseEspinosa Sep 19, 2024
03b5f51
Merge remote-tracking branch 'upstream/dev' into updates
JoseEspinosa Sep 19, 2024
2038e7d
Change all instances of macs2 by macs3
JoseEspinosa Sep 19, 2024
c9e4c12
One more
JoseEspinosa Sep 19, 2024
8d55feb
Make lint happy
JoseEspinosa Sep 19, 2024
d3d7faa
Update subwworkflow name
JoseEspinosa Sep 19, 2024
fe950ac
Merge pull request #379 from JoseEspinosa/updates
JoseEspinosa Sep 19, 2024
58be205
Update CHANGELOG.md
lpantano Sep 19, 2024
c57f303
Update nextflow_schema.json
lpantano Sep 25, 2024
25055dd
Update subworkflows/local/bam_shift_reads.nf
lpantano Sep 25, 2024
c32f71e
Update nextflow_schema.json
lpantano Sep 25, 2024
fda14bd
Update workflows/atacseq.nf
lpantano Sep 25, 2024
50afafb
Update workflows/atacseq.nf
lpantano Sep 25, 2024
f3ff187
Update workflows/atacseq.nf
lpantano Sep 25, 2024
f11e231
Update format include workflows/atacseq.nf
lpantano Sep 25, 2024
347d98e
Update channel format workflows/atacseq.nf
lpantano Sep 25, 2024
ea927b5
Merge pull request #375 from nf-core/PR_301
JoseEspinosa Sep 26, 2024
b940bfe
Install deeptools/alignmentsieve and get rid of the local module
JoseEspinosa Sep 27, 2024
f7e31e9
Only shift reads with chromap when `shift_read` param set
JoseEspinosa Sep 27, 2024
ce4b647
Update changelog
JoseEspinosa Sep 27, 2024
e060f4a
Update changelog
JoseEspinosa Sep 27, 2024
a5850d9
Template update for nf-core/tools version 3.0.0
nf-core-bot Oct 8, 2024
c856323
Template update for nf-core/tools version 3.0.1
nf-core-bot Oct 9, 2024
26dbb3b
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Oct 10, 2024
ed7a5cf
Merge pull request #382 from JoseEspinosa/fixes
JoseEspinosa Oct 11, 2024
c4e2180
Fix typo
JoseEspinosa Oct 11, 2024
f2c11f4
Merge remote-tracking branch 'upstream/dev' into merging-template-3.0.1
JoseEspinosa Oct 11, 2024
827b9ad
Make lint happy
JoseEspinosa Oct 11, 2024
9a5bb61
Fix fastqc git_sha
JoseEspinosa Oct 11, 2024
71d95a7
Template update for nf-core/tools version 3.0.2
nf-core-bot Oct 11, 2024
503af9b
Merge remote-tracking branch 'upstream/nf-core-template-merge-3.0.2' …
JoseEspinosa Oct 11, 2024
38053e4
Remove check_max
JoseEspinosa Oct 14, 2024
51333fc
Fix deseq module
JoseEspinosa Oct 14, 2024
d0a17a9
Merge pull request #386 from JoseEspinosa/merging-template-3.0.1
JoseEspinosa Oct 14, 2024
75378f5
Prevent pipeline fails from erroneous param validation of fasta and g…
Nov 20, 2024
2717572
Merge pull request #392 from bjlang/dev
bjlang Nov 20, 2024
4b8f451
Template update for nf-core/tools version 3.1.0
nf-core-bot Dec 12, 2024
657aab5
Template update for nf-core/tools version 3.1.1
nf-core-bot Dec 20, 2024
4aebe8d
implement min_max_fragL_filter
lijin0303 Jan 9, 2025
102b897
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Jan 10, 2025
cce3175
Update changelog
JoseEspinosa Jan 10, 2025
957139d
Make lint happy
JoseEspinosa Jan 10, 2025
62d86f8
Merge pull request #399 from JoseEspinosa/merging-template-3.1.1
JoseEspinosa Jan 10, 2025
846b5e7
documentation updated for usage
lijin0303 Jan 14, 2025
9292899
update documentation for different frag size selection
lijin0303 Jan 15, 2025
40ce42a
Template update for nf-core/tools version 3.1.2
nf-core-bot Jan 20, 2025
5c38e50
add default to nextflow.config under Options: Alignment
lijin0303 Jan 24, 2025
1e8ce71
Template update for nf-core/tools version 3.2.0
nf-core-bot Jan 27, 2025
e494dc2
up to date with lintr
lijin0303 Jan 30, 2025
7c1baaf
Merge branch 'dev' into ruitong_dev
lpantano Jan 30, 2025
ca44cfb
[automated] Fix linting with Prettier
nf-core-bot Feb 4, 2025
7b392cf
Merge branch 'dev' into nf-core-template-merge-3.2.0
lpantano Feb 12, 2025
9e6d8e4
Merge pull request #409 from nf-core/nf-core-template-merge-3.2.0
lpantano Feb 12, 2025
f1ad084
Merge branch 'dev' into pr/407
lpantano Feb 12, 2025
9b89152
Merge pull request #407 from lijin0303/ruitong_dev
lpantano Feb 12, 2025
422883f
better place for docs
lpantano Feb 20, 2025
c865a3f
update changes
lpantano Feb 20, 2025
67636b3
make params visible
lpantano Feb 20, 2025
a8da7c4
Merge pull request #412 from nf-core/fix_shift_docs
lpantano Feb 20, 2025
d1922fa
Template update for nf-core/tools version 3.2.1
nf-core-bot Apr 30, 2025
129465d
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa May 7, 2025
54b2741
Apply suggestion from review
JoseEspinosa May 9, 2025
1f8bdf6
Fix ci
JoseEspinosa May 9, 2025
5960178
Merge pull request #420 from JoseEspinosa/merging-template-3.2.1
JoseEspinosa May 9, 2025
43842a6
Template update for nf-core/tools version 3.3.1
nf-core-bot Jun 3, 2025
ca3c590
Template update for nf-core/tools version 3.3.2
nf-core-bot Jul 8, 2025
89558b8
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Sep 22, 2025
0aec933
Update ro-crate to make linting happy
JoseEspinosa Sep 22, 2025
4fce7b1
Make lint happy
JoseEspinosa Sep 22, 2025
f9fa79b
Adding tests on ci again
JoseEspinosa Sep 25, 2025
7582d52
Skip nf-tests
JoseEspinosa Sep 25, 2025
d78ec48
Merge branch 'merging-template-3.2.1' of https://github.com/joseespin…
JoseEspinosa Sep 25, 2025
ff18f31
Make lint happy
JoseEspinosa Sep 25, 2025
3f9901a
Move skip nf-test to the correct section
JoseEspinosa Sep 25, 2025
56584aa
Merge branch 'merging-template-3.2.1' of https://github.com/joseespin…
JoseEspinosa Sep 25, 2025
ea71b24
Fix path to .ci.yml
JoseEspinosa Sep 25, 2025
285c111
Getting rid of all nf-test stuff
JoseEspinosa Sep 25, 2025
6e85b66
Update nxf version on ci
JoseEspinosa Sep 25, 2025
a3a8e16
Make lint happy
JoseEspinosa Sep 25, 2025
8f2b984
Bump nextflow version in ci
JoseEspinosa Sep 25, 2025
9bd0dc9
Merge branch 'merging-template-3.2.1' of https://github.com/joseespin…
JoseEspinosa Sep 25, 2025
e69e88e
Template update for nf-core/tools version 3.4.1
nf-core-bot Oct 16, 2025
051c635
Update nextflow.config
JoseEspinosa Oct 22, 2025
d8793e0
Update README.md
JoseEspinosa Oct 22, 2025
84dc909
Make lint happy
JoseEspinosa Oct 22, 2025
82940a2
Merge pull request #425 from JoseEspinosa/merging-template-3.2.1
JoseEspinosa Oct 23, 2025
63bf9a4
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Oct 28, 2025
14d591b
Make lint happy
JoseEspinosa Oct 28, 2025
9a41bf9
Fix template tyop
JoseEspinosa Oct 28, 2025
7380e14
Update test nxf version
JoseEspinosa Oct 28, 2025
a4d0886
Merge pull request #428 from JoseEspinosa/merge-template-v3.4.1
JoseEspinosa Oct 28, 2025
990d8a1
Add stub runs to local modules
JoseEspinosa Oct 29, 2025
eb836a7
First iteration towards nf-test implementation
JoseEspinosa Oct 29, 2025
ecc97a5
Adding get-shards action
JoseEspinosa Oct 29, 2025
dfeab47
Update snapshots
JoseEspinosa Oct 29, 2025
184f229
Make lint happy
JoseEspinosa Oct 29, 2025
229be26
More linting
JoseEspinosa Oct 29, 2025
2b030fb
Merge branch 'nf-test' of https://github.com/joseespinosa/nf-core-ata…
JoseEspinosa Oct 29, 2025
dde40dd
Bump minimal nxf version for nf-test
JoseEspinosa Oct 29, 2025
39bed01
Add nf-test action and remove nf-test related files from "file_exist"
JoseEspinosa Oct 29, 2025
2ec5b5f
Update changelog
JoseEspinosa Oct 29, 2025
5cac83c
Exclude variable files from md5sum checks
JoseEspinosa Oct 30, 2025
df23680
Update nf-test snapshot
JoseEspinosa Oct 30, 2025
eee5855
Update snapshot
JoseEspinosa Oct 30, 2025
089be5c
Correctly update snapshot
JoseEspinosa Oct 30, 2025
4d8fbd3
Merge pull request #429 from JoseEspinosa/nf-test
JoseEspinosa Oct 30, 2025
4f14bef
Update deeptools/plotfingerprint
JoseEspinosa Oct 31, 2025
3330302
Update deeptools/computematrix
JoseEspinosa Oct 31, 2025
b7f2de7
Update deeptools/plotprofile
JoseEspinosa Oct 31, 2025
de0fceb
Update deeptools/plotheatmap module
JoseEspinosa Oct 31, 2025
491762c
Update picard/mergesamfiles
JoseEspinosa Nov 3, 2025
659af2d
Add bowtie2 nf-tests
JoseEspinosa Nov 3, 2025
1e398f4
Add chromap nf-tests
JoseEspinosa Nov 3, 2025
10ae84e
Add star nf-tests
JoseEspinosa Nov 3, 2025
c8d0134
Add skip-consensus nf-tests
JoseEspinosa Nov 3, 2025
ad8390c
Add skip-trimming nf-tests
JoseEspinosa Nov 3, 2025
101ed98
Update default nf-test snapshots
JoseEspinosa Nov 3, 2025
a085887
Update bowtie2 snapshots
JoseEspinosa Nov 3, 2025
b9b135c
Update nf.test declarations (test will fail but need to sychronize)
JoseEspinosa Nov 4, 2025
4e323c9
Update link reference in output documentation
mashehu Nov 4, 2025
c45f78b
Update snapshots
JoseEspinosa Nov 4, 2025
93bcc94
Update star snapshots
JoseEspinosa Nov 5, 2025
1a948b5
Remove variable files from all snapshots
JoseEspinosa Nov 5, 2025
c2e6675
Update snapshots
JoseEspinosa Nov 6, 2025
11f1371
Merge pull request #432 from nf-core/mashehu-patch-1
JoseEspinosa Nov 7, 2025
5375ea6
Add controls test to nf-test
JoseEspinosa Nov 10, 2025
9307b54
Merge pull request #430 from JoseEspinosa/nf-test
JoseEspinosa Nov 10, 2025
3612ee8
Template update for nf-core/tools version 3.5.1
nf-core-bot Nov 20, 2025
e8d9019
Merge branch 'TEMPLATE' of https://github.com/nf-core/atacseq into me…
JoseEspinosa Nov 20, 2025
290ffde
Fix .nf-core.yml
JoseEspinosa Nov 20, 2025
3e4915e
Recover files removed by mistake
JoseEspinosa Nov 20, 2025
a801ab4
Make lint happy
JoseEspinosa Nov 20, 2025
54f29ef
Fix logos
JoseEspinosa Nov 20, 2025
b463db6
Make lint happy
JoseEspinosa Nov 20, 2025
c7b9e7b
Merge pull request #434 from JoseEspinosa/merge-template-3.5.1
JoseEspinosa Nov 20, 2025
e19ce3b
Fix strict syntax errors
bentsherman Mar 19, 2026
3ed86ea
Merge pull request #436 from nf-core/fix-strict-syntax
JoseEspinosa Mar 19, 2026
681748b
Update bwa/align
JoseEspinosa Mar 20, 2026
7ae6ba1
Update fastq_fastqc_umitools_trimgalore
JoseEspinosa Mar 20, 2026
66aec19
Update changelog
JoseEspinosa Mar 20, 2026
63a9760
Make lint hapyy
JoseEspinosa Mar 20, 2026
83cc151
Update snapshots
JoseEspinosa Mar 23, 2026
9410f7a
Update test and snapshots
JoseEspinosa Mar 23, 2026
a337aa5
Update rest of snapshots using bwa
JoseEspinosa Mar 23, 2026
0a5dea1
Merge pull request #437 from JoseEspinosa/updates
JoseEspinosa Mar 24, 2026
1e48c3e
Add checkIfExists for all file invocations
JoseEspinosa Mar 25, 2026
5976ac4
Prevent S3 access errors
JoseEspinosa Mar 25, 2026
02e0147
Update changelog
JoseEspinosa Mar 25, 2026
8418731
Fix changelog
JoseEspinosa Mar 25, 2026
7a96635
Make ch_bowtie2_index consistent with the rest of indexes
JoseEspinosa Mar 26, 2026
e251826
Revert channel to Channel (leave for a follow-up PR where minimal nxf…
JoseEspinosa Mar 30, 2026
800e634
Merge pull request #439 from nf-core/s3_index_validation
JoseEspinosa Apr 20, 2026
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
35 changes: 14 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"image": "nfcore/devcontainer:latest",

// 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",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
},
"remoteUser": "root",
"privileged": true,

// 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"]
}
"remoteEnv": {
// Workspace path on the host for mounting with docker-outside-of-docker
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},

"onCreateCommand": "./.devcontainer/setup.sh",

"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
13 changes: 13 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Customise the terminal command prompt
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
export PROMPT_DIRTRIM=2
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '

# Update Nextflow
nextflow self-update

# Update welcome message
echo "Welcome to the nf-core/atacseq devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
27 changes: 0 additions & 27 deletions .editorconfig

This file was deleted.

36 changes: 21 additions & 15 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nf-core/atacseq: Contributing Guidelines
# `nf-core/atacseq`: Contributing Guidelines

Hi there!
Many thanks for taking an interest in improving nf-core/atacseq.
Expand All @@ -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/atacseq then the best place to ask is on the nf-core Slack [#atacseq](https://nfcore.slack.com/channels/atacseq) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow
Expand All @@ -18,13 +19,19 @@ If you'd like to write some code for nf-core/atacseq, the standard workflow is a
1. Check that there isn't already an issue about your idea in the [nf-core/atacseq issues](https://github.com/nf-core/atacseq/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
2. [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/atacseq repository](https://github.com/nf-core/atacseq) to your GitHub account
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
4. Use `nf-core pipelines schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged

If you're not used to this workflow with git, you can start with some [docs from GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests) or even their [excellent `git` resources](https://try.github.io/).

## 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 All @@ -33,7 +40,7 @@ There are typically two types of tests that run:
### Lint tests

`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core pipelines lint <pipeline-directory>` command.

If any failures or warnings are encountered, please follow the listed URL for more documentation.

Expand All @@ -48,44 +55,44 @@ These tests are run both with the latest available version of `Nextflow` and als

:warning: Only in the unlikely and regretful event of a release happening with a bug.

- On your own fork, make a new branch `patch` based on `upstream/master`.
- On your own fork, make a new branch `patch` based on `upstream/main` or `upstream/master`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.
- Open a pull-request from `patch` to `main`/`master` with the changes.

## Getting help

For further information/help, please consult the [nf-core/atacseq documentation](https://nf-co.re/atacseq/usage) and don't hesitate to get in touch on the nf-core Slack [#atacseq](https://nfcore.slack.com/channels/atacseq) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Pipeline contribution conventions

To make the nf-core/atacseq code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.
To make the `nf-core/atacseq` code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.

### Adding a new step

If you wish to contribute a new step, please use the following coding standards:

1. Define the corresponding input channel into your new process from the expected previous process channel
1. Define the corresponding input channel into your new process from the expected previous process channel.
2. Write the process block (see below).
3. Define the output channel if needed (see below).
4. Add any new parameters to `nextflow.config` with a default (see below).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
8. If applicable, add a new test in the `tests` directory.
9. Update MultiQC config `assets/multiqc_config.yml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.

### Default values

Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
Parameters should be initialised / defined with default values within the `params` scope in `nextflow.config`.

Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
Once there, use `nf-core pipelines schema build` to add to `nextflow_schema.json`.

### Default processes resource requirements

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.
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/main/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 @@ -96,7 +103,7 @@ Please use the following naming schemes, to make it easy to understand what is g

### Nextflow version bumping

If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core bump-version --nextflow . [min-nf-version]`
If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core pipelines bump-version --nextflow . [min-nf-version]`

### Images and figures

Expand All @@ -116,4 +123,3 @@ To get started:
Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ body:

- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
- [nf-core/atacseq pipeline documentation](https://nf-co.re/atacseq/usage)

- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -42,7 +41,7 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 22.10.1)_
* 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, Charliecloud, or Apptainer)_
Expand Down
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/atac
- [ ] 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/atacseq/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/atacseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Make sure your code lints (`nf-core pipelines 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
69 changes: 69 additions & 0 deletions .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "Get number of shards"
description: "Get the number of nf-test shards for the current CI job"
inputs:
max_shards:
description: "Maximum number of shards allowed"
required: true
paths:
description: "Component paths to test"
required: false
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
outputs:
shard:
description: "Array of shard numbers"
value: ${{ steps.shards.outputs.shard }}
total_shards:
description: "Total number of shards"
value: ${{ steps.shards.outputs.total_shards }}
runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
id: shards
shell: bash
run: |
# Run nf-test with dynamic parameter
nftest_output=$(nf-test test \
--profile +docker \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--dry-run \
--ci \
--changed-since HEAD^) || {
echo "nf-test command failed with exit code $?"
echo "Full output: $nftest_output"
exit 1
}
echo "nf-test dry-run output: $nftest_output"

# Default values for shard and total_shards
shard="[]"
total_shards=0

# Check if there are related tests
if echo "$nftest_output" | grep -q 'No tests to execute'; then
echo "No related tests found."
else
# Extract the number of related tests
number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
total_shards="$shards_to_run"
else
echo "Unexpected output format. Falling back to default values."
fi
fi

# Write to GitHub Actions outputs
echo "shard=$shard" >> $GITHUB_OUTPUT
echo "total_shards=$total_shards" >> $GITHUB_OUTPUT

# Debugging output
echo "Final shard array: $shard"
echo "Total number of shards: $total_shards"
Loading