Skip to content

sciskillhub/sciskill / community/infercnvpy-skill

infercnvpy-skill

Verified

scRNA-seq CNV analysis with infercnvpy. Infer copy number variation (CNV) from scRNA-seq data. Plays nicely with Scanpy and AnnData.

references/feature_definitions.md

View on GitHub
# Feature Definitions

## `cnv_score_cell`

Per-cell CNV score:

`mean(abs(X_cnv_i))`

Interpretation:

- high values mean strong overall CNV deviation
- useful for first-pass abnormality screening

## `cnv_normal_distance`

Distance from the normal-baseline centroid.

Procedure:

1. compute a baseline centroid from normal reference cells in `X_cnv`
2. compute similarity of each cell to the centroid
3. convert similarity into a distance-like score

Interpretation:

- high values mean the cell profile does not look like normal baseline cells
- complements the per-cell CNV score

## `cnv_segment_score`

Automatic proxy for “broad, contiguous CNV blocks” seen in chromosome heatmaps.

Procedure:

1. z-score each CNV bin using the baseline normal cells
2. mark bins where `abs(z) >= z_threshold`
3. keep only same-sign runs of length `>= min_run`
4. compute the fraction of bins belonging to valid runs

Interpretation:

- low score: fragmented or noise-like deviation
- high score: segment-like CNV structure

This is the most important feature for replacing manual heatmap inspection in automated pipelines.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall