Single cellphone db

From swaruplab/operon · View interactive version

Single cellphone db is an AI agent skill from the GitHub repository swaruplab/operon. Run omicverse's CellPhoneDB v5 wrapper on annotated single-cell data to infer ligand-receptor networks and produce CellChat-style visualisations.

How to use this skill

Skill file

Single-cell CellPhoneDB communication mapping

Overview

Apply this skill when a user wants to quantify ligand–receptor communication between annotated single-cell populations and display the networks with CellChatViz. It distils the workflow from CODE1, which analyses EVT trophoblast data.

Instructions

  1. Prepare the environment
  1. Load and subset the annotated AnnData object
  1. Run CellPhoneDB via omicverse

```python

cpdb_results, adata_cpdb = ov.single.run_cellphonedb_v5(

adata,

cpdb_file_path='./cellphonedb.zip',

celltype_key='cell_labels',

min_cell_fraction=0.005,

min_genes=200,

min_cells=3,

iterations=1000,

threshold=0.1,

pvalue=0.05,

threads=10,

output_dir='./cpdb_results',

cleanup_temp=True,

)

```

  1. Initialise CellChat-style visualisation
  1. Summarise global communication
  1. Interrogate specific pathways
  1. System-level visualisations
  1. Troubleshooting tips

Examples

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.