Skip to content

Add module stainwarpy/transformsegmask#9778

Merged
tckumarasekara merged 8 commits intonf-core:masterfrom
tckumarasekara:pr-transformsegmask
Feb 13, 2026
Merged

Add module stainwarpy/transformsegmask#9778
tckumarasekara merged 8 commits intonf-core:masterfrom
tckumarasekara:pr-transformsegmask

Conversation

@tckumarasekara
Copy link
Contributor

@tckumarasekara tckumarasekara commented Jan 26, 2026

This PR adds,

  • stainwarpy/transformsegmask

stainwarpy
modules for registration of H&E tissue images with their corresponding multiplexed images and to transform the segmentation masks of one image type to be able to use with the other type.

  • As first step, stainwarpy/extractchannel extracts the alignable channel (preferably DAPI) from multiplexed image.
  • As second step, stainwarpy/register registers H&E and multiplexed images and output the registered image, transformation maps and evaluation metrics for the registration performed.
  • As third step, stainwarpy/transformsegmask transforms the segmentation mask of one image using the transformation maps created from the second module.

Note: output files are non-deterministic between runs due to metadata (ef: UUIDs) and minor floating-point differences.

PR checklist

Closes #9703

  • 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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

Copy link
Contributor

@SPPearce SPPearce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine, just a minor comment about the versions channel name.

@tckumarasekara tckumarasekara added this pull request to the merge queue Feb 13, 2026
Merged via the queue into nf-core:master with commit 600b8ba Feb 13, 2026
22 checks passed
@tckumarasekara tckumarasekara deleted the pr-transformsegmask branch February 13, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new module: stainwarpy/transformsegmask

2 participants

Comments