Scvelo

From mkurman/zorai · View interactive version

Scvelo is an AI agent skill from the GitHub repository mkurman/zorai. RNA velocity analysis with scVelo. Estimate cell state transitions from unspliced/spliced mRNA dynamics, infer trajectory directions, compute latent time, and identify driver genes in single-cell RNA-seq data. Complements Scanpy/scVI-tools for trajectory inference.

How to use this skill

Skill file

--|-------------|

| adata.layers | velocity | RNA velocity per gene per cell |

| adata.layers | fit_t | Fitted latent time per gene per cell |

| adata.obsm | velocity_umap | 2D velocity vectors on UMAP |

| adata.obs | velocity_pseudotime | Pseudotime from velocity |

| adata.obs | latent_time | Latent time from dynamical model |

| adata.obs | velocity_length | Speed of each cell |

| adata.obs | velocity_confidence | Confidence score per cell |

| adata.var | fit_likelihood | Gene-level model fit quality |

| adata.var | fit_alpha | Transcription rate |

| adata.var | fit_beta | Splicing rate |

| adata.var | fit_gamma | Degradation rate |

| adata.uns | velocity_graph | Cell-cell transition probability matrix |

Velocity Models Comparison

| Model | Speed | Accuracy | When to Use |

|-------|-------|----------|-------------|

| stochastic | Fast | Moderate | Exploratory; large datasets |

| deterministic | Medium | Moderate | Simple linear kinetics |

| dynamical | Slow | High | Publication-quality; identifies driver genes |

Best Practices

Troubleshooting

| Problem | Solution |

|---------|---------|

| Missing unspliced layer | Re-run velocyto or use STARsolo with --soloFeatures Gene Velocyto |

| Very few velocity genes | Lower min_shared_counts; check sequencing depth |

| Random-looking arrows | Try different n_neighbors or velocity model |

| Memory error with dynamical | Set n_jobs=1; reduce n_top_genes |

| Negative velocity everywhere | Check that spliced/unspliced layers are not swapped |

Additional Resources

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.