Skip to main content

A tool to download specified image data from the Human Protein Atlas website using CSV file or to copy data from CM4AI dataset

Project description

Cell Maps ImmunoFluorescent Image Downloader

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

Dependencies

Compatibility

  • Python 3.8+

Installation

pip install cellmaps_imagedownloader

Or directly from source:

git clone https://github.com/idekerlab/cellmaps_imagedownloader
cd cellmaps_imagedownloader
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

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.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellmaps_imagedownloader-0.1.1a1.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

cellmaps_imagedownloader-0.1.1a1-py2.py3-none-any.whl (29.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cellmaps_imagedownloader-0.1.1a1.tar.gz.

File metadata

File hashes

Hashes for cellmaps_imagedownloader-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 977ce4a988f96d17f0c4090e578cc80288ef0b4c6ff15a04c08174019c4ad38a
MD5 f59a0bbe379d16c38d9fab5d2987462e
BLAKE2b-256 249b64245900a96285f4bf6f3ed94c8b2260baabdecf94d8d59bb786c6893a19

See more details on using hashes here.

File details

Details for the file cellmaps_imagedownloader-0.1.1a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cellmaps_imagedownloader-0.1.1a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4fa5b158360171da4250a5b6c80cc4352875a4b157da5952b99d1e2cde753726
MD5 218671b7c154763dcd50e88ec778508f
BLAKE2b-256 a6a105a0aebf59327d2f4105d739c761b8913e776f3d9405281e8c78c9080ea9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page