Skip to main content

actk

Build Status Documentation Code Coverage

Automated Cell Toolkit


A pipeline to process field-of-view (FOV) microscopy images and generate data and render-ready products for the cells in each field. Of note, the data produced by this pipeline is used for the Cell Feature Explorer.

Features

All steps and functionality in this package can be run as single steps or all together by using the command line.

In general, all commands for this package will follow the format: actk {step} {command}

  • step is the name of the step, such as "StandardizeFOVArray" or "SingleCellFeatures"
  • command is what you want that step to do, such as "run" or "push"

Each step will check that the dataset provided contains the required fields prior to processing. For details and definitions on each field, see our dataset fields documentation.

An example dataset can be seen here.

Pipeline

To run the entire pipeline from start to finish you can simply run:

actk all run --dataset {path to dataset}

Step specific parameters can additionally be passed by simply appending them. For example: the step SingleCellFeatures has a parameter for cell_ceiling_adjustment and this can be set on both the individual step run level and also for the entire pipeline with:

actk all run --dataset {path to dataset} --cell_ceiling_adjustment {integer}

To run in distributed mode across the SLURM cluster at AICS you can add the --distributed flag to the pipeline call.

To set distributed cluster and worker parameters you can additionally add the flags:

  • --n_workers {int} (i.e. --n_workers 100)
  • --worker_cpu {int} (i.e. --worker_cpu 2)
  • --worker_mem {str} (i.e. --worker_mem 100GB)

Individual Steps

  • actk standardizefovarray run --dataset {path to dataset}, Generate standardized, ordered, and normalized FOV images as OME-Tiffs.
  • actk singlecellfeatures run --dataset {path to dataset}, Generate a features JSON file for each cell in the dataset.

Installation

Install Requires: The python package, numpy, must be installed prior to the installation of this package: pip install numpy

Stable Release: pip install actk
Development Head: pip install git+https://github.com/AllenCellModeling/actk.git

Documentation

For full package documentation please visit allencellmodeling.github.io/actk.

Development

See CONTRIBUTING.md for information related to developing the code.

For more details on how this pipeline is constructed please see cookiecutter-stepworkflow and datastep.

To add new steps to this pipeline, run make_new_step and follow the instructions in CONTRIBUTING.md

Developer Installation

The following two commands will install the package with dev dependencies in editable mode and download all resources required for testing.

pip install -e .[dev]
python scripts/download_test_data.py

AICS Developer Instructions

If you want to run this pipeline with the Pipeline Integrated Cell dataset (pipeline 4.*) run the following commands:

pip install -e .[all]
python scripts/download_aics_dataset.py

Options for this script are available and can be viewed with: python scripts/download_aics_dataset.py --help

Free software: Allen Institute Software License

Download files

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

Source Distribution

actk-0.1.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actk-0.1.0-py2.py3-none-any.whl (25.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file actk-0.1.0.tar.gz.

File metadata

  • Download URL: actk-0.1.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for actk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 158df4a9710ae3625e504b7a563559bc879e1e69b58e8ef32cead5d78f440cc4
MD5 2da7f58180ad103451759533e97c6fc2
BLAKE2b-256 286fb29b46198cd1a9003d34c498c4addb6e068b1cb76929b1f17bf22e12ca12

See more details on using hashes here.

File details

Details for the file actk-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: actk-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for actk-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e8e949c4f990ec625a625532c6584c169bc302d84e1eb09abfd8e59f5e72ff2
MD5 0cd33f703db4df9c9c98afd22293a380
BLAKE2b-256 de0ac1e219316c59dce9d552dfd29954a8458b11bd42c1ceca2098ef41834eec

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

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