Skip to main content

Cell Maps ImmunoFluorescent Image Downloader

The Cell Maps Image Downloader is part of the Cell Mapping Toolkit

https://img.shields.io/pypi/v/cellmaps_imagedownloader.svg https://app.travis-ci.com/idekerlab/cellmaps_imagedownloader.svg?branch=main Documentation Status Zenodo DOI badge

Downloads ImmunoFluorescent image data from Human Protein Atlas or from a CM4AI RO-Crate

Dependencies

Compatibility

  • Python 3.8 - 3.11

Installation

pip install cellmaps_imagedownloader

Or directly from source:

git clone https://github.com/idekerlab/cellmaps_imagedownloader
cd cellmaps_imagedownloader
pip install -r requirements_dev.txt
make dist
pip install dist/cellmaps_imagedownloader*whl

Run make command with no arguments to see other build/deploy options including creation of Docker image

make

Output:

clean                remove all build, test, coverage and Python artifacts
clean-build          remove build artifacts
clean-pyc            remove Python file artifacts
clean-test           remove test and coverage artifacts
lint                 check style with flake8
test                 run tests quickly with the default Python
test-all             run tests on every Python version with tox
coverage             check code coverage quickly with the default Python
docs                 generate Sphinx HTML documentation, including API docs
servedocs            compile the docs watching for changes
testrelease          package and upload a TEST release
release              package and upload a release
dist                 builds source and wheel package
install              install the package to the active Python's site-packages
dockerbuild          build docker image and store in local repository
dockerpush           push image to dockerhub

Before running tests, please install pip install -r requirements_dev.txt.

Needed files

  • samples file: CSV file with list of IF images to download (see sample samples file in examples folder)

  • unique file: CSV file of unique samples (see sample unique file in examples folder)

  • provenance: file containing provenance information about input files in JSON format (see sample provenance file in examples folder)

Usage

For information invoke cellmaps_imagedownloadercmd.py -h

Example usage

cellmaps_imagedownloadercmd.py ./cellmaps_imagedownloader_outdir  --samples examples/samples.csv --unique examples/unique.csv --provenance examples/provenance.json

Via Docker

Example usage

Coming soon...

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.3.0 (2025-05-02)

  • Updated to work with 0.6 release of CM4AI dataset by supporting format in manifest.csv

  • Added r prefix to regex strings with escape sequences to remove deprecation warnings that show up in python 3.11

  • Updated to PEP 517 compliant build system

0.2.1 (2025-03-18)

  • Add version bounds for required packages.

0.2.0 (2024-11-22)

  • Added –protein_list and –cell_line flags that will fetch images from HPA for specific proteins and/or cell line.

  • Bug fixes in fairscape registration.

0.1.1 (2024-08-26)

  • Bug fix in adding gene node attributes. The bug was resulting in duplicate entries and missing gene names, related to ambiguous antibodies.

0.1.0 (2024-01-01)

  • First release on PyPI.

Metadata

Release files for cellmaps-imagedownloader 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cellmaps-imagedownloader 0.3.0
File Size Uploaded
cellmaps_imagedownloader-0.3.0.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cellmaps-imagedownloader 0.3.0
File Interpreter ABI Platform
cellmaps_imagedownloader-0.3.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 2.1 MB

Release files / cellmaps_imagedownloader-0.3.0.tar.gz

Download URL cellmaps_imagedownloader-0.3.0.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
561bafe506de293898b1f767aa9d25975190c114e776a70ea01740dacc4b69e8
BLAKE2b-256 checksum
How to use checksums
058e83932de21b5c23145233ecb0868d84b61c0b3e154d55f10fb56fdb63dacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / cellmaps_imagedownloader-0.3.0-py2.py3-none-any.whl

Download URL cellmaps_imagedownloader-0.3.0-py2.py3-none-any.whl
Size 34.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2df939204e83e97b12f2b1dac6ab4e7cb31c25d8f9e88577b5c6f9f7bad3c377
BLAKE2b-256 checksum
How to use checksums
ac0e949e997b385664803b05104f1d6d314efb9a8dad55c441520df8006f918e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page