cellprofiler
Qué hace
Esta herramienta ayuda a contar y medir de forma automática y repetible los núcleos celulares en imágenes de microscopio. Procesa las imágenes para identificar los núcleos, contar cuántos hay y medir características como el brillo.
Cuándo usarla
- ✓Cuando necesitas contar núcleos celulares en muchas imágenes de microscopio.
- ✓Para medir la cantidad de luz (fluorescencia) dentro de cada núcleo celular.
- ✓Cuando es importante que el análisis sea exactamente igual cada vez que se ejecuta.
Link de la skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/cellprofiler/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Analiza estas imágenes de microscopio, cuenta los núcleos de cada una y mide su brillo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Tú proporcionas las imágenes y un conjunto de instrucciones (una pipeline). La herramienta usa un programa llamado CellProfiler para seguir esas instrucciones, encontrar los núcleos, contarlos y extraer las medidas que hayas pedido.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
CellProfiler quantitative microscopy
Use this skill when a user needs a repeatable CellProfiler .cppipe, nuclear counts, nuclear
fluorescence, or batch microscopy measurements. The bundled assay accepts one 2D grayscale
TIFF nuclear channel per field, with black-is-zero (MINISBLACK) pixels and bright nuclei on a
dark background. Palette and white-is-zero TIFFs need an explicit conversion. For volumetric
segmentation, multichannel cell painting, or tissue-specific models, design a separate pipeline
and validate those assumptions rather than silently projecting or splitting the images.
The official application and manual remain 4.2.8. PyPI publishes 4.2.8.1; its seven modules used here and embedded Threshold module match the 4.2.8 source, but this review did not execute that native distribution. Keep the helper environment separate from CellProfiler's older dependency stack; see the runtime reference for the verification boundary.
Workflow
- Establish the acquisition unit: plate, well, site, time point if present, pixel size, nuclear channel identity, camera bit depth, exposure, and biological replicate. Keep original image intensities. Convert proprietary formats explicitly with Bio-Formats before using this helper.
- Create the CSV manifest below.
image_pathis absolute or relative to the manifest; sample IDs use letters, digits, dots, dashes, or underscores; sample IDs and plate/well/site combinations are unique. Use a nonnumeric sample ID such assample_001: LoadData infers column types and can otherwise turn001into1. Avoid surrounding whitespace in identifiers. TIFFs must be uint8 or uint16, single plane/series/resolution, and nonconstant. The helper rejects RGB, z-stacks, and float images rather than guessing channels. - Use assets/nuclei.cppipe as a starting pipeline: LoadData → IdentifyPrimaryObjects → intensity/size measurements → outline overlay → CSV export. The initial diameter range is 8–80 pixels, with global Otsu thresholding, no threshold smoothing, and border objects excluded. Calibrate this range from representative images and acquisition pixel size before comparing conditions.
- Run a small pilot spanning controls, low/high density, dim images, and plate edges. Inspect
saved overlays for missed nuclei, splits, merges, and edge exclusions. Adjust thresholding
and declumping in CellProfiler, export the tuned
.cppipe, and pass--pipelineto preserve it. Do not choose settings separately for each treatment to make their counts agree. - Freeze the tuned pipeline and analyze the batch. Review input saturation warnings, zero counts, count/area distributions, and control behavior. Aggregation for inference belongs at the biological replicate level; thousands of cells from one well are not independent wells.
Run the bounded assay
From this skill directory, create images.csv:
sample_id,image_path,plate,well,site
control_A01_1,images/control_A01_1_DAPI.tif,Plate1,A01,1
python scripts/nuclei_assay.py prepare images.csv load_data.csv
python scripts/nuclei_assay.py run images.csv results --executable cellprofiler
python scripts/nuclei_assay.py summarize results
run requires a fresh/empty output directory and executes CellProfiler with -c -r, a saved
pipeline copy, --data-file, output folder, and --done-file. Success requires exit code zero,
a Complete marker, and valid measurement tables. It records the command, pipeline checksum,
input image checksums, and sample QC in assay_qc.json before execution, retaining failed
status and the error if execution or output validation fails. CellProfiler output goes to
cellprofiler.log. Rerun in a new output folder. summarize checks CSV contents independently;
it does not prove an engine run completed.
Custom pipelines must preserve DNA, Nuclei, Metadata_Sample, integer-dtype scaling, and
the unprefixed single-object Image.csv/Nuclei.csv export contract. Keep the required
intensity/area measurements. A renamed object set or different intensity scale needs a
corresponding helper adaptation, not an unchecked --pipeline substitution.
The executable can also be the CellProfiler application launcher or a local container launcher; see references/runtime-and-qc.md for the container target,
…
Preguntas frecuentes
¿Qué tipo de imagen funciona mejor?
Funciona mejor con imágenes de microscopio en escala de grises (TIFF) que muestren solo los núcleos, con núcleos brillantes sobre un fondo oscuro.
¿Qué es una 'pipeline'?
Es un archivo de instrucciones paso a paso que le dice a CellProfiler exactamente qué hacer con las imágenes, como dónde buscar los núcleos y qué medidas tomar.
¿Puedo usar imágenes en color o en 3D?
Esta herramienta concreta está diseñada para imágenes 2D en escala de grises. Para imágenes en color, en 3D o más complejas, necesitarías una pipeline diferente.
Detalles
Descripción original del autor
Runs reproducible CellProfiler microscopy pipelines for nuclear segmentation, cell counts, and per-object fluorescence measurements. Supports image/channel manifests, headless batch execution, segmentation overlays, and measurement QC for 2D fluorescence assays.
Popularidad
- Estrellas en GitHub
- 51 mil
- Posición en el ranking
- #3436
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
13c-metabolic-flux
51 milEstima flujos metabólicos a partir de datos de trazado con isótopos de carbono-13. Es útil para analizar el metabolismo celular y las rutas bioquímicas.
adaptyv
51 milDiseña experimentos de caracterización de proteínas con la API de Adaptyv. Ayuda a estimar costos, enviar secuencias y seguir los resultados del laboratorio.
aeon
51 milRealiza tareas de aprendizaje automático con datos de series temporales. Es útil para clasificar, predecir, detectar anomalías y encontrar patrones en datos secuenciales.
alphagenome
51 milConsulta efectos genómicos precalculados de variantes genéticas. Ofrece puntuaciones y explicaciones para entender el impacto de las variantes en el genoma.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.