bio-single-cell-preprocessing
Installation
SKILL.md
Version Compatibility
Reference examples tested with: scanpy 1.10+, Seurat 5.0+, scran 1.30+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - R:
packageVersion('<pkg>')then?function_nameto verify parameters
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Single-Cell Preprocessing
"Preprocess my scRNA-seq data" -> Remove bad barcodes, correct technical biases, and select informative genes before dimensionality reduction.
- Python:
calculate_qc_metrics()-> filter ->normalize_total()+log1p()->highly_variable_genes() - R: QC ->
NormalizeData()orSCTransform()->FindVariableFeatures()->ScaleData()