# multiplex-imaging-pipeline
A pipeline for multiplex imaging analysis.
**Under active development**
**generate-region-features** and **generate-spatial-features** may not work as intended at the moment.
## Installation
Works with Python>=3.8
Basic installation (will run all modes except `segment-ome`).
```bash
pip install multiplex-imaging-pipeline
```
To preform segmentation, [deepcell](https://github.com/vanvalenlab/deepcell-tf) dependencies need to be installed via the command below. If you need to run segmentation we **highly** suggest installing into a fresh virtual environment that has gcc installed as shown below. Also note that you may need to create and use an access token by following instructions at https://users.deepcell.org
```bash
conda create -n multiplex-imaging-pipeline -c conda-forge python=3.9 gcc -y # install python and gcc
conda activate multiplex-imaging-pipeline # activate conda environment
pip install multiplex-imaging-pipeline[segmentation] # install multiplex imaging pipeline with segmentation dependencies
```
Installing deepcell tends to throw errors on a lot of machines, if this is the case for you we provide a [docker](https://github.com/estorrs/multiplex-imaging-pipeline/tree/main#docker) image that can run all `multiplex-imaging-pipeline` functionality. See the docker section at the bottom of the page for details.
## Usage
### ome.tiff generation
ome.tiff files can be created with the `make-ome` command.
```bash
mip make-ome --input-tif INPUT_TIF --platform PLATFORM --bbox BBOX --output-filepath OUTPUT_FILEPATH
```
See --input-tif and --platform for details on what types of input formats are expected.
#### Arguments
+ --input-tif
+ Input tif or directory of tifs to be converted into HTAN compatible ome.tiff format. If --platform is "phenocycler", then a file with a .qptiff extension output by the phenocycler platform is expected. If --platform is "codex", then a multichannel imagej .tif output by the first-generation codex machine is expected. If --platform is "raw" then a directory of tifs is expected, where the images will be combined into a multichannel .ome.tiff and the channel names will be named based on the files (for example if one of the files is named protein1.tif, then that channel in the ome.tiff will be named protein1).
+ --platform
+ Can be one of ["phenocycler", "codex", "raw"]. For Akoya images, use "phenocycler" for their new platform (.qptiff file extension), and use "codex" for the first-generation machine (multichannel imagej .tif file). To convert a directory of single channel .tif files into a multichannel ome.tiff, use "raw". See --input-tif for more details. Default is "phenocycler".
+ --bbox
+ Crops image to given pixel coordinates. Useful for phenocycler images that image multiple pieces of tissue on the same slide. --bbox is specified as a string and is in the format "TOP,BOTTOM,LEFT,RIGHT".
+ --output-filepath
+ Where to write output .ome.tiff. Default is output.ome.tiff.
#### Examples
###### Making an ome.tiff from a phenocycler .qptiff file
```bash
mip make-ome --input-tif /path/to/file.qptiff --platform phenocycler --output-filepath output.ome.tiff
```
###### Making an ome.tiff from a phenocycler .qptiff file where the output image is cropped to the given pixel coordinates ("TOP,BOTTOM,LEFT,RIGHT").
```bash
mip make-ome --input-tif /path/to/file.qptiff --platform phenocycler --output-filepath output.ome.tiff --bbox "0,10000,2000,12000"
```
###### Making an ome.tiff from a codex multichannel imagej .tif file
```bash
mip make-ome --input-tif /path/to/file.tif --platform codex --output-filepath output.ome.tiff
```
###### Making an ome.tiff from a directory of .tif files
```bash
mip make-ome --input-tif /path/to/dir/of/tifs/ --platform raw --output-filepath output.ome.tiff
```
### segmentation of ome.tiff file
```bash
mip segment-ome --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --split-size SPLIT_SIZE --nuclei-channels NUCLEI_CHANNELS --membrane-channels MEMBRANE_CHANNELS
```
#### Arguments
+ --input-tif
+ Path to ome.tiff to be segmented.
+ --output-prefix
+ Output prefix where labeled cell and nuclei segmentation files will be written. --output-prefix can include directory paths. Default is "output". Two files will be written by segment-ome: 1) {OUTPUT_PREFIX}_labeled_cells.tif and 2) {OUTPUT_PREFIX}_labeled_nuclei.tif. In the labeled .tif files, pixels belong to a cell will have that cells integer ID, background pixels have a value of zero.
+ --split-size
+ If image is larger than --split-size, image will be split into tiles for segmentation and then recombined afterwards. Default is 25000. If you run into memory issues, consider decreasing this value.
+ --nuclei-channels
+ Which channels in --input-tif to use for nuclei segmentation. If multiple channels are provided, then those channels are merged into a single image that is used for segmentation. Channels are provided as a string in the following format: "channel1,channel2,.....,channelz". Default is "DAPI". Note: if channel is not in image, than it is attempted to be converted to a more standard name using the CHANNEL_MAPPING [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/utils.py#L19).
+ --membrane-channels
+ Which channels in --input-tif to use for membrane segmentation. If multiple channels are provided, then those channels are merged into a single image that is used for segmentation. Channels are provided as a string in the following format: "channel1,channel2,.....,channelz". Default is "Pan-Cytokeratin,E-cadherin,CD45,CD8,CD3e,Vimentin,SMA,CD31,C20". Note: if channel is not in image, than it is attempted to be converted to a more standard name using the CHANNEL_MAPPING [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/utils.py#L19).
#### Examples
###### Segmentation of ome.tiff using default parameters
```bash
mip segment-ome --input-tif /path/to/file.ome.tiff --output-prefix output
```
###### Segmentation of ome.tiff using custom nuclei and membrane markers
```bash
mip segment-ome --input-tif /path/to/file.ome.tiff --output-prefix output --nuclei-channels "DAPI" --membrane-channels "Pan-Cytokeratin,E-cadherin,Vimentin".
```
### generation of spatial features
```bash
mip generate-spatial-features --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --labeled-image LABELED_IMAGE --gating-strategy GATING_STRATEGY --thresholds THRESHOLDS
```
#### Arguments
+ --input-tif
+ Path to ome.tiff to be quantified. Should match --labeled-image segmentation result.
+ --output-prefix
+ Output prefix where feature tables and cell type image will be written. --output-prefix can include directory paths. Default is "output". Three files will be written: 1) {OUTPUT_PREFIX}_spatial_features.h5ad and 2) {OUTPUT_PREFIX}_spatial_features.txt, and 3) {OUPUT_PREFIX}_annotated_cell_types.png. spatial_features.* files contain feature tables describing cell morphology, marker intensities (raw and normalized), positive pixel fractions (if --thresholds is specified), and cell type (based on --gating-strategy). annotated_cell_types.png is an image of cell boundaries colored by cell type annotation.
+ --labeled-image
+ Labeled .tif file containing cell segmentation information used when generating spatial features. In the labeled .tif files, pixels belong to a cell will have that cells integer ID, background pixels have a value of zero.
+ --gating-strategy
+ A .yaml file specifying the gating strategy to use when identifying cell types. By default, the gating strategy [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/spatial_features.py#L15) will be used.
+ --thresholds
+ If provided, the given manually defined thresholds will be used to calculate "positive pixel fraction" for specified markers, which is the % of positive pixels for that marker in a given cell. Useful when cell typing and wanting to be certain about eliminating batch effects. By default thresholds are automatically calculated. --thresholds is a tab-seperated .txt file where the first column is a channel name, and the second is the value to use as a threshold (i.e. pixels with an intensity above this threshold will be considered positive). No header should be included in the file.
#### Examples
###### Spatial feature generation using default parameters
```bash
mip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output
```
###### Spatial feature generation using custom gating strategy
```bash
mip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output --gating-strategy /path/to/file.yaml
```
###### Spatial feature generation using thresholds file
```bash
mip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output --thresholds /path/to/file.txt
```
### generation of region features
**NOTE: generate-region-features is still in active development and is still slightly buggy in some edge cases**
```bash
mip generate-region-features --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --spatial-features SPATIAL_FEATURES --mask-tif MASK_TIF --mask-markers MASK_MARKERS
```
#### Arguments
+ --input-tif
+ Path to ome.tiff to be segmented.
+ --output-prefix
+ Output prefix where feature tables and cell type image will be written. --output-prefix can include directory paths. Default is "output". Two types of files will be written: 1) `{OUTPUT_PREFIX}_region_features.txt` and 2) `{OUTPUT_PREFIX}_{NAME}_mask.tif`. `region_features.txt` is a tab-seperated file containing feature describing each region in the image. There are three main features: `{NAME}_cell_type_fraction_*` (fraction of each cell type in region type with given NAME), `{NAME}_marker_intensity_*` (raw intensity in region type with given NAME), `{NAME}_marker_intensity_scaled_*` (intensity scaled by std in region type with given NAME), `{NAME}_marker_fraction_*` (positive pixel fraction in region type with given NAME, thresholds are whatever was used in generate-spatial-features). `*.tif` files are labeled images delineating each region type.
+ --spatial-features
+ `.h5ad` object output by generate-spatial-features
+ --mask-tif
+ Boolean tif defining regions to use. If none is provided, channels in --mask-markers will be used to auto-generate masks.
+ --mask-markers
+ when --mask-tif is not provided, will be used to auto-generate masks. Defaults to 'Pan-Cytokeratin,E-cadherin'.
#### Examples
###### Region feature generation using default parameters
```bash
mip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output
```
###### Region feature generation using user provided mask
```bash
mip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output --mask-tif /path/to/mask.tif
```
###### Region feature generation using mask generated from custom markers
```bash
mip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output --mask-markers "CD4,CD45,CD8"
```
## Docker
```bash
docker pull estorrs/multiplex-imaging-pipeline
```
**NOTE** that you'll need to map input and output data folders with the -v flag when running the docker container.
###### Example of ome.tiff generation with docker.
```bash
docker run -v /path/to/input/dir:/inputs -v /path/to/output/dir:/outputs -t estorrs/multiplex-imaging-pipeline mip make-ome --input-tif /inputs/file.qptiff --platform phenocycler --output-filepath /outputs/output.ome.tiff
```
**NOTE** that while running segmentation you will need to pass the `DEEPCELL_ACCESS_TOKEN` to the docker container using the -e flag because this is required by Deepcell. `DEEPCELL_ACCESS_TOKEN` can be created at deepcells website https://users.deepcell.org/.
###### Example of ome.tiff cell segmentation with docker.
```bash
docker run -v /path/to/input/dir:/inputs -v /path/to/output/dir:/outputs -e DEEPCELL_ACCESS_TOKEN="YOUR_ACCESS_TOKEN_HERE" -t estorrs/multiplex-imaging-pipeline mip segment-ome --input-tif /inputs/file.ome.tiff --output-prefix output
```
Raw data
{
"_id": null,
"home_page": "https://github.com/estorrs/multiplex-imaging-analysis",
"name": "multiplex-imaging-pipeline",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "multiplex imaging codex neighborhood analysis image segmentation visualization mibi codex phenocycler mihc hyperion",
"author": "Erik Storrs",
"author_email": "estorrs@wustl.edu",
"download_url": "https://files.pythonhosted.org/packages/a7/1a/f077467cc31f4bdf3e8bec63a695b6496abd6ad1f0577690da23981ef1b5/multiplex-imaging-pipeline-0.2.1.tar.gz",
"platform": null,
"description": "# multiplex-imaging-pipeline\n\nA pipeline for multiplex imaging analysis.\n\n**Under active development**\n\n**generate-region-features** and **generate-spatial-features** may not work as intended at the moment.\n\n\n## Installation\n\nWorks with Python>=3.8\n\nBasic installation (will run all modes except `segment-ome`).\n\n```bash\npip install multiplex-imaging-pipeline\n```\n\nTo preform segmentation, [deepcell](https://github.com/vanvalenlab/deepcell-tf) dependencies need to be installed via the command below. If you need to run segmentation we **highly** suggest installing into a fresh virtual environment that has gcc installed as shown below. Also note that you may need to create and use an access token by following instructions at https://users.deepcell.org\n\n```bash\nconda create -n multiplex-imaging-pipeline -c conda-forge python=3.9 gcc -y # install python and gcc\nconda activate multiplex-imaging-pipeline # activate conda environment\npip install multiplex-imaging-pipeline[segmentation] # install multiplex imaging pipeline with segmentation dependencies\n```\n\nInstalling deepcell tends to throw errors on a lot of machines, if this is the case for you we provide a [docker](https://github.com/estorrs/multiplex-imaging-pipeline/tree/main#docker) image that can run all `multiplex-imaging-pipeline` functionality. See the docker section at the bottom of the page for details.\n\n\n## Usage\n\n### ome.tiff generation\n\nome.tiff files can be created with the `make-ome` command.\n\n```bash\nmip make-ome --input-tif INPUT_TIF --platform PLATFORM --bbox BBOX --output-filepath OUTPUT_FILEPATH\n```\n\nSee --input-tif and --platform for details on what types of input formats are expected.\n\n#### Arguments\n+ --input-tif\n + Input tif or directory of tifs to be converted into HTAN compatible ome.tiff format. If --platform is \"phenocycler\", then a file with a .qptiff extension output by the phenocycler platform is expected. If --platform is \"codex\", then a multichannel imagej .tif output by the first-generation codex machine is expected. If --platform is \"raw\" then a directory of tifs is expected, where the images will be combined into a multichannel .ome.tiff and the channel names will be named based on the files (for example if one of the files is named protein1.tif, then that channel in the ome.tiff will be named protein1).\n\n+ --platform\n + Can be one of [\"phenocycler\", \"codex\", \"raw\"]. For Akoya images, use \"phenocycler\" for their new platform (.qptiff file extension), and use \"codex\" for the first-generation machine (multichannel imagej .tif file). To convert a directory of single channel .tif files into a multichannel ome.tiff, use \"raw\". See --input-tif for more details. Default is \"phenocycler\".\n\n+ --bbox\n + Crops image to given pixel coordinates. Useful for phenocycler images that image multiple pieces of tissue on the same slide. --bbox is specified as a string and is in the format \"TOP,BOTTOM,LEFT,RIGHT\".\n\n+ --output-filepath\n + Where to write output .ome.tiff. Default is output.ome.tiff.\n \n#### Examples\n\n###### Making an ome.tiff from a phenocycler .qptiff file\n\n```bash\nmip make-ome --input-tif /path/to/file.qptiff --platform phenocycler --output-filepath output.ome.tiff\n```\n\n###### Making an ome.tiff from a phenocycler .qptiff file where the output image is cropped to the given pixel coordinates (\"TOP,BOTTOM,LEFT,RIGHT\").\n\n```bash\nmip make-ome --input-tif /path/to/file.qptiff --platform phenocycler --output-filepath output.ome.tiff --bbox \"0,10000,2000,12000\" \n```\n\n###### Making an ome.tiff from a codex multichannel imagej .tif file\n\n```bash\nmip make-ome --input-tif /path/to/file.tif --platform codex --output-filepath output.ome.tiff\n```\n\n###### Making an ome.tiff from a directory of .tif files\n\n```bash\nmip make-ome --input-tif /path/to/dir/of/tifs/ --platform raw --output-filepath output.ome.tiff\n```\n\n### segmentation of ome.tiff file\n\n```bash\nmip segment-ome --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --split-size SPLIT_SIZE --nuclei-channels NUCLEI_CHANNELS --membrane-channels MEMBRANE_CHANNELS\n```\n\n#### Arguments\n\n+ --input-tif\n + Path to ome.tiff to be segmented.\n\n+ --output-prefix\n + Output prefix where labeled cell and nuclei segmentation files will be written. --output-prefix can include directory paths. Default is \"output\". Two files will be written by segment-ome: 1) {OUTPUT_PREFIX}_labeled_cells.tif and 2) {OUTPUT_PREFIX}_labeled_nuclei.tif. In the labeled .tif files, pixels belong to a cell will have that cells integer ID, background pixels have a value of zero.\n\n+ --split-size\n + If image is larger than --split-size, image will be split into tiles for segmentation and then recombined afterwards. Default is 25000. If you run into memory issues, consider decreasing this value. \n\n+ --nuclei-channels\n + Which channels in --input-tif to use for nuclei segmentation. If multiple channels are provided, then those channels are merged into a single image that is used for segmentation. Channels are provided as a string in the following format: \"channel1,channel2,.....,channelz\". Default is \"DAPI\". Note: if channel is not in image, than it is attempted to be converted to a more standard name using the CHANNEL_MAPPING [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/utils.py#L19).\n\n+ --membrane-channels\n + Which channels in --input-tif to use for membrane segmentation. If multiple channels are provided, then those channels are merged into a single image that is used for segmentation. Channels are provided as a string in the following format: \"channel1,channel2,.....,channelz\". Default is \"Pan-Cytokeratin,E-cadherin,CD45,CD8,CD3e,Vimentin,SMA,CD31,C20\". Note: if channel is not in image, than it is attempted to be converted to a more standard name using the CHANNEL_MAPPING [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/utils.py#L19).\n\n#### Examples\n\n###### Segmentation of ome.tiff using default parameters\n\n```bash\nmip segment-ome --input-tif /path/to/file.ome.tiff --output-prefix output\n```\n\n###### Segmentation of ome.tiff using custom nuclei and membrane markers\n\n```bash\nmip segment-ome --input-tif /path/to/file.ome.tiff --output-prefix output --nuclei-channels \"DAPI\" --membrane-channels \"Pan-Cytokeratin,E-cadherin,Vimentin\".\n```\n\n### generation of spatial features\n\n```bash\nmip generate-spatial-features --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --labeled-image LABELED_IMAGE --gating-strategy GATING_STRATEGY --thresholds THRESHOLDS\n```\n\n#### Arguments\n\n+ --input-tif\n + Path to ome.tiff to be quantified. Should match --labeled-image segmentation result.\n\n+ --output-prefix\n + Output prefix where feature tables and cell type image will be written. --output-prefix can include directory paths. Default is \"output\". Three files will be written: 1) {OUTPUT_PREFIX}_spatial_features.h5ad and 2) {OUTPUT_PREFIX}_spatial_features.txt, and 3) {OUPUT_PREFIX}_annotated_cell_types.png. spatial_features.* files contain feature tables describing cell morphology, marker intensities (raw and normalized), positive pixel fractions (if --thresholds is specified), and cell type (based on --gating-strategy). annotated_cell_types.png is an image of cell boundaries colored by cell type annotation.\n\n+ --labeled-image\n + Labeled .tif file containing cell segmentation information used when generating spatial features. In the labeled .tif files, pixels belong to a cell will have that cells integer ID, background pixels have a value of zero.\n \n+ --gating-strategy\n + A .yaml file specifying the gating strategy to use when identifying cell types. By default, the gating strategy [here](https://github.com/estorrs/multiplex-imaging-pipeline/blob/main/multiplex_imaging_pipeline/spatial_features.py#L15) will be used.\n \n+ --thresholds\n + If provided, the given manually defined thresholds will be used to calculate \"positive pixel fraction\" for specified markers, which is the % of positive pixels for that marker in a given cell. Useful when cell typing and wanting to be certain about eliminating batch effects. By default thresholds are automatically calculated. --thresholds is a tab-seperated .txt file where the first column is a channel name, and the second is the value to use as a threshold (i.e. pixels with an intensity above this threshold will be considered positive). No header should be included in the file.\n \n#### Examples\n\n###### Spatial feature generation using default parameters\n\n```bash\nmip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output\n```\n\n###### Spatial feature generation using custom gating strategy\n\n```bash\nmip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output --gating-strategy /path/to/file.yaml\n```\n\n###### Spatial feature generation using thresholds file\n\n```bash\nmip generate-spatial-features --input-tif /path/to/file.ome.tiff --labeled-image /path/to/segmentation/labeled/image.tif --output-prefix output --thresholds /path/to/file.txt\n```\n\n### generation of region features\n\n**NOTE: generate-region-features is still in active development and is still slightly buggy in some edge cases**\n\n```bash\nmip generate-region-features --input-tif INPUT_TIF --output-prefix OUTPUT_PREFIX --spatial-features SPATIAL_FEATURES --mask-tif MASK_TIF --mask-markers MASK_MARKERS\n```\n\n#### Arguments\n\n+ --input-tif\n + Path to ome.tiff to be segmented.\n\n+ --output-prefix\n + Output prefix where feature tables and cell type image will be written. --output-prefix can include directory paths. Default is \"output\". Two types of files will be written: 1) `{OUTPUT_PREFIX}_region_features.txt` and 2) `{OUTPUT_PREFIX}_{NAME}_mask.tif`. `region_features.txt` is a tab-seperated file containing feature describing each region in the image. There are three main features: `{NAME}_cell_type_fraction_*` (fraction of each cell type in region type with given NAME), `{NAME}_marker_intensity_*` (raw intensity in region type with given NAME), `{NAME}_marker_intensity_scaled_*` (intensity scaled by std in region type with given NAME), `{NAME}_marker_fraction_*` (positive pixel fraction in region type with given NAME, thresholds are whatever was used in generate-spatial-features). `*.tif` files are labeled images delineating each region type.\n\n+ --spatial-features\n + `.h5ad` object output by generate-spatial-features\n \n+ --mask-tif\n + Boolean tif defining regions to use. If none is provided, channels in --mask-markers will be used to auto-generate masks.\n \n+ --mask-markers\n + when --mask-tif is not provided, will be used to auto-generate masks. Defaults to 'Pan-Cytokeratin,E-cadherin'.\n \n#### Examples\n\n###### Region feature generation using default parameters\n\n```bash\nmip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output\n```\n\n###### Region feature generation using user provided mask\n\n```bash\nmip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output --mask-tif /path/to/mask.tif\n```\n\n###### Region feature generation using mask generated from custom markers\n\n```bash\nmip generate-region-features --input-tif /path/to/file.ome.tiff --spatial-features /path/to/spatial/features.h5ad --output-prefix output --mask-markers \"CD4,CD45,CD8\"\n```\n\n\n## Docker\n\n```bash\ndocker pull estorrs/multiplex-imaging-pipeline\n```\n\n**NOTE** that you'll need to map input and output data folders with the -v flag when running the docker container.\n\n###### Example of ome.tiff generation with docker.\n\n```bash\ndocker run -v /path/to/input/dir:/inputs -v /path/to/output/dir:/outputs -t estorrs/multiplex-imaging-pipeline mip make-ome --input-tif /inputs/file.qptiff --platform phenocycler --output-filepath /outputs/output.ome.tiff\n```\n\n**NOTE** that while running segmentation you will need to pass the `DEEPCELL_ACCESS_TOKEN` to the docker container using the -e flag because this is required by Deepcell. `DEEPCELL_ACCESS_TOKEN` can be created at deepcells website https://users.deepcell.org/.\n\n###### Example of ome.tiff cell segmentation with docker.\n\n```bash\ndocker run -v /path/to/input/dir:/inputs -v /path/to/output/dir:/outputs -e DEEPCELL_ACCESS_TOKEN=\"YOUR_ACCESS_TOKEN_HERE\" -t estorrs/multiplex-imaging-pipeline mip segment-ome --input-tif /inputs/file.ome.tiff --output-prefix output\n```\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python library for multiplex imaging analysis",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/estorrs/multiplex-imaging-analysis"
},
"split_keywords": [
"multiplex",
"imaging",
"codex",
"neighborhood",
"analysis",
"image",
"segmentation",
"visualization",
"mibi",
"codex",
"phenocycler",
"mihc",
"hyperion"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "44ed4db6a9a42f4b595fd64c73c30edc9c0c3957cd143fdc781ea94745cb0ece",
"md5": "f7b3888b2a91b7eb33de77237d471a50",
"sha256": "6681f8905e150794ce429beb389ebefe4839d98f458663ac114d4fc19a05ff64"
},
"downloads": -1,
"filename": "multiplex_imaging_pipeline-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f7b3888b2a91b7eb33de77237d471a50",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 28142,
"upload_time": "2024-05-07T16:18:06",
"upload_time_iso_8601": "2024-05-07T16:18:06.900718Z",
"url": "https://files.pythonhosted.org/packages/44/ed/4db6a9a42f4b595fd64c73c30edc9c0c3957cd143fdc781ea94745cb0ece/multiplex_imaging_pipeline-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a71af077467cc31f4bdf3e8bec63a695b6496abd6ad1f0577690da23981ef1b5",
"md5": "6dd496f762080b9649331de940ab5d45",
"sha256": "fa627626a07b1780a240ea22c51e94602ebf71f65b60269d3d0bf907467008bb"
},
"downloads": -1,
"filename": "multiplex-imaging-pipeline-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "6dd496f762080b9649331de940ab5d45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 27881,
"upload_time": "2024-05-07T16:18:08",
"upload_time_iso_8601": "2024-05-07T16:18:08.289027Z",
"url": "https://files.pythonhosted.org/packages/a7/1a/f077467cc31f4bdf3e8bec63a695b6496abd6ad1f0577690da23981ef1b5/multiplex-imaging-pipeline-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-07 16:18:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "estorrs",
"github_project": "multiplex-imaging-analysis",
"github_not_found": true,
"lcname": "multiplex-imaging-pipeline"
}