Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Perform tissue segmentation via SectionAligner code #1

Open
mruffalo opened this issue Apr 2, 2024 · 3 comments
Open

Perform tissue segmentation via SectionAligner code #1

mruffalo opened this issue Apr 2, 2024 · 3 comments
Assignees

Comments

@mruffalo
Copy link

mruffalo commented Apr 2, 2024

Use @rfmurphy and @tCeZ's SectionAligner code for tissue segmentation, to crop large regions of images that don't contain any tissue.

In the simple case in which only a single tissue section is profiled/included, pass 1 as the number of sections to segment. This may or may not correspond to the existence of a GeoJSON file, so "no GeoJSON file" and "single GeoJSON" file should be treated identically here.

@mruffalo
Copy link
Author

mruffalo commented Apr 5, 2024

@tCeZ pushed the SectionAligner code to https://github.com/hubmapconsortium/SectionAligner.

@mruffalo
Copy link
Author

Some modifications to the SectionAligner code are required, such as reading the channels and physical pixel size from the OME-TIFF input.

While those updates are in progress, let's mock up this step as copying the input expression file to the output directory. Everything else in the pipeline will still work for development; we'll just be wasting some CPU, I/O, and storage for large empty regions of the image.

@NickEngland
Copy link

This is now complete for the num_tissue=1 case.

We still need to add support for GeoJSON for samples with multiple separate tissues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants