Skip to content

Update extraction pipeline to per-region as opposed to aggregate - #34

Open
alex-l-kong wants to merge 5 commits into
mainfrom
extract_per_region
Open

Update extraction pipeline to per-region as opposed to aggregate#34
alex-l-kong wants to merge 5 commits into
mainfrom
extract_per_region

Conversation

@alex-l-kong

Copy link
Copy Markdown
Contributor

What is the purpose of this PR?

An entire MALDI dataset across a whole TMA is extremely expensive to extract and analyze. To improve efficiency, we update the pipeline to run on a per-region basis.

How did you implement your changes

We use the poslog to identify which coordinate belongs to which region. This is similar to the workflow for the core cropping step. By specifying a region_num param during the extraction process, we can exclude coordinates outside the region of interest.

Remaining issues

Potential improvements

  1. Include a param in the extraction step to automatically generate all regions in a single pass, as opposed to looping the whole .imzML for each region.
  2. Include options for smaller subsets of pixels. This will be useful for tissue samples.

@alex-l-kong alex-l-kong self-assigned this Oct 9, 2025
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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

Successfully merging this pull request may close these issues.

1 participant