What problem does it solve?
This Skill addresses the complex and time-consuming process of single-cell RNA-seq analysis by providing a standardized, scalable toolkit for various stages of the analysis.
Core Features & Use Cases
- Quality Control: Perform automated quality control to filter cells and genes based on various metrics.
- Normalization: Normalize and preprocess data to ensure consistency across experiments.
- Dimensionality Reduction: Apply PCA, UMAP, and t-SNE for visualization and clustering.
- Clustering: Perform Leiden clustering for accurate cell grouping.
- Marker Gene Identification: Automatically identify marker genes for each cluster.
- Cell Type Annotation: Annotate cell types based on gene expression.
- Use Case: When analyzing a single-cell RNA-seq dataset, this Skill provides a complete workflow for quality control, normalization, clustering, and annotation.
Quick Start
To analyze a single-cell RNA-seq dataset using Scanpy, first load the data into an AnnData object and then run the following commands:
sc.read_h5ad('path/to/data.h5ad')
sc.pp.calculate_qc_metrics(adata)
sc.pp.filter_cells(adata, min_genes=200)
sc.pp.filter_genes(adata, min_cells=3)
sc.pp.normalize_total(adata, target_sum=1e4)
sc.pp.log1p(adata)
sc.tl.pca(adata)
sc.tl.umap(adata)
sc.tl.leiden(adata)
sc.tl.rank_genes_groups(adata, 'leiden')
sc.tl.dpt(adata)