Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Advanced single-cell multi-omics analysis including scRNA-seq, scCITE-seq, scATAC-seq, and TARGET-seq. Use when analyzing single-cell data, cell type identification, trajectory analysis, differential expression, UMAP/clustering, integrating protein and RNA modalities (TotalVI), or working with Scanpy, Seurat, scvi-tools. Includes workflows for MPN, hematologic malignancies, megakaryocyte biology.
.claude/skills/bioinformatics-singlecell/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 11 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 21% | 0% |
| case-22 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 108% | 0% |
<!--
#
#
-->
python# Essential imports import scanpy as sc import anndata as ad import scvi import muon as mu import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns # Settings sc.settings.verbosity = 3 sc.settings.set_figure_params(dpi=100, frameon=False, figsize=(6, 6))
python# 1. Load and QC adata = sc.read_10x_mtx('path/to/filtered_feature_bc_matrix/') sc.pp.filter_cells(adata, min_genes=200) sc.pp.filter_genes(adata, min_cells=3) adata.var['mt'] = adata.var_names.str.startswith('MT-') sc.pp.calculate_qc_metrics(adata, qc_vars=['mt'], inplace=True) adata = adata[adata.obs.pct_counts_mt < 20, :] # 2. Normalization & HVG sc.pp.normalize_total(adata, target_sum=1e4) sc.pp.log1p(adata) sc.pp.highly_variable_genes(adata, n_top_genes=2000, batch_key='batch') # 3. Dimensionality reduction sc.pp.scale(adata, max_value=10) sc.tl.pca(adata, svd_solver='arpack') sc.pp.neighbors(adata, n_neighbors=15, n_pcs=40) sc.tl.umap(adata) sc.tl.leiden(adata, resolution=0.5)
python# Setup MuData mdata = mu.MuData({'rna': adata_rna, 'protein': adata_prot}) # Train TotalVI scvi.model.TOTALVI.setup_mudata( mdata, rna_layer='counts', protein_layer='counts', batch_key='batch', modalities={'rna_layer': 'rna', 'protein_layer': 'protein'} ) model = scvi.model.TOTALVI(mdata, latent_distribution='normal', n_latent=20) model.train(max_epochs=200, early_stopping=True) # Get embeddings mdata.obsm['X_totalVI'] = model.get_latent_representation() sc.pp.neighbors(mdata, use_rep='X_totalVI') sc.tl.umap(mdata) sc.tl.leiden(mdata, key_added='leiden_totalVI', resolution=0.6)
python# DEG analysis sc.tl.rank_genes_groups(adata, 'leiden', method='wilcoxon') result = adata.uns['rank_genes_groups'] df = pd.DataFrame({ 'gene': result['names']['0'], 'log2FC': result['logfoldchanges']['0'], 'pval_adj': result['pvals_adj']['0'] }) sig_genes = df[(df['pval_adj'] < 0.05) & (abs(df['log2FC']) > 1)]
python# Dot plot with proper expression cutoffs sc.pl.dotplot( adata, var_names=marker_genes, groupby='leiden', expression_cutoff=0.0001, mean_only_expressed=False, standard_scale='None', smallest_dot=0.1, dot_max=1.0, cmap='viridis', colorbar_title='Expression' ) # UMAP by batch for batch in adata.obs['batch'].unique(): adata_batch = adata[adata.obs['batch'] == batch] sc.pl.umap(adata_batch, color='FOXP3', title=f'{batch}')
python# Save processed data adata.write('processed_adata.h5ad') model.save('totalvi_model/') df.to_csv('DEG_results.csv', index=False)
See references/cell_markers.md for complete marker lists. See references/scvi_advanced.md for advanced scvi-tools workflows.
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-24 | pass→pass | 12,800 | 2,722 | -79% | 1 | 1 | 0% | 2,495 | 1,859 | -25% | 0 | 0 | — |
case-01 | fail→pass | 20,561 | 19,516 | -5% | 1 | 1 | 0% | 4,584 | 5,649 | +23% | 0 | 0 | — |
case-02 | fail→pass | 14,941 | 12,499 | -16% | 1 | 1 | 0% | 3,243 | 3,931 | +21% | 0 | 0 | — |
case-07 | pass→fail | 15,690 | 7,867 | -50% | 1 | 1 | 0% | 3,227 | 2,877 | -11% | 0 | 0 | — |
case-21 | pass→pass | 14,170 | 12,790 | -10% | 1 | 1 | 0% | 2,777 | 3,832 | +38% | 0 | 0 | — |
case-22 | fail→pass | 14,853 | 3,289 | -78% | 1 | 1 | 0% | 2,570 | 1,968 | -23% | 0 | 0 | — |
case-23 | pass→pass | 16,890 | 12,261 | -27% | 1 | 1 | 0% | 3,333 | 3,777 | +13% | 0 | 0 | — |
case-03 | fail→fail | 15,279 | 11,413 | -25% | 1 | 1 | 0% | 3,089 | 4,007 | +30% | 0 | 0 | — |
case-04 | pass→pass | 12,838 | 14,922 | +16% | 1 | 1 | 0% | 2,662 | 4,503 | +69% | 0 | 0 | — |
case-05 | pass→pass | 16,678 | 20,227 | +21% | 1 | 1 | 0% | 3,361 | 5,511 | +64% | 0 | 0 | — |
case-06 | fail→fail | 16,641 | 18,056 | +9% | 1 | 1 | 0% | 3,042 | 4,874 | +60% | 0 | 0 | — |
case-08 | pass→pass | 8,695 | 5,210 | -40% | 1 | 1 | 0% | 1,780 | 2,254 | +27% | 0 | 0 | — |
case-09 | pass→pass | 6,416 | 2,314 | -64% | 1 | 1 | 0% | 1,197 | 1,788 | +49% | 0 | 0 | — |
case-10 | fail→pass | 12,135 | 10,310 | -15% | 1 | 1 | 0% | 2,522 | 3,277 | +30% | 0 | 0 | — |
case-11 | fail→pass | 8,173 | 8,781 | +7% | 1 | 1 | 0% | 1,501 | 3,128 | +108% | 0 | 0 | — |
case-12 | pass→pass | 9,842 | 4,858 | -51% | 1 | 1 | 0% | 1,842 | 2,128 | +16% | 0 | 0 | — |
case-13 | fail→pass | 7,689 | 1,909 | -75% | 1 | 1 | 0% | 1,534 | 1,680 | +10% | 0 | 0 | — |
case-14 | fail→pass | 9,751 | 1,878 | -81% | 1 | 1 | 0% | 1,864 | 1,668 | -11% | 0 | 0 | — |
case-15 | pass→pass | 4,900 | 3,384 | -31% | 1 | 1 | 0% | 969 | 2,057 | +112% | 0 | 0 | — |
case-16 | pass→pass | 10,642 | 6,029 | -43% | 1 | 1 | 0% | 1,979 | 2,541 | +28% | 0 | 0 | — |
case-17 | fail→pass | 13,807 | 3,375 | -76% | 1 | 1 | 0% | 2,411 | 2,019 | -16% | 0 | 0 | — |
case-18 | fail→pass | 11,626 | 2,531 | -78% | 1 | 1 | 0% | 2,088 | 1,859 | -11% | 0 | 0 | — |
case-19 | pass→pass | 29,614 | 8,350 | -72% | 1 | 1 | 0% | 2,846 | 2,943 | +3% | 0 | 0 | — |
case-20 | pass→pass | 13,194 | 9,249 | -30% | 1 | 1 | 0% | 2,678 | 3,157 | +18% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +33 percentage points is the difference between those two pass rates over the 24 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/24/2026 | +32% |
Other measured skills in the registry, with their headline benchmark lift.