Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6278 commits
Select commit Hold shift + click to select a range
58b8ffe
bump version
FriederikeHanssen Dec 11, 2025
cc6179b
Merge pull request #2074 from nf-core/patch-release_371
FriederikeHanssen Dec 11, 2025
fbc806e
Apply suggestions from code review
FriederikeHanssen Dec 11, 2025
20f41d1
Merge pull request #2075 from nf-core/dev
FriederikeHanssen Dec 11, 2025
d4731e4
back to dev 3.8
FriederikeHanssen Dec 11, 2025
bbe2c91
update changelog
FriederikeHanssen Dec 11, 2025
3970346
remove files that shouldn't be published
FriederikeHanssen Dec 11, 2025
1358519
strict sntax compliance
FriederikeHanssen Dec 11, 2025
a1df55a
fix multiqc version in 3.7.1 release & typo
FriederikeHanssen Dec 12, 2025
5a773f2
fix multiqc version in 3.7.1 release & typo
FriederikeHanssen Dec 12, 2025
8a823f2
[automated] Fix code linting
nf-core-bot Dec 12, 2025
09eb030
Merge pull request #2076 from nf-core/back-to-dev
FriederikeHanssen Dec 15, 2025
26aa373
Merge remote-tracking branch 'origin/dev' into fix_publishing
FriederikeHanssen Dec 15, 2025
d49afa3
update changelog
FriederikeHanssen Dec 15, 2025
abd035e
Merge pull request #2077 from nf-core/fix_publishing
FriederikeHanssen Dec 15, 2025
b2c168d
improve tests suite (#2080)
maxulysse Dec 17, 2025
5e94d95
remove old profile tests that are not used anymore in CI
maxulysse Dec 17, 2025
c8c9079
Remove exists validation from snpeff_cache and vep_cache (#2083)
pinin4fjords Dec 17, 2025
3e73185
improve profile usage
maxulysse Dec 17, 2025
95ce942
Merge branch 'dev' into tests_cleanup_config
maxulysse Dec 17, 2025
f4d2546
reorder profiles
maxulysse Dec 17, 2025
9700723
code polish
maxulysse Dec 17, 2025
f6c1ece
restore single file
maxulysse Dec 17, 2025
1e7f89d
fix
maxulysse Dec 17, 2025
876801d
keep tag at the test level
maxulysse Dec 17, 2025
c60f9f7
restore original quotes
maxulysse Dec 17, 2025
8c8dc26
typo
maxulysse Dec 17, 2025
f4a9602
same path
maxulysse Dec 18, 2025
dfa85b0
missing .stub
maxulysse Dec 18, 2025
53958c6
remove mutect2 test config file
maxulysse Jan 8, 2026
f7512ef
migrate more tests
maxulysse Jan 8, 2026
bf1d91a
Revert "remove mutect2 test config file"
maxulysse Jan 8, 2026
5a2dff2
snapshot
maxulysse Jan 8, 2026
89f382e
simplify regex
maxulysse Jan 8, 2026
1e4e670
snapshot one more time
maxulysse Jan 8, 2026
19955a7
update CHANGELOG
maxulysse Jan 12, 2026
8945526
Add VEP Condel plugin support
FriederikeHanssen Jan 12, 2026
627b107
Update CHANGELOG for VEP Condel plugin
FriederikeHanssen Jan 12, 2026
9ca5a8f
[automated] Fix code linting
nf-core-bot Jan 12, 2026
4195d75
Update CHANGELOG with correct PR number (#2092)
FriederikeHanssen Jan 12, 2026
b7a0dfe
Add Condel plugin documentation
FriederikeHanssen Jan 12, 2026
75fd97b
Add VEP Mastermind plugin support
FriederikeHanssen Jan 12, 2026
d2218e3
Add Mastermind plugin optional parameters and fix PR numbers
FriederikeHanssen Jan 12, 2026
0968d66
Add Mastermind plugin documentation
FriederikeHanssen Jan 12, 2026
c7c7d84
Add VEP Phenotypes plugin support
FriederikeHanssen Jan 12, 2026
714935f
Update CHANGELOG.md
FriederikeHanssen Jan 12, 2026
fe22bec
Merge pull request #2092 from nf-core/vep-plugin
FriederikeHanssen Jan 13, 2026
703b337
Merge pull request #2093 from nf-core/vep-plugin-mastermind
FriederikeHanssen Jan 13, 2026
4bb243f
add default
FriederikeHanssen Jan 13, 2026
ff78acf
Fix typo in consensus calling parameter reference
FriederikeHanssen Jan 13, 2026
56be9d0
Fix consensus calling to include all variant callers
FriederikeHanssen Jan 13, 2026
8578acc
Merge pull request #2095 from nf-core/fix-consensus-vcfs-warning
FriederikeHanssen Jan 13, 2026
2b31996
Fix consensus calling to include all variant callers
FriederikeHanssen Jan 13, 2026
2fd3831
Merge pull request #2094 from nf-core/vep-plugin-phenotypes
FriederikeHanssen Jan 13, 2026
051bce5
Apply suggestions from code review
FriederikeHanssen Jan 13, 2026
fe1bfb7
Merge pull request #2084 from nf-core/tests_cleanup_config
FriederikeHanssen Jan 13, 2026
2ce9d10
add test name
FriederikeHanssen Jan 13, 2026
26ee038
fix strelka data
FriederikeHanssen Jan 14, 2026
4c9a68e
Remove accidentally committed vep_plugins.config
FriederikeHanssen Jan 14, 2026
4df79ac
simplify vcf calls
FriederikeHanssen Jan 14, 2026
86b8f0f
make tumor only combination work
FriederikeHanssen Jan 14, 2026
bfcdd84
fix meta data inconsistencies
FriederikeHanssen Jan 14, 2026
3d3ca02
fix snapshots
FriederikeHanssen Jan 15, 2026
4fe498c
try again with ifEmpty
FriederikeHanssen Jan 15, 2026
71e1975
try with concat for order and mix
FriederikeHanssen Jan 15, 2026
59891a1
status handeling
FriederikeHanssen Jan 15, 2026
1e6276d
revert change as I was being stupid
FriederikeHanssen Jan 15, 2026
d628470
Starting workflow output (#2098)
maxulysse Jan 15, 2026
3eb442d
update checksums
FriederikeHanssen Jan 16, 2026
40dc1b3
comment tests in
FriederikeHanssen Jan 16, 2026
f97761c
update snapshots
FriederikeHanssen Jan 16, 2026
ef7f606
more checksum fixes
FriederikeHanssen Jan 16, 2026
288297c
fix schema
FriederikeHanssen Jan 16, 2026
667a643
Update CHANGELOG.md
FriederikeHanssen Jan 16, 2026
47f2ebe
more checksum fixes
FriederikeHanssen Jan 16, 2026
fdbd81e
Add missing citations for tools with DOIs in meta.yml
FriederikeHanssen Jan 16, 2026
5ea2497
Update CHANGELOG for PR #2100
FriederikeHanssen Jan 16, 2026
4541e03
more checksums, plz work I'am tired
FriederikeHanssen Jan 16, 2026
46f2910
Merge pull request #2099 from nf-core/fix-json
FriederikeHanssen Jan 17, 2026
79a19ca
Merge branch 'dev' into review-citations
FriederikeHanssen Jan 17, 2026
d722077
fix: exclude unstable consensus VCF files from test assertions
FriederikeHanssen Jan 17, 2026
ab7367c
fix: add consensus VCF files to .nftignore
FriederikeHanssen Jan 17, 2026
b5fd16b
Merge branch 'dev' into fix-consensus-calling-missing-tools
FriederikeHanssen Jan 17, 2026
a998f9f
Merge pull request #2100 from nf-core/review-citations
FriederikeHanssen Jan 18, 2026
c4d93fe
fix: correct glob pattern syntax for ignoreFiles
FriederikeHanssen Jan 18, 2026
c30d2d1
Merge pull request #2096 from nf-core/fix-consensus-calling-missing-t…
FriederikeHanssen Jan 18, 2026
519574d
prep release 3.8
FriederikeHanssen Jan 18, 2026
e8e7ef5
add release name
FriederikeHanssen Jan 18, 2026
9bf0f8f
Merge branch 'master' into dev
FriederikeHanssen Jan 18, 2026
3eaf310
Merge pull request #2101 from nf-core/release_38
FriederikeHanssen Jan 18, 2026
736858f
add plugins to output docs
FriederikeHanssen Jan 19, 2026
4f17684
update changelog
FriederikeHanssen Jan 19, 2026
854515d
Merge pull request #2103 from nf-core/docs-update
FriederikeHanssen Jan 19, 2026
5e5ba7d
should ignore warning coming from singularity and conda
maxulysse Jan 19, 2026
5553fd1
CHANGELOG
maxulysse Jan 19, 2026
0b1b751
should ignore warning coming from singularity and conda (#2104)
maxulysse Jan 19, 2026
6577eb3
fix singularity exclusions
maxulysse Jan 19, 2026
ddd9ec0
Merge branch 'dev' into warning_conda_singularity
maxulysse Jan 19, 2026
38823e1
Merge pull request #2105 from nf-core/warning_conda_singularity
FriederikeHanssen Jan 19, 2026
e7701fb
fix conda
maxulysse Jan 19, 2026
8c8a0c2
CHANGELOG
maxulysse Jan 19, 2026
2daa71b
Merge pull request #2106 from nf-core/warning_conda_singularity
FriederikeHanssen Jan 19, 2026
231c641
fix phenotype include types and add pattern validation
FriederikeHanssen Jan 20, 2026
9eaa71e
change mastermind_url to be boolean flag
FriederikeHanssen Jan 20, 2026
b90eaa1
add phenotypes reference
FriederikeHanssen Jan 20, 2026
032bd1a
vep plugin enabling parameters should be booleans
FriederikeHanssen Jan 20, 2026
73328c4
update all relevant mastermind params to use boolean flags instead of…
FriederikeHanssen Jan 20, 2026
7f003d4
fix anchors
FriederikeHanssen Jan 20, 2026
561065d
ignore test2 freebayes files for checksum computation
FriederikeHanssen Jan 20, 2026
9d091c8
don't run conda tests for deepvariant
FriederikeHanssen Jan 20, 2026
439e145
fix syntax issues
FriederikeHanssen Jan 20, 2026
65b19d4
Merge pull request #2108 from nf-core/address-review
FriederikeHanssen Jan 20, 2026
12850dc
add snpsift annotateMem annotation support
FriederikeHanssen Jan 21, 2026
799cbbe
Update nextflow_schema.json
FriederikeHanssen Jan 22, 2026
2f541df
Update nextflow_schema.json
FriederikeHanssen Jan 22, 2026
680da38
fix snpsift annotation issues
FriederikeHanssen Jan 22, 2026
180fd46
update snpsift version to force wave container rebuild with htslib
FriederikeHanssen Jan 22, 2026
1125ce1
feat(consensus): use sites.txt for simplified consensus variant calling
FriederikeHanssen Jan 22, 2026
6f89fe7
use wave container with htslib and snpsift
FriederikeHanssen Jan 22, 2026
1eff1d0
docs: add changelog entry for consensus calling fix (#2109)
FriederikeHanssen Jan 22, 2026
d674802
test: trigger consensus test CI
FriederikeHanssen Jan 22, 2026
4ae94f3
remove unused files
FriederikeHanssen Jan 22, 2026
6f98d90
test: update consensus test snapshots for CONSENSUS_FROM_SITES module
FriederikeHanssen Jan 22, 2026
5a35464
test: fix snapshot for third consensus test scenario
FriederikeHanssen Jan 22, 2026
7802482
test: fix snapshot for first consensus test scenario (filter_vcfs)
FriederikeHanssen Jan 22, 2026
1e5a8d3
test: fix snapshot for second consensus test scenario (tumor-only)
FriederikeHanssen Jan 22, 2026
4c929cf
feat: annotate individual caller VCFs when consensus calling enabled
FriederikeHanssen Jan 26, 2026
80ebfd3
fix: condel_config should be file-path not directory-path
FriederikeHanssen Jan 26, 2026
99d306c
Merge branch 'dev' into fix/consensus-calling-all-variants
FriederikeHanssen Jan 26, 2026
b6473ec
docs: update consensus calling and phenotypes documentation
FriederikeHanssen Jan 26, 2026
01e2875
fix(bbsplit): handle empty reads in ext.prefix for index building
FriederikeHanssen Jan 28, 2026
f569642
Fix regex patterns for dbnsfp_tbi and spliceai parameters
FriederikeHanssen Jan 28, 2026
2172f34
Update bbsplit module to topic-based versions
FriederikeHanssen Jan 28, 2026
22f3e6d
Update bbsplit test to properly test index building fix
FriederikeHanssen Jan 28, 2026
2dfcf95
remove version
FriederikeHanssen Jan 28, 2026
08b354d
Merge pull request #2113 from nf-core/fix/2050-regex-validation
FriederikeHanssen Jan 28, 2026
02bbd99
Update bbsplit test snapshot for no prebuilt index test
FriederikeHanssen Jan 28, 2026
99ba0b5
Update bbsplit test with ignoreFiles and fix snapshot checksums
FriederikeHanssen Jan 28, 2026
e3eb8ad
Merge pull request #2109 from nf-core/fix/consensus-calling-all-variants
FriederikeHanssen Jan 28, 2026
153b655
add results_snpsift_test to gitignore
FriederikeHanssen Jan 28, 2026
842df31
refactor snpsift: simplify to CSV input and unified data model
FriederikeHanssen Jan 28, 2026
7f14c42
Remove ignored files from bbsplit snapshot
FriederikeHanssen Jan 28, 2026
5914171
add commented out test
FriederikeHanssen Jan 28, 2026
4bf13b2
move snpsift/annmem to local module and add topic channels
FriederikeHanssen Jan 29, 2026
acdd036
Merge pull request #2112 from nf-core/fix/bbsplit-fasta-extraction
EladH1 Jan 29, 2026
436b592
Merge remote-tracking branch 'origin/dev' into feature/snpsift-annmem
FriederikeHanssen Jan 29, 2026
6e50c98
fix snpsift: handle remote URLs and semicolon field delimiters
FriederikeHanssen Jan 29, 2026
711a17c
simplify snpsift: infer database building from vardb column
FriederikeHanssen Jan 29, 2026
bd16797
fix: run snpsift after functional annotation per best practices
FriederikeHanssen Jan 29, 2026
34c1622
fix: remove exists check from snpsift schema for remote URL support
FriederikeHanssen Jan 29, 2026
5b77192
refactor: unify snpsift config with prepare subworkflow
FriederikeHanssen Jan 29, 2026
7d6cd87
refactor: use tuple format for snpsift database config
FriederikeHanssen Jan 30, 2026
c35e6de
Update VEP version to 115.0-0
FriederikeHanssen Feb 1, 2026
5037547
bump container version for condel, also remove unused tabix computaiton
FriederikeHanssen Feb 2, 2026
87c9712
fix schema
FriederikeHanssen Feb 2, 2026
88f9d01
linting
FriederikeHanssen Feb 2, 2026
37d4e65
Merge pull request #2119 from nf-core/vep-version
FriederikeHanssen Feb 2, 2026
91282a3
fix(bbsplit): correct publish pattern for saving index reference
FriederikeHanssen Feb 2, 2026
fede120
fix path
FriederikeHanssen Feb 2, 2026
2546dad
fix(annotation): correct channel order for VEP and merge annotation c…
FriederikeHanssen Feb 2, 2026
a47b71d
Merge pull request #2121 from nf-core/fix/vep-channel-order
FriederikeHanssen Feb 2, 2026
f1b109f
use topic channel
FriederikeHanssen Feb 2, 2026
731f411
feat(annotation): add phenotypes_file_tbi parameter for VEP Phenotype…
FriederikeHanssen Feb 2, 2026
fffc254
update snapshots
FriederikeHanssen Feb 2, 2026
1472917
fix: update snpsift containers to multi-arch version
FriederikeHanssen Feb 2, 2026
8a3755c
use topic channel
FriederikeHanssen Feb 2, 2026
36b2fac
bump container
FriederikeHanssen Feb 2, 2026
c875e5f
test(bbsplit): add unstable checksums to ignoreFiles
FriederikeHanssen Feb 2, 2026
8356eb3
Merge pull request #2122 from nf-core/fix/multiqc-reporting
FriederikeHanssen Feb 2, 2026
ff9d0ba
update containers
FriederikeHanssen Feb 3, 2026
e50b3f4
save computed dbs
FriederikeHanssen Feb 3, 2026
133ec06
clean up docs
FriederikeHanssen Feb 3, 2026
433e529
merge dev
FriederikeHanssen Feb 3, 2026
c39851b
update snapshots
FriederikeHanssen Feb 3, 2026
9e878c9
fix snapshot
FriederikeHanssen Feb 3, 2026
882d030
Merge pull request #2120 from nf-core/ref-bbsplit-save
FriederikeHanssen Feb 3, 2026
5a3c030
fix: require fields column when vardb not provided for snpsift
FriederikeHanssen Feb 4, 2026
599d5ea
refactor: unify snpsift/annmem module for nf-core compliance
FriederikeHanssen Feb 4, 2026
ec805cf
only annotate merged ones
FriederikeHanssen Feb 4, 2026
098c366
refactor: simplify snpsift/annmem module interface
FriederikeHanssen Feb 4, 2026
e43819e
fix: snpsift annotation and snpsift-only mode
FriederikeHanssen Feb 4, 2026
d501277
refactor: simplify snpsift config
FriederikeHanssen Feb 4, 2026
d85ffa4
refactor: simplify snpsift subworkflows
FriederikeHanssen Feb 4, 2026
67a9173
chore: remove specific test results from gitignore
FriederikeHanssen Feb 4, 2026
b65a847
docs: add snpsift feature to changelog
FriederikeHanssen Feb 4, 2026
9d1f725
fix linting
FriederikeHanssen Feb 4, 2026
7e9b0f2
add snapshot
FriederikeHanssen Feb 4, 2026
b56d2bb
update tests
FriederikeHanssen Feb 5, 2026
cb25ec3
Apply suggestion from @FriederikeHanssen
FriederikeHanssen Feb 5, 2026
fe5c20a
remove remote file handeling, nextflow can do this natively
FriederikeHanssen Feb 5, 2026
216962d
changelog + docs
FriederikeHanssen Feb 5, 2026
960f1a6
fix order
FriederikeHanssen Feb 5, 2026
fd0bbca
swap for nf-core module
FriederikeHanssen Feb 5, 2026
79d1f59
fix db name
FriederikeHanssen Feb 5, 2026
d53b81d
Fix FilterMutectCalls not running when starting from BAM with lane field
FriederikeHanssen Feb 6, 2026
d4986da
Update changelog with PR number
FriederikeHanssen Feb 6, 2026
9d89ac8
Fix changelog entry ordering (ascending by PR number)
FriederikeHanssen Feb 6, 2026
9c8a541
add topics for versions
maxulysse Feb 6, 2026
aff7a55
split snpsift module into annmem + annmemcreate
FriederikeHanssen Feb 6, 2026
636f362
[automated] Fix code linting
nf-core-bot Feb 6, 2026
d336b00
update some snapshots
maxulysse Feb 6, 2026
16c898d
consensus snapshots
maxulysse Feb 6, 2026
e55fbd3
vep snapshots
maxulysse Feb 6, 2026
0601f22
fix merge VEP process selector for aliased process
FriederikeHanssen Feb 6, 2026
3e0dd27
publish tbi
FriederikeHanssen Feb 6, 2026
c5a9a70
Merge pull request #2126 from nf-core/topics
FriederikeHanssen Feb 6, 2026
4e2143d
Merge remote-tracking branch 'origin/dev' into feature/snpsift-annmem
FriederikeHanssen Feb 6, 2026
919ce8c
update snapshots
FriederikeHanssen Feb 7, 2026
f24e92f
update snapshots
FriederikeHanssen Feb 7, 2026
b310982
Merge pull request #2111 from nf-core/feature/snpsift-annmem
FriederikeHanssen Feb 7, 2026
79c8b96
Fix bcftools concat failing on Strelka somatic VCFs with non-contiguo…
FriederikeHanssen Feb 8, 2026
5d9dba6
snapshots
maxulysse Feb 9, 2026
9c17d48
Merge branch 'dev' into lane-variantcalling
maxulysse Feb 9, 2026
c5ac309
snapshot
maxulysse Feb 9, 2026
5c602ea
Merge pull request #2124 from nf-core/lane-variantcalling
FriederikeHanssen Feb 9, 2026
785ceb2
fix filename
maxulysse Feb 9, 2026
b43ef73
Merge pull request #2130 from nf-core/vep_snpsift
FriederikeHanssen Feb 10, 2026
e9f1750
Merge pull request #2102 from nf-core/dev
FriederikeHanssen Feb 10, 2026
dd90067
Bump version to 3.9.0dev
FriederikeHanssen Feb 10, 2026
dfb6822
Add dev section to CHANGELOG
FriederikeHanssen Feb 10, 2026
7e2ccbf
Merge pull request #2134 from nf-core/back-to-dev-29
FriederikeHanssen Feb 10, 2026
f5cf25d
Merge branch 'dev' into fix/strelka-concat-allow-overlaps
FriederikeHanssen Feb 11, 2026
5d61acd
fix change log
FriederikeHanssen Feb 11, 2026
749f918
prepare release
FriederikeHanssen Feb 11, 2026
076faad
Merge pull request #2128 from nf-core/fix/strelka-concat-allow-overlaps
FriederikeHanssen Feb 11, 2026
1b36f5a
Merge branch 'master' into dev
FriederikeHanssen Feb 11, 2026
4f3ece8
fix checksums
FriederikeHanssen Feb 11, 2026
a7e013a
fix checksums
FriederikeHanssen Feb 11, 2026
d00bf06
fix snapshot
FriederikeHanssen Feb 11, 2026
f8f2c7c
Back to dev (3.9.0dev)
FriederikeHanssen Feb 12, 2026
b90dec3
Update changelog with PR number
FriederikeHanssen Feb 12, 2026
213ba4f
Merge pull request #2139 from nf-core/back-to-dev-39
FriederikeHanssen Feb 12, 2026
b2e39a8
fix: sort final vcf in varlociraptor sbwfs and update varlociraptor (…
famosab Feb 12, 2026
2ad5dfd
Add CRAM_TO_BAM to parabricks (#2087)
famosab Feb 12, 2026
30b0259
versions
famosab Feb 13, 2026
74122a0
revert wrong update
famosab Feb 13, 2026
2f0c7ff
revert wrong update
famosab Feb 13, 2026
f342d7b
Fix MuSE timestamp and change to strict syntax (#2129)
famosab Feb 13, 2026
07758e4
remove reports from annotate
famosab Feb 13, 2026
83a4be1
Fix: varlociraptor collecting multiple scenario files for one sample …
famosab Feb 18, 2026
bb1aba6
Merge pull request #2141 from nf-core/update/vcf_annotate_snpeff
FriederikeHanssen Feb 20, 2026
e30dad3
Add developer guidelines and CLAUDE.md (#2144)
FriederikeHanssen Feb 27, 2026
8f04da9
Fix missing params prefix for umi_tag in MarkDuplicates config (#2152)
FriederikeHanssen Mar 6, 2026
4ce5545
Replace custom Slack notifications with nf-slack plugin (#2142)
FriederikeHanssen Mar 6, 2026
6f4be15
Fix: fail early when --no_intervals used with joint germline Haplotyp…
FriederikeHanssen Mar 6, 2026
4290797
Fix empty fastp output folder (#1437) (#2147)
FriederikeHanssen Mar 6, 2026
38515df
Fix alignment related strict syntax and lane issue (#2117)
famosab Mar 12, 2026
b068220
Fix strict syntax errors (#2159)
bentsherman Mar 31, 2026
75ea995
Recover help message (#2165)
famosab Apr 2, 2026
0bb73e0
FIX: Fix and extend stub tests (#2167)
maxulysse Apr 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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/devcontainer:latest",

"remoteUser": "root",
"privileged": true,

"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/sarek devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
27 changes: 0 additions & 27 deletions .editorconfig

This file was deleted.

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
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* @FriederikeHanssen
* @maxulysse
* @FriederikeHanssen @maxulysse
*.nf.test* @nf-core/nf-test
.github/workflows/ @nf-core/a-team
61 changes: 41 additions & 20 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nf-core/sarek: Contributing Guidelines
# `nf-core/sarek`: Contributing Guidelines

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

## Contribution workflow

If you'd like to write some code for nf-core/sarek, the standard workflow is as follows:

1. Check that there isn't already an issue about your idea in the [nf-core/sarek issues](https://github.com/nf-core/sarek/issues) to avoid duplicating work
* If there isn't one already, please create one so that others know you're working on this
1. Check that there isn't already an issue about your idea in the [nf-core/sarek issues](https://github.com/nf-core/sarek/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/sarek repository](https://github.com/nf-core/sarek) 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 @@ -34,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 @@ -49,56 +55,71 @@ 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`.
* Fix the bug, and bump version (X.Y.Z+1).
* A PR should be made on `master` from patch to directly this particular bug.
- 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).
- Open a pull-request from `patch` to `main`/`master` with the changes.

## Getting help

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

## Pipeline contribution conventions

To make the nf-core/sarek 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/sarek` 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`.
9. Update MultiQC config `assets/multiqc_config.yaml` 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.
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

Please use the following naming schemes, to make it easy to understand what is going where.

* initial process channel: `ch_output_from_<process>`
* intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`
- initial process channel: `ch_output_from_<process>`
- intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`

### 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

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/sarek/codespaces)
- Tools installed
- nf-core
- Nextflow

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@

name: Bug report
description: Report something that is broken or incorrect
labels: bug
body:

- type: markdown
attributes:
value: |
Before you post this issue, please check the documentation:

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

- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -44,9 +41,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/sarek _(eg. 1.1, 1.5, 1.8.2)_
10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ Remember that PRs should be made against the dev branch, unless you're preparing

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md)
-->
<!-- markdownlint-disable ul-indent -->

## PR checklist

- [ ] 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/sarek/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/sarek _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`).
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/sarek/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/sarek _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] 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
50 changes: 26 additions & 24 deletions .github/RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@
> This checklist is for our own reference, to help us prepare a new release

1. Check that everything is ready to go
- Desired [PRs](https://github.com/nf-core/sarek/pulls) are merged
- [GitHub Actions](https://github.com/nf-core/sarek/actions?query=workflow%3A%22nf-core+CI%22) are passing on `dev`
- [nf-core linting](https://github.com/nf-core/sarek/actions?query=workflow%3A%22nf-core+linting%22) are passing on `dev`

- Desired [PRs](https://github.com/nf-core/sarek/pulls) are merged
- [GHA CI](https://github.com/nf-core/sarek/actions/workflows/ci.yml) are passing on `dev`
- [GHA linting](https://github.com/nf-core/sarek/actions/workflows/linting.yml) are passing on `dev`

2. Increase version number following [semantic versioning](http://semver.org/spec/v2.0.0.html)
3. Choose an appropriate codename for the release (if major or minor)
- i.e. Peaks in [Sarek National Park](https://en.wikipedia.org/wiki/Sarek_National_Park#Topography)

- i.e. Peaks in [Sarek National Park](https://en.wikipedia.org/wiki/Sarek_National_Park#Topography)

4. Sync `dev` and checkout a new branch for the release
5. Bump version:
- `nf-core bump-version . <VERSION>`
- edit `.circleci/config.yml`
- edit `.github/workflows/ci.yml`
- edit `conf/base.config`
- edit `conf/test.config`
- edit `containers/snpeff/Dockerfile`
- edit `containers/snpeff/environment.yml`
- edit `containers/vep/Dockerfile`
- edit `containers/vep/environment.yml`
- edit `docs/images/sarek_workflow.svg`
- generate a new `docs/images/sarek_workflow.png`
- edit `CHANGELOG`

- `nf-core bump-version . <VERSION>`
- edit `CHANGELOG`

6. Make a PR to `master`
7. Wait for reviews
8. Merge said PR
Expand All @@ -31,15 +27,21 @@
11. RT the nf-core automated tweet about the new released version
12. Make a new branch from `dev`
13. Checkout the `CHANGELOG.md` from `master`
- `git checkout upstream/master -- CHANGELOG.md`

- `git checkout upstream/master -- CHANGELOG.md`

14. Add a new `Unreleased` section in `CHANGELOG.md` for the `dev` version
15. Checkout `docs/images/sarek_workflow.svg` and `docs/images/sarek_workflow.pnh` from `master`
- `git checkout upstream/master -- docs/images/sarek_workflow.svg`
- `git checkout upstream/master -- docs/images/sarek_workflow.png`
15. Checkout figures from `master`

- `git checkout upstream/master -- docs/images/sarek_indices_subway.svg`
- `git checkout upstream/master -- docs/images/sarek_indices_subway.png`
- `git checkout upstream/master -- docs/images/sarek_subway.svg`
- `git checkout upstream/master -- docs/images/sarek_subway.png`
- `git checkout upstream/master -- docs/images/sarek_workflow.svg`
- `git checkout upstream/master -- docs/images/sarek_workflow.png`

16. Make a PR to `dev`
17. Wait for review
18. Merge said PR
19. Download all new containers to `/sw/data/uppnex/ToolBox/nf-core` on `rackham`
20. Download newest `nf-core/sarek` to `/data1/containers` on `munin`
21. Commit and push. Continue making more awesome :metal:
22. Have fika :cake:
19. Commit and push. Continue making more awesome :metal:
20. Have fika :cake:
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