Recommend optimal flow cytometry gating strategies for given cell types and fluorophores.
bash
# Recommended format: comma-separated cell types and fluorophores
python scripts/main.py "CD4+ T cells,CD8+ T cells" "FITC,PE,APC"
# Or specify parameters separately
python scripts/main.py --cell-types "CD4+ T cells,CD8+ T cells" --fluorophores "FITC,PE,APC"
# Support more options
python scripts/main.py \
--cell-types "B cells" \
--fluorophores "FITC,PE,PerCP-Cy5.5,APC" \
--instrument "BD FACSCanto II" \
--purpose "cell sorting"
ParameterTypeDefaultRequiredDescription--cell-typesstring-YesComma-separated list of cell types (e.g., "CD4+ T cells,CD8+ T cells")--fluorophoresstring-YesComma-separated list of fluorophores (e.g., "FITC,PE,APC")--instrumentstring-NoFlow cytometer model (e.g., "BD FACSCanto II")--purposestringanalysisNoPurpose (analysis, cell sorting, screening)--output, -ostringstdoutNoOutput file path for JSON results
json
{
"recommended_strategy": {
"name": "Sequential Gating Strategy",
"description": "Gating based on FSC-A/SSC-A, followed by fluorescence intensity analysis",
"steps": [
{
"step": 1,
"gate": "FSC-A vs SSC-A",
"purpose": "Identify target cell population, exclude debris and dead cells",
"recommendation": "Set oval gate in lymphocyte region"
}
]
},
"fluorophore_recommendations": [
{
"fluorophore": "FITC",
"channel": "BL1",
"detector": "530/30",
"considerations": ["May spillover with GFP"]
}
],
"panel_optimization": {
"suggestions": ["Recommend pairing weakly expressed antigens with bright fluorophores"],
"avoid_combinations": ["FITC and GFP used simultaneously"]
},
"compensation_notes": ["FITC and PE require careful compensation"],
"quality_control": ["Recommend setting FMO controls", "Use viability dyes to exclude dead cells"]
}
FluorophoreExcitation WavelengthEmission WavelengthDetection ChannelFITC488nm525nmBL1PE488nm575nmYL1/BL2PerCP488nm675nmRL1PerCP-Cy5.5488nm695nmRL1PE-Cy7488nm785nmRL2APC640nm660nmRL1APC-Cy7640nm785nmRL2BV421405nm421nmVL1BV510405nm510nmVL2BV605405nm605nmVL3BV650405nm650nmVL4BV785405nm785nmVL6DAPI355nm461nmUVPI488nm617nmYL2
Applicable scenario: Simple immunophenotyping analysis
Applicable scenario: Complex cell subset analysis
Applicable scenario: High-dimensional data (>15 colors)
Applicable scenario: Discovery of unknown cell populations
v1.0.0 - Initial version, supports basic gating strategy recommendations
Risk IndicatorAssessmentLevelCode ExecutionPython scripts with toolsHighNetwork AccessExternal API callsHighFile System AccessRead/write dataMediumInstruction TamperingStandard prompt guidelinesLowData ExposureData handled securelyMedium
No additional Python packages required.
Current Stage: Draft
Next Review Date: 2026-03-06
Known Issues: None
Planned Improvements: