No project description provided
Project description
๐งช mcmicroprep ๐
A command-line tool for preparing multiplexed imaging datasets (๐ฆ Olympus, ๐ฉธ RareCyte) for the MCMICRO Nextflow pipeline.
๐ ๏ธ Installation
-
Prerequisites
- Conda or Miniconda installed ๐
- Python 3.10+ environment ๐
- SLURM & Nextflow (
labsyspharm/mcmicro) on your$PATH
-
Create Conda env
conda create -n mcmicroprep python=3.12 conda activate mcmicroprep
-
Install package
pip install mcmicroprep
๐ Expected Dataset Structure
Your dataset root should contain one subdirectory per slide. Structures vary by vendor:
๐ฆ Olympus
Each slide directory must contain at least one *_frames/ folder (at any depth) โ-- this is the minimum required structure. Additional files or folders may be present and do not need to be removed.
Important: For stitching/registration, each image (per cycle) should have exactly one *_frames/ folder. If you have multiple ROIs, separate them into separate image folders before running the pipeline; otherwise stitching/registration will produce non-legible results.
.DATASET FOLDER
โโโ slide1/
โ โโโ image1_frames/
โ โโโ image2_frames/
โโโ slide2/
โโโ slideN/
After running for Olympus, the dataset is reorganized into:
DATASET/
โโโ raw/
โ โโโ slide1/ # non-Overview image*_frames/
โ โโโ slide2/
โ โโโ slideN/
โโโ misc_files/
โ โโโ slide1/ # everything else (+ Overview *_frames/)
โ โโโ slide2/
โ โโโ slideN/
โโโ mcmicro_template.sh # Nextflow template
โโโ base.config
โโโ markers.csv
โโโ params.yml
๐ฉธ RareCyte
Slide dirs may contain *.rcpnl at any depth: โ-- this is the minimum required structure. Additional files or folders may be present and do not need to be removed.
/path/to/dataset/
โโโ slide1/
โ โโโ img001.rcpnl
โ โโโ subA/img002.rcpnl
โ โโโ other files
โโโ slideN/
After running for RareCyte, the dataset is reorganized into:
DATASET/
โโโ raw/
โ โโโ slide1/ # all .rcpnl files (flattened)
โ โโโ slide2/
โ โโโ slideN/
โโโ misc_files/
โ โโโ slide1/ # everything else
โ โโโ slide2/
โ โโโ slideN/
โโโ mcmicro_template.sh
โโโ base.config
โโโ markers.csv
โโโ params.yml
๐ Usage
Note: Configured for the HMS O2 cluster (SLURM). Generalize by editing SLURM directives in
templates/common/.
๐ฆ Olympus
preparemcmicro \
--microscope olympus \
--image-root /path/to/dataset
๐ฉธ RareCyte
preparemcmicro \
--microscope rarecyte \
--image-root /path/to/dataset
๐ ๏ธ Next Steps for Users
- โ๏ธ Edit
markers.csvin the dataset root to include your experiment-specific cycle-to-marker mappings. - ๐ค Upload the entire processed dataset folder to the O2 cluster if you ran this locally.
- ๐ Start the job on O2:
cd /n/scratch/users/${USER:0:1}/$USER/<DATASET FOLDER> sbatch mcmicro_template.sh
Happy processing! ๐ฌ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcmicroprep-0.2.2.tar.gz.
File metadata
- Download URL: mcmicroprep-0.2.2.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.9 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10946bac5ab782dc000540d452592ae016317c1576633e9530ed479dc77a558f
|
|
| MD5 |
198380bc0eabb61aa5739b5908151bf5
|
|
| BLAKE2b-256 |
bfd7e3c225025e85a08bce46f87f9f8e9d796c592743f4ed72c95dc7a131a929
|
File details
Details for the file mcmicroprep-0.2.2-py3-none-any.whl.
File metadata
- Download URL: mcmicroprep-0.2.2-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.9 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
236225111286866f1a940ef71bb9b5199fb4e1901c8a9c340726235917c2b0c4
|
|
| MD5 |
60d6191118e740565907f05742dcbb39
|
|
| BLAKE2b-256 |
26838c9423d88ec8c3c2bd85d35f0555cce0713ebb167b1f8ffcd31efb84fd3e
|