{ "info": { "author": "Vito Zanotelli", "author_email": "vito.zanotelli@uzh.ch", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# imctools\n\n[![Build Status](https://travis-ci.org/BodenmillerGroup/imctools.svg?branch=master)](https://travis-ci.org/BodenmillerGroup/imctools)\n[![Documentation Status](https://readthedocs.org/projects/imctools/badge/?version=latest)](https://imctools.readthedocs.io/en/latest/?badge=latest)\n\nAn IMC file conversion tool that aims to convert IMC rawfiles (.mcd, .txt) into an intermediary ome.tiff, containing all the relevant metadata. Further it contains tools to generate simpler tiff files that can be directly be used as input files for e.g. CellProfiller, Ilastik, Fiji etc.\n\nFurther imctools can directly work as a FIJI plugin, exploiting the Jython language. That allows that IMC data can be directly visualized in FIJI.\n\nFor a description of the associated segmentation pipline, please visit: https://github.com/BodenmillerGroup/ImcSegmentationPipeline\n\nDocumentation: https://imctools.readthedocs.io\n\n## Features\n\n- MCD lazy data access using memorymaps\n- Full MCD metadata access\n- TXT file loading\n- OME-TIFF loading\n- OME-TIFF/TIFF export (including optional compression)\n\n## Prerequisites\n\n- The package is written for Python3, but should also work with Python2\n- The core functions have a 'base' pure Python/Jython implementation with no dependencies outside the standard libraries.\n- The fast functions do need Python packages, such as numpy, scipy etc. installed.\n\n## Installation\n\nUse the pip installation manger to directly install the package from Github:\n\n```\npip install git+https://github.com/BodenmillerGroup/imctools.git\n```\n\n## Usage\n\nimctools is often used from jupyter as part of the preprocessing pipeline, mainly using the 'script' wrapper functions. Check 'notebooks/example_preprocessing_pipline.ipynb' as a template\n\nFurther imctools can be directly used as a module:\n\n```python\nimport imctools.io.mcdparser as mcdparser\nimport imctools.io.txtparser as txtparser\nimport imctools.io.ometiffparser as omeparser\nimport imctools.io.mcdxmlparser as meta\n\nfn_mcd = '/home/vitoz/Data/varia/201708_instrument_comp/mcd/20170815_imccomp_zoidberg_conc5_acm1.mcd'\n\nmcd = mcdparser.McdParser(fn_mcd)\n\n# parsed Metadata Access\nmcd.acquisition_ids\nmcd.get_acquisition_channels('1')\nmcd.get_acquisition_description('1')\n\n# a metadata object for comprehensive metadata access\nacmeta = mcd.meta.get_object(meta.ACQUISITION, '1')\nacmeta.properties\n\n# The common class to represent a single IMC acquisition is\n# The IMC acuqisition class.\n# All parser classes have a 'get_imc_acquisition' method\nimc_ac = mcd.get_imc_acquisition('1')\n\n# imc acquisitions can yield the image data\nimage_matrix = imc_ac.get_img_by_metal('Ir191')\n\n# or can be used to save the images using the image writer class\nfn_out ='/home/vitoz/temp/test.ome.tiff'\nimg = imc_ac.get_image_writer(filename=fn_out, metals=['Ir191', 'Yb172'])\nimg.save_image(mode='ome', compression=0, dtype=None, bigtiff=False)\n\n# as the mcd object is using lazy loading memory maps, it needs to be closed\n# or used with a context manager.\nmcd.close()\n```\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/BodenmillerGroup/imctools", "keywords": "mcd,ome-tiff,imc,cellprofiler,fiji", "license": "", "maintainer": "Vito Zanotelli", "maintainer_email": "vito.zanotelli@uzh.ch", "name": "imctools", "package_url": "https://pypi.org/project/imctools/", "platform": "", "project_url": "https://pypi.org/project/imctools/", "project_urls": { "Documentation": "https://bodenmillergroup.github.io/imctools", "Homepage": "https://github.com/BodenmillerGroup/imctools", "Repository": "https://github.com/BodenmillerGroup/imctools" }, "release_url": "https://pypi.org/project/imctools/1.0.3/", "requires_dist": [ "pandas", "scikit-image", "tifffile (>=2019.6.18)" ], "requires_python": "", "summary": "Tools to handle IMC data", "version": "1.0.3" }, "last_serial": 5470621, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9af1caaf28f3ce8426cfe69326bf7153", "sha256": "02e22a93e0a93db2ab2a43651595ce62209829de5a53078cb61cb24b05eb1a37" }, "downloads": -1, "filename": "imctools-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9af1caaf28f3ce8426cfe69326bf7153", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 65489, "upload_time": "2019-06-27T14:36:13", "url": "https://files.pythonhosted.org/packages/46/10/e75e731fa5a4a8b9a349069d4000b2306713e49f1e8fb9db266ba25a736f/imctools-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcf76e355f912d35b29352d2c1ad38c2", "sha256": "d3228489b00982a1019e4399a00bca0892a08c64af1fa1184ae1bcc8001b21bc" }, "downloads": -1, "filename": "imctools-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fcf76e355f912d35b29352d2c1ad38c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49780, "upload_time": "2019-06-27T14:36:15", "url": "https://files.pythonhosted.org/packages/13/59/b2cd4db8484a9d1024d31b6908945cb392c60a3c583d43382965a5d4b5f1/imctools-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "16848a17037da78ed1299063d9b181ec", "sha256": "abe595bd1c4d180fdba6fb369c99b9ef0fb8c56d4d2b017aa9b33de38e53d315" }, "downloads": -1, "filename": "imctools-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16848a17037da78ed1299063d9b181ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 65488, "upload_time": "2019-06-28T09:05:08", "url": "https://files.pythonhosted.org/packages/91/e9/e2cef406ff1f2317abb878945028fa47570ed65c8783bc488b39621aa281/imctools-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f081f423c3fbfd124cc899d0609e8ac", "sha256": "dd5e2943e81c492bd829bb5bf45685712464c3881017cb5571f446cf36f784b1" }, "downloads": -1, "filename": "imctools-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2f081f423c3fbfd124cc899d0609e8ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49786, "upload_time": "2019-06-28T09:05:10", "url": "https://files.pythonhosted.org/packages/1c/e7/d8c2595e5b35b58f9f3295d542fd2a575fd2899a0f97fa66a86b0320634b/imctools-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "798b33a0078eb8cf2072323e7933d24e", "sha256": "151968d638b5923b2b0a022e13d9d41287bd6dc3938b410c334656622a4c74b0" }, "downloads": -1, "filename": "imctools-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "798b33a0078eb8cf2072323e7933d24e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 65478, "upload_time": "2019-07-01T10:02:12", "url": "https://files.pythonhosted.org/packages/92/5c/8975454bb8f077a192a41b8a566ae72e4ec3562fe975c4d7c17b0192e1cb/imctools-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5dad41bfc5aa65175d1d299c951f6d8e", "sha256": "046ff0f277556d0ee8656dafd30b742234d19d020f4828a948538ec06daaf0be" }, "downloads": -1, "filename": "imctools-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5dad41bfc5aa65175d1d299c951f6d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49753, "upload_time": "2019-07-01T10:02:14", "url": "https://files.pythonhosted.org/packages/86/e2/03100dda6ba013a733142f8f44cf4950ae8d1a17d0305ca82441d168409a/imctools-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "a1ddeca1c6dd38fc5d67a61d8f8954bd", "sha256": "75373c0ba5c41bc7a6b774bddfc9a1645718eb68d13fadcfa6101e7ce309306f" }, "downloads": -1, "filename": "imctools-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1ddeca1c6dd38fc5d67a61d8f8954bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 65499, "upload_time": "2019-07-01T11:25:16", "url": "https://files.pythonhosted.org/packages/a1/1b/0425fe8bdc5429ca44e322d45073ea2c11128362a455f4f1e59364ce1905/imctools-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "324b7d25f34cd2ea197d8fc466fcc2d9", "sha256": "2c47a82103869745ce52d1471229245e96411ce39187a26a4c68a8044a8cd94a" }, "downloads": -1, "filename": "imctools-1.0.3.tar.gz", "has_sig": false, "md5_digest": "324b7d25f34cd2ea197d8fc466fcc2d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49756, "upload_time": "2019-07-01T11:25:18", "url": "https://files.pythonhosted.org/packages/63/94/358f6fd7ff7d771cbb2c6467c98ed9408be838e0235985706b8ba3ab72a4/imctools-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1ddeca1c6dd38fc5d67a61d8f8954bd", "sha256": "75373c0ba5c41bc7a6b774bddfc9a1645718eb68d13fadcfa6101e7ce309306f" }, "downloads": -1, "filename": "imctools-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1ddeca1c6dd38fc5d67a61d8f8954bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 65499, "upload_time": "2019-07-01T11:25:16", "url": "https://files.pythonhosted.org/packages/a1/1b/0425fe8bdc5429ca44e322d45073ea2c11128362a455f4f1e59364ce1905/imctools-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "324b7d25f34cd2ea197d8fc466fcc2d9", "sha256": "2c47a82103869745ce52d1471229245e96411ce39187a26a4c68a8044a8cd94a" }, "downloads": -1, "filename": "imctools-1.0.3.tar.gz", "has_sig": false, "md5_digest": "324b7d25f34cd2ea197d8fc466fcc2d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49756, "upload_time": "2019-07-01T11:25:18", "url": "https://files.pythonhosted.org/packages/63/94/358f6fd7ff7d771cbb2c6467c98ed9408be838e0235985706b8ba3ab72a4/imctools-1.0.3.tar.gz" } ] }