# CellRake 🔬
<img src="./CellRake.svg" style="width: 100%;" alt="CellRake">
## Why this package?
**CellRake** is a Python package designed to analyze cells in fluorescent images. It provides tools for image segmentation based on [StarDist](https://github.com/stardist/stardist), model training based and prediction based on [Scikit-learn](https://scikit-learn.org/stable/), and colocalization analysis, tailored for complex experiments involving multiple fluorescent markers.
## Installation
### Step 1: Install Conda
First, you need to install Conda, a package and environment management system. If you don't have Conda installed, you can download and install it by following these steps:
1. Go to the [Miniconda download page](https://docs.anaconda.com/miniconda/miniconda-install/).
2. Choose the version for your operating system (Windows, macOS, or Linux).
3. Follow the installation instructions provided on the website.
Miniconda is a minimal version of Anaconda that includes only Conda, Python, and a few essential packages, making it lightweight and easy to manage.
### Step 2: Create a Conda Environment
A Conda environment is an isolated space where you can install specific versions of Python and packages, like CellRake, without affecting other projects or installations. This is important to avoid conflicts between different software packages.
To create a new Conda environment for **CellRake**, open a terminal and run the following commands:
```console
conda create --name cellrake python=3.10
```
This command creates a new environment named `cellrake` with Python 3.9 installed.
### Step 3: Activate the Conda Environment
Before installing the CellRake package, you need to activate the Conda environment you just created. This tells your system to use the Python and packages installed in that environment.
To activate the environment, run:
```console
conda activate cellrake
````
After running this command, your terminal prompt should change to indicate that you're now working within the `cellrake` environment.
### Step 4: Install CellRake
Now that your environment is set up and activated, you can install **CellRake**. The package is hosted on PyPI.
To install CellRake, run the following command:
```console
pip install cellrake
```
This command tells pip to install CellRake from the PyPI repository. Now you are ready to go!
**Note:** If you installed the package some time ago, I recommend to update to the newest version to avoid bugs. You can do this by running:
```bash
pip install cellrake --upgrade
```
## How to use it?
For detailed tutorials and use cases, see the [examples](./examples) directory:
- [Training Models](./examples/1_training_models.ipynb): Learn how to train a machine learning model using your dataset.
- [Analyzing Images](./examples/2_analyzing_images.ipynb): Analyze new images using a pre-trained model.
- [Colocalization Analysis](./examples/2_analyzing_images.ipynb): Perform colocalization analysis on multi-marker images.
## License
**CellRake** is licensed under the [MIT License](https://opensource.org/license/MIT).
Raw data
{
"_id": null,
"home_page": null,
"name": "cellrake",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.11,>=3.9",
"maintainer_email": null,
"keywords": "GFP, cFos, colocalization, count cells, fluorescence, image, immunohistochemistry, tdTomato",
"author": null,
"author_email": "Marc Canela <mcanela@researchmar.net>",
"download_url": "https://files.pythonhosted.org/packages/ef/b4/dcbdd341bf47c720faf8618be4eb9620cfde0b5eefea0cfb4496fa33cc70/cellrake-0.2.0.tar.gz",
"platform": null,
"description": "# CellRake \ud83d\udd2c\n\n<img src=\"./CellRake.svg\" style=\"width: 100%;\" alt=\"CellRake\">\n\n## Why this package?\n\n**CellRake** is a Python package designed to analyze cells in fluorescent images. It provides tools for image segmentation based on [StarDist](https://github.com/stardist/stardist), model training based and prediction based on [Scikit-learn](https://scikit-learn.org/stable/), and colocalization analysis, tailored for complex experiments involving multiple fluorescent markers.\n\n## Installation\n\n### Step 1: Install Conda\n\nFirst, you need to install Conda, a package and environment management system. If you don't have Conda installed, you can download and install it by following these steps:\n\n1. Go to the [Miniconda download page](https://docs.anaconda.com/miniconda/miniconda-install/).\n2. Choose the version for your operating system (Windows, macOS, or Linux).\n3. Follow the installation instructions provided on the website.\n\nMiniconda is a minimal version of Anaconda that includes only Conda, Python, and a few essential packages, making it lightweight and easy to manage.\n\n### Step 2: Create a Conda Environment\n\nA Conda environment is an isolated space where you can install specific versions of Python and packages, like CellRake, without affecting other projects or installations. This is important to avoid conflicts between different software packages.\n\nTo create a new Conda environment for **CellRake**, open a terminal and run the following commands:\n\n```console\nconda create --name cellrake python=3.10\n```\n\nThis command creates a new environment named `cellrake` with Python 3.9 installed.\n\n### Step 3: Activate the Conda Environment\n\nBefore installing the CellRake package, you need to activate the Conda environment you just created. This tells your system to use the Python and packages installed in that environment.\n\nTo activate the environment, run:\n\n```console\nconda activate cellrake\n````\n\nAfter running this command, your terminal prompt should change to indicate that you're now working within the `cellrake` environment.\n\n### Step 4: Install CellRake\n\nNow that your environment is set up and activated, you can install **CellRake**. The package is hosted on PyPI.\n\nTo install CellRake, run the following command:\n\n```console\npip install cellrake\n```\n\nThis command tells pip to install CellRake from the PyPI repository. Now you are ready to go!\n\n**Note:** If you installed the package some time ago, I recommend to update to the newest version to avoid bugs. You can do this by running:\n\n```bash\npip install cellrake --upgrade\n```\n\n## How to use it?\n\nFor detailed tutorials and use cases, see the [examples](./examples) directory:\n\n- [Training Models](./examples/1_training_models.ipynb): Learn how to train a machine learning model using your dataset.\n- [Analyzing Images](./examples/2_analyzing_images.ipynb): Analyze new images using a pre-trained model.\n- [Colocalization Analysis](./examples/2_analyzing_images.ipynb): Perform colocalization analysis on multi-marker images.\n\n## License\n\n**CellRake** is licensed under the [MIT License](https://opensource.org/license/MIT).",
"bugtrack_url": null,
"license": "MIT License",
"summary": "A Python package for analyzing cells in fluorescent images",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/marccanela/cellrake"
},
"split_keywords": [
"gfp",
" cfos",
" colocalization",
" count cells",
" fluorescence",
" image",
" immunohistochemistry",
" tdtomato"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "14145b77ceed1f902811715c2ed01bfc72d9ab1818179201613d4e569f4d5b50",
"md5": "d483e4481406cf1919b79444c70ca599",
"sha256": "a8254748bc6c6b2aee20176337a3ca8fc79aa7c28beaae89daef256f492d724f"
},
"downloads": -1,
"filename": "cellrake-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d483e4481406cf1919b79444c70ca599",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.11,>=3.9",
"size": 24063,
"upload_time": "2024-10-22T12:04:00",
"upload_time_iso_8601": "2024-10-22T12:04:00.530144Z",
"url": "https://files.pythonhosted.org/packages/14/14/5b77ceed1f902811715c2ed01bfc72d9ab1818179201613d4e569f4d5b50/cellrake-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "efb4dcbdd341bf47c720faf8618be4eb9620cfde0b5eefea0cfb4496fa33cc70",
"md5": "1d982611b9d905f3c77f6e9b64499449",
"sha256": "b0b8f7b71b8d10383dccd6d9931bda4a930daf78a97854a0c22299500bd030db"
},
"downloads": -1,
"filename": "cellrake-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "1d982611b9d905f3c77f6e9b64499449",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.11,>=3.9",
"size": 6006001,
"upload_time": "2024-10-22T12:04:02",
"upload_time_iso_8601": "2024-10-22T12:04:02.682827Z",
"url": "https://files.pythonhosted.org/packages/ef/b4/dcbdd341bf47c720faf8618be4eb9620cfde0b5eefea0cfb4496fa33cc70/cellrake-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-22 12:04:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "marccanela",
"github_project": "cellrake",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cellrake"
}