Skip to content
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
5389b80
xenium bundle validator, minor changes for ci
khersameesh24 May 20, 2025
261a56e
xenium bundle validator, minor changes for ci
khersameesh24 May 20, 2025
cd984ac
time limit changes for ci
khersameesh24 May 20, 2025
4cdb980
added updated metromap for spatialxe
khersameesh24 May 21, 2025
62aa1c6
removed gunzip, changes to ci test pipeline, ci changed to stub runs
khersameesh24 May 21, 2025
e54e368
removed gunzip, changes to ci test pipeline, ci changed to stub runs
khersameesh24 May 21, 2025
9d6710d
added preview and segfree mode
khersameesh24 May 23, 2025
dc84908
stub run on ci
khersameesh24 May 23, 2025
8468855
testing segfree methods
khersameesh24 May 23, 2025
67d45c1
testing segfree methods
khersameesh24 May 23, 2025
eca34f3
stub run on ci
khersameesh24 May 23, 2025
13bc492
Merge branch 'dev' of https://github.com/khersameesh24/spatialxe into…
khersameesh24 May 23, 2025
5c97a67
updated pipeline docs
khersameesh24 May 23, 2025
5351a51
Merge branch 'nf-core:dev' into dev
khersameesh24 May 30, 2025
21135b2
Merge pull request #88 from khersameesh24/dev
heylf Jun 2, 2025
d172d0b
Changes to metromap
heylf Jun 3, 2025
ec62b2a
deleting metromap svg
heylf Jun 3, 2025
ff0aaa6
Merge pull request #90 from heylf/dev
heylf Jun 3, 2025
5fc6b58
Template update for nf-core/tools version 3.3.1
nf-core-bot Jun 3, 2025
e8168b4
changes to spatialxe.nf
heylf Jun 6, 2025
2c63a3c
changes for cellpose in module.config
heylf Jun 6, 2025
3f3aac0
changes for spatialdata write.py and spatialdatawrite main.nf
heylf Jun 6, 2025
adbea19
changes in cellpose main.nf
heylf Jun 6, 2025
4fd2c1a
changes in cellpose_resolift subworlfow main.nf
heylf Jun 6, 2025
8c86861
changes in spatialdata_write_meta_merge subworlfow main.nf
heylf Jun 6, 2025
653ee24
changes in utils_nfcore_spatialxe main.nf
heylf Jun 6, 2025
488989d
Merge pull request #92 from heylf/dev
khersameesh24 Jun 13, 2025
749aab4
changes for cell or nucleus segmentation
khersameesh24 Jun 16, 2025
791aa1c
Template update for nf-core/tools version 3.3.2
nf-core-bot Jul 8, 2025
9da39b1
run segmentation on cell, nuclei or both
khersameesh24 Jul 16, 2025
80e1842
run segmentation on cell, nuclei or both
khersameesh24 Jul 16, 2025
baa2dae
fixes for baysor runs, included transcript filtering, new preprocessi…
khersameesh24 Jul 16, 2025
8c828ef
parallel processing for baysor runs
khersameesh24 Jul 17, 2025
939d225
linting fix
khersameesh24 Jul 17, 2025
e3c3ebc
updated metromap
khersameesh24 Jul 20, 2025
0eeb8de
spatialdata and baysor fixes
khersameesh24 Jul 20, 2025
a769207
testing changes, spatialdata errors, segger changes
khersameesh24 Aug 14, 2025
6a02cc4
changed path for segger2xr
khersameesh24 Aug 14, 2025
331ce5c
integrate segger transcripts into xr bundle and run imp-seg
khersameesh24 Aug 14, 2025
b4e4926
Merge pull request #95 from khersameesh24/dev
khersameesh24 Aug 19, 2025
43a0c04
minor changes to sd handling
khersameesh24 Aug 26, 2025
afc1b4c
changes to handling spatialdata generation based on coordinate space
khersameesh24 Aug 27, 2025
0c353e7
Merge pull request #98 from khersameesh24/dev
khersameesh24 Aug 27, 2025
fff9e7d
minor changes and fixes
khersameesh24 Sep 6, 2025
9763ea3
minor linting fixes and small changes
khersameesh24 Sep 6, 2025
67dd108
more linting fixes
khersameesh24 Sep 6, 2025
fc17397
changes to segger module, move params to nextflow config, minor subwo…
khersameesh24 Sep 7, 2025
a4227b0
more linting fixes
khersameesh24 Sep 7, 2025
bd89e4b
added meta.yml files for subworkflows, other minor changes
khersameesh24 Sep 7, 2025
9007bb2
more linting fixes and added meta.yml files for subworkflows
khersameesh24 Sep 9, 2025
54263ca
resolving merge conflicts
khersameesh24 Sep 9, 2025
aa9c630
Template update for nf-core/tools version 3.3.2
khersameesh24 Sep 9, 2025
e43d5b0
Merge branch 'TEMPLATE' into nf-core-template-merge-3.3.2
khersameesh24 Sep 9, 2025
7c3c503
resolving conflicts
khersameesh24 Sep 9, 2025
87517b7
resolving conflicts
khersameesh24 Sep 9, 2025
f42c9db
fixed precommit run
khersameesh24 Sep 9, 2025
1ce65b2
fix nf-core linting errors
khersameesh24 Sep 9, 2025
8ef79b8
removed fastqc
khersameesh24 Sep 10, 2025
1355f46
Merge pull request #93 from nf-core/nf-core-template-merge-3.3.2
khersameesh24 Sep 10, 2025
17905be
Merge branch 'dev' into dev
khersameesh24 Sep 10, 2025
b71eee5
fix for ro-crate
khersameesh24 Sep 10, 2025
8fa00e3
Merge pull request #99 from khersameesh24/dev
khersameesh24 Sep 10, 2025
31a359c
added new module and subworkflow for opt
khersameesh24 Sep 15, 2025
528dc4d
removed ci.yml
khersameesh24 Sep 15, 2025
fc5a97c
Merge pull request #101 from khersameesh24/ci-fix
khersameesh24 Sep 15, 2025
d3ec027
towards multisample support
khersameesh24 Sep 20, 2025
794e692
towards multisample support
khersameesh24 Sep 20, 2025
7b663a1
changes towards multisample support
khersameesh24 Sep 22, 2025
3f0f233
more changes for multi-sample support
khersameesh24 Sep 22, 2025
0c855ca
more fixes for multisample support
khersameesh24 Sep 22, 2025
700844d
removed indexing
khersameesh24 Sep 23, 2025
85331d4
handled output path prefix
khersameesh24 Sep 23, 2025
e08e2d4
reverting changes
khersameesh24 Sep 23, 2025
40b1c0d
sample buffering and other minor changes
khersameesh24 Sep 23, 2025
b44b561
sample buffering and other channel fixes for baysor
khersameesh24 Sep 24, 2025
3c6c1b3
linting fix
khersameesh24 Sep 24, 2025
f6165eb
minor changes for filepath prefix
khersameesh24 Sep 24, 2025
0cb2f69
Merge pull request #102 from khersameesh24/dev
khersameesh24 Sep 30, 2025
169a11f
testing changes and code formatting
khersameesh24 Oct 10, 2025
b05ab94
pre-commit fix
khersameesh24 Oct 10, 2025
89b52e8
tif resizing based on transcript coordinates
khersameesh24 Oct 14, 2025
01e1666
Template update for nf-core/tools version 3.4.1
nf-core-bot Oct 16, 2025
da776df
Merge pull request #103 from khersameesh24/dev
khersameesh24 Oct 20, 2025
3a1321a
Merge branch 'dev' into nf-core-template-merge-3.4.1
khersameesh24 Oct 20, 2025
679d314
fix linting errors
khersameesh24 Oct 20, 2025
7de7e8c
template update, linting, formatting, changes to image default mode
khersameesh24 Oct 20, 2025
3dc0899
pre-commit fix
khersameesh24 Oct 20, 2025
a44e8cf
linting fix
khersameesh24 Oct 20, 2025
873bc4b
linting fix
khersameesh24 Oct 20, 2025
d6e59e5
fixed nf-test for proseg
khersameesh24 Oct 21, 2025
3cae974
fixed nf-test for resolift
khersameesh24 Oct 21, 2025
d853d58
removed nf-test for ficture
khersameesh24 Oct 21, 2025
cde3b8b
snapshot fix for proseg
khersameesh24 Oct 21, 2025
5650b3e
fix for snapshot
khersameesh24 Oct 21, 2025
9e852a7
fix for ci test fails
khersameesh24 Oct 21, 2025
00464c5
added more nf-tests for local modules
khersameesh24 Oct 21, 2025
ebb9a80
fix for ci mode snapshot
khersameesh24 Oct 21, 2025
bb4a104
minor additions to subworkflows
khersameesh24 Oct 22, 2025
bc2cc6d
Merge pull request #105 from nf-core/nf-core-template-merge-3.4.1
khersameesh24 Oct 22, 2025
99401e7
Pending changes exported from your codespace
khersameesh24 Oct 23, 2025
547d9f1
added support for baysor preview html in multiqc report
khersameesh24 Oct 25, 2025
86b47fa
Merge pull request #10 from khersameesh24/codespace-scaling-giggle-4v…
khersameesh24 Oct 25, 2025
8680a3d
changes to output dir structure
khersameesh24 Oct 26, 2025
98101ca
pre-commit fix
khersameesh24 Oct 27, 2025
10cf8e4
module patch for multiqc - changed docker image
khersameesh24 Oct 27, 2025
cb19c53
module patch for multiqc - changed docker image
khersameesh24 Oct 27, 2025
0992eca
qc mode and changes to nf-test.yml for larger disk space
khersameesh24 Oct 27, 2025
882ed21
updated snapshot for pipeline modes tests
khersameesh24 Oct 27, 2025
b14b9d0
updated nf-test snapshots and configs
khersameesh24 Oct 28, 2025
7104e76
config, output path changes, updated snap files
khersameesh24 Oct 29, 2025
df5c503
minor changes to config
khersameesh24 Oct 29, 2025
15a0b24
Merge pull request #108 from khersameesh24/dev
khersameesh24 Oct 29, 2025
ac932eb
baysor preview multiqc integration
khersameesh24 Oct 30, 2025
6b53176
lint fix
khersameesh24 Oct 30, 2025
f0647ca
snapshot fix for preview mode test case
khersameesh24 Oct 30, 2025
b5d673f
Merge pull request #111 from khersameesh24/dev
khersameesh24 Nov 2, 2025
abf26a4
Fix multiqc_title param missing --title flag
mcmero Jan 19, 2026
a091bfc
Merge pull request #114 from WEHI-SODA-Hub/dev
khersameesh24 Jan 25, 2026
4602b80
Update README.md
heylf Mar 11, 2026
74588c5
feat: xenium patch tiling, cellpose/stardist updates, and processing …
an-altosian Mar 10, 2026
64a6468
Merge pull request #123 from an-altosian/pr/xenium-processing-updates
heylf Mar 13, 2026
dc5adb5
Update README.md
heylf Mar 13, 2026
acaa933
fix: restore missing modules, update cellpose meta.yml, and refresh s…
an-altosian Mar 20, 2026
043b890
style: format README.md table with prettier
an-altosian Mar 20, 2026
7a7c107
fix: use nf-core patch format for cellpose.diff (no a/ b/ prefix)
an-altosian Mar 20, 2026
efb10af
fix: revert cellpose meta.yml to simple versions format, complete diff
an-altosian Mar 20, 2026
9c6e9ba
fix: revert cellpose meta.yml to upstream, regenerate patch with nf-c…
an-altosian Mar 21, 2026
9b62737
fix: bump nf-core tools to 3.5.2, fix modules.json formatting
an-altosian Mar 21, 2026
5f8b492
fix: regenerate unzip and xeniumranger import-segmentation diffs with…
an-altosian Mar 21, 2026
c3ddbfd
refactor: migrate all local modules from versions.yml to topic-based …
an-altosian Mar 21, 2026
0f2599c
refactor: convert template-based Python modules to resources/usr/bin …
an-altosian Mar 21, 2026
0f783c7
fix: cellpose patches, ficture optional features, bug fixes, and cleanup
an-altosian Mar 22, 2026
52c10fb
fix: bump nf_core_version to 3.5.2 for cellpose module compatibility
an-altosian Mar 22, 2026
c7989c7
fix: update resolift snapshot for topic-based version channel output
an-altosian Mar 22, 2026
019edda
refactor: generic resource labels, rename transcript channels
an-altosian Mar 22, 2026
db00669
fix: baysor version string and get_coordinates stub output
an-altosian Mar 22, 2026
a54e1b2
fix: update baysor snapshots for version 0.7.1 and fix preprocess tes…
an-altosian Mar 22, 2026
4974467
fix: update cellpose to latest nf-core/modules (0780b96), minimal diff
an-altosian Mar 22, 2026
51b6bb4
fix: regenerate unzip and xeniumranger-import-segmentation diffs in n…
an-altosian Mar 22, 2026
a84488d
feat: update nf-core modules (stardist, opt/flip, opt/stat, opt/track)
an-altosian Mar 22, 2026
ff86649
fix: update linting.yml to match nf-core template
an-altosian Mar 22, 2026
fa92eab
feat: update multiqc module to latest nf-core/modules (cb9f4bec)
an-altosian Mar 22, 2026
fb0cb32
Merge pull request #133 from an-altosian/feature/xenium-processing-up…
heylf Mar 24, 2026
f2ae7ff
fix: correct release-announcements.yml to match nf-core template
an-altosian Mar 24, 2026
1864f59
ci: trigger workflow validation on dev
an-altosian Mar 24, 2026
8fa8dd3
fix: correct release-announcements.yml to match nf-core template
an-altosian Mar 24, 2026
e0d45dd
Merge pull request #134 from an-altosian/fix/release-announcements
heylf Mar 26, 2026
946e77a
just changes to README.md
heylf Apr 27, 2026
147ec3a
update to subway map and adding svg
heylf Apr 27, 2026
c04f0d0
changes to README.md
heylf Apr 27, 2026
f4c1a3c
changs to README.md
heylf Apr 27, 2026
3249536
changs to README.md
heylf Apr 27, 2026
fd68a31
changes to README.md
heylf Apr 27, 2026
be2c46f
prettier for README.md
heylf Apr 27, 2026
83ef098
remove white space for svg
heylf Apr 27, 2026
4015f08
adding backgound to metromap, changes to png and svg
heylf Apr 27, 2026
489a34f
changed to metromap
heylf Apr 27, 2026
a634c66
update metro map and add logo svg and png
heylf Apr 27, 2026
5015185
update to logo and metromap to png and svg
heylf Apr 28, 2026
656f62c
update to logo and metromap to png and svg
heylf Apr 28, 2026
abe29ec
update to logo and metromap to png and svg
heylf Apr 28, 2026
bfde436
Merge pull request #135 from heylf/dev
heylf Apr 28, 2026
c2c500b
preparing for release, bumping version to 1.0.0
heylf Apr 28, 2026
3330752
missing version bump in CHANGELOG and snapshots
heylf Apr 28, 2026
82341d5
adding kübra to readme
heylf Apr 28, 2026
0c4a78c
adding kübra to readme
heylf Apr 28, 2026
b3d0cce
Merge pull request #136 from heylf/dev
heylf Apr 28, 2026
4ac51f9
linting test fixed
heylf Apr 28, 2026
85dbfe6
Merge pull request #137 from heylf/dev
heylf Apr 28, 2026
504191b
label was missing in metromap
heylf Apr 28, 2026
b33f30d
Merge pull request #138 from heylf/dev
heylf Apr 28, 2026
b155ff7
disabled conda profile for nf-test
khersameesh24 Apr 28, 2026
8b52223
Merge pull request #140 from nf-core/disable-nf-test-conda-profile
heylf Apr 29, 2026
e33ada2
very small change to nextflow.config
heylf Apr 29, 2026
742e65d
very minor change to metro map
heylf Apr 29, 2026
22e0869
pattern fix for baysor segree in meta.yml
heylf Apr 29, 2026
d595091
changes to docuemntation
heylf Apr 29, 2026
5669215
changes to rocreate.json
heylf Apr 29, 2026
6332217
prettier to README and output.md
heylf Apr 29, 2026
723abbe
changes to rocreate.json
heylf Apr 29, 2026
f15b395
changes to nextflow.config
heylf Apr 29, 2026
a8d3ab9
cahnges to nextflow.config
heylf Apr 29, 2026
a8c8803
changes to base.config
heylf Apr 29, 2026
3886c1f
change to base.config
heylf Apr 29, 2026
a3ec22b
more changes
heylf Apr 29, 2026
88553fd
changes to moduel.json
heylf Apr 29, 2026
ddc9b31
changes to base.config
heylf Apr 29, 2026
1f24878
Merge pull request #141 from heylf/dev
heylf Apr 29, 2026
ac06690
Merge upstream/dev into dev: sync fork with nf-core/spatialxe
an-altosian Apr 29, 2026
7e2b623
feat: add meta.yml for local modules + extract RECONSTRUCT_PATCHES
an-altosian Apr 29, 2026
ee06223
fix: dual-form containers + pandas 3 compatibility for utility modules
an-altosian Apr 29, 2026
60b923f
test: regenerate pipeline snapshots for new container versions
an-altosian Apr 29, 2026
4ec6fbf
Merge pull request #143 from an-altosian/feature/local-module-meta-ym…
heylf Apr 30, 2026
fb3be50
Merge pull request #144 from an-altosian/feature/dual-form-containers…
heylf Apr 30, 2026
50be4cb
Channel to channel in many scripts
heylf Apr 30, 2026
ae3199a
Merge branch 'nf-core:dev' into dev
heylf Apr 30, 2026
eb969f9
Remove old TODOs
heylf Apr 30, 2026
4481b9b
comment out resource limits in base.config
heylf Apr 30, 2026
ff6d5a1
comment out container specific option from base.config
heylf Apr 30, 2026
eead752
changes to .nf-core.yml
heylf Apr 30, 2026
89d2618
renomae test profile names in coordinate, image, preview and segfree_…
heylf Apr 30, 2026
0be75ad
rewriting some stuff for ficutre model and preprocess in main.nf
heylf Apr 30, 2026
d4e0d0f
remove obsolete file tags.yml for resolift
heylf Apr 30, 2026
afa5425
remove conda conatiner from utility convert_mask and extract_dapi
heylf Apr 30, 2026
53ddd17
remove spatialconvertor name
heylf Apr 30, 2026
dee8a75
remove unused channel
heylf Apr 30, 2026
051df06
remove useless version channels
heylf Apr 30, 2026
78fc970
remove second instance of outdir in nextflow.config
heylf Apr 30, 2026
b83598d
forgotten stub naming
heylf Apr 30, 2026
2f2373f
forgotten stub naming
heylf Apr 30, 2026
638ee81
remove TODOs
heylf Apr 30, 2026
b477360
white space issue fix
heylf Apr 30, 2026
9d14a58
change to rocarate
heylf Apr 30, 2026
df17f20
ups changed too much
heylf Apr 30, 2026
ba3e190
changes to snaps
heylf Apr 30, 2026
1abfa54
snapshot update for preview
heylf Apr 30, 2026
239d909
Merge pull request #147 from heylf/dev
heylf Apr 30, 2026
7eedabd
docs(base.config): explain errorStrategy exit codes
an-altosian Apr 30, 2026
1585a9d
style(modules.config): replace findAll().join(' ') with join(' ').tri…
an-altosian Apr 30, 2026
74aa917
chore: remove orphan modules/local/utility/Dockerfile
an-altosian Apr 30, 2026
d59fac3
feat(schema): add format validators (directory-path, file-path) to sc…
an-altosian Apr 30, 2026
cf0d42d
fix(xenium_patch/stitch): thread baysor_tiling_min_transcripts_per_ce…
an-altosian Apr 30, 2026
1db7443
refactor(segger): extract create_dataset orchestration to module binary
an-altosian Apr 30, 2026
381c9e3
refactor(segger): extract predict orchestration to module binary
an-altosian Apr 30, 2026
7df0c49
refactor(workflows/spatialxe): extract 23 params.* references to take…
an-altosian Apr 30, 2026
ac58e09
revert(schema): drop format validators on bundle/image — incompatible…
an-altosian Apr 30, 2026
14f4c6e
refactor(utility/convert_mask_uint32): extract dtype conversion to mo…
an-altosian Apr 30, 2026
9783371
refactor(utility/extract_dapi): extract DAPI channel slicing to modul…
an-altosian Apr 30, 2026
6acfc3c
revert(schema): drop format validators on bundle/image — incompatible…
an-altosian Apr 30, 2026
1dbc5b5
refactor(utility/downscale_morphology): extract image downscaling to …
an-altosian Apr 30, 2026
f69ea18
refactor(utility/upscale_mask): extract mask upscaling to module binary
an-altosian Apr 30, 2026
c8ce785
refactor(xenium_patch/stitch): extract postprocess cleanup to module …
an-altosian Apr 30, 2026
22b8b37
revert(schema): drop format validators on bundle/image — incompatible…
an-altosian Apr 30, 2026
df013fb
refactor(subworkflows): extract params.* references to take: inputs a…
an-altosian Apr 30, 2026
966e3f4
chore(segger): drop versions.yml heredocs from create_dataset and pre…
an-altosian Apr 30, 2026
439a0a9
chore(segger): drop versions.yml heredocs from create_dataset and pre…
an-altosian Apr 30, 2026
2fcbf76
chore(segger): drop versions.yml heredocs from create_dataset and pre…
an-altosian Apr 30, 2026
0224be0
chore(segger): drop versions.yml heredocs from create_dataset and pre…
an-altosian Apr 30, 2026
0711e5c
Merge pull request #148 from an-altosian/dev
heylf May 4, 2026
d7f1104
Merge pull request #150 from an-altosian/feature/spatialxe-params-tak…
heylf May 4, 2026
a81b821
Merge pull request #151 from an-altosian/feature/inline-python-sweep
heylf May 4, 2026
106bc88
Merge pull request #152 from an-altosian/feature/subworkflow-params-t…
heylf May 4, 2026
8cd4627
bugfixes from previous PRs
heylf May 4, 2026
27efcb1
Merge pull request #153 from heylf/dev
heylf May 4, 2026
ea46ad0
refactor(modules): convert all 19 module-level bin scripts to Nextflo…
an-altosian May 5, 2026
dbd7a35
fix(modules): switch from `template` directive to shell-call invocation
an-altosian May 5, 2026
4edccc3
refactor(modules): move per-module Python scripts to pipeline-level bin/
an-altosian May 7, 2026
5c9acff
Merge pull request #154 from an-altosian/feature/module-bin-to-templates
heylf May 7, 2026
d1945f2
removed redundant files under modules/name/resource/usr/bin
khersameesh24 May 8, 2026
2cfe253
Merge pull request #155 from nf-core/include-pipeline-bin
heylf May 8, 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
  •  
  •  
  •  
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/spatialxe devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
24 changes: 0 additions & 24 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/spatialxe: Contributing Guidelines
# `nf-core/spatialxe`: Contributing Guidelines

Hi there!
Many thanks for taking an interest in improving nf-core/spatialxe.
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/spatialxe then the best place to ask is on the nf-core Slack [#spatialxe](https://nfcore.slack.com/channels/spatialxe) 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/spatialxe, the standard workflow is
1. Check that there isn't already an issue about your idea in the [nf-core/spatialxe issues](https://github.com/nf-core/spatialxe/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/spatialxe repository](https://github.com/nf-core/spatialxe) 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/spatialxe documentation](https://nf-co.re/spatialxe/usage) and don't hesitate to get in touch on the nf-core Slack [#spatialxe](https://nfcore.slack.com/channels/spatialxe) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Pipeline contribution conventions

To make the nf-core/spatialxe 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/spatialxe` 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)
5 changes: 2 additions & 3 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/spatialxe pipeline documentation](https://nf-co.re/spatialxe/usage)
- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -42,9 +41,9 @@ 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 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/spatialxe _(eg. 1.1, 1.5, 1.8.2)_
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature request
description: Suggest an idea for the nf-core/spatialxe pipeline. Please write in the title as the first word *module* (suggestin a new module for spatialxe) or *implement* for general feature request.
description: Suggest an idea for the nf-core/spatialxe pipeline
labels: enhancement
body:
- type: textarea
Expand Down
8 changes: 5 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ These are the most common things requested on pull requests (PRs).

Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release.

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/spatialxe/tree/master/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/spatialxe/tree/main/.github/CONTRIBUTING.md)
-->

## 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/spatialxe/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/spatialxe _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/spatialxe/tree/main/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/spatialxe _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
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
Loading