मुख्य सामग्री पर जाएँ
Skillpedia
मशीन लर्निंग51k · #3571

scvi-tools

यह क्या करती है

यह टूल वैज्ञानिकों को single-cell डेटा, जैसे DNA और RNA, का विश्लेषण करने में मदद करता है। यह cells के बीच अंतर और संबंधों को समझने के लिए mathematical models का इस्तेमाल करता है।

कब इस्तेमाल करें

  • ✓जब आपके पास single-cell डेटा हो और आप cells के बीच अंतर समझना चाहते हों।
  • ✓cells को उनकी विशेषताओं (RNA, proteins आदि) के आधार पर group करने के लिए।
  • ✓अलग-अलग experiments या cell samples की तुलना करने के लिए।

Skill का लिंक

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/scvi-tools/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/scvi-tools/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे single-cell RNA डेटा का विश्लेषण करके cell clusters ढूंढो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप कच्चा cell डेटा देते हैं, और टूल patterns और अंतर खोजने के लिए statistical models लगाता है। यह अलग-अलग तरह के डेटा (जैसे RNA और proteins) को मिलाकर अधिक पूर्ण विश्लेषण कर सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

scvi-tools

Targets scvi-tools 1.5.1, released September 10, 2026. APIs below were checked against the tagged source and official documentation. The examples are illustrative: the repository tests exercise short CPU synthetic fits for SCVI, SCANVI, TOTALVI, MULTIVI, METHYLVI, PEAKVI and POISSONVI, plus count-preserving preprocessing, DE output contracts, save/load and minification. The tested stack is Python 3.13, Scanpy 1.12.4, AnnData 0.13.4, MuData 0.4.1, PyTorch 2.14.1 and Lightning 2.6.6. Long training, hardware-specific paths and other specialized workflows remain illustrative; these checks do not establish convergence or biological validity.

Choose the model and its input contract

Task Class Required input
RNA integration scvi.model.SCVI Unnormalized RNA counts
RNA annotation scvi.model.SCANVI Counts and partial labels
CITE-seq scvi.model.TOTALVI RNA and protein counts, aligned cells
RNA + ATAC integration scvi.model.MULTIVI Registered MuData with aligned modality representation
ATAC accessibility scvi.model.PEAKVI Cells by peaks, binary/count accessibility
Quantitative ATAC scvi.external.POISSONVI Region-level fragment counts
Methylation scvi.external.METHYLVI, METHYLANVI MuData with methylated and total coverage counts
Cytometry scvi.external.CYTOVI Transformed protein intensities
Large cross-system effects scvi.external.SysVI Normalized, log-transformed expression
RNA velocity scvi.external.VELOVI Preprocessed spliced/unspliced abundances

The count rule is model-specific: do not feed raw RNA counts to SysVI or replace methylation coverage with ratios. Likewise, never reconstruct counts by exponentiating log-normalized data. Preserve measured counts and preprocessing provenance.

Read the corresponding references before using a specialized model:

Release boundaries: JAX support, including JaxSCVI, was removed in 1.5. scvi.model.mlxSCVI remains a separate optional Apple-silicon implementation; PyTorch MPS and MLX are different backends. Spatial models and DIAGVI remain importable in 1.5.1, but upstream directs their ongoing maintenance to scVIVA-tools. Use the pinned compatibility examples here only for existing scvi-tools workflows.

Workflow

  1. Confirm modality, raw-data provenance, unique cell/feature IDs, feature order, batch/sample metadata, and the intended biological comparison.
  2. Perform QC and feature selection before model registration. Use count-aware HVG selection for count layers, and preserve a full-gene count object for later analyses outside the selected feature set.
  3. Register the exact data object with that model's setup_anndata or setup_mudata; create and train the model. Setup is registration, not normalization.
  4. Inspect validation history, held-out fit, seed stability, batch mixing and retention of known biology. A well-mixed UMAP alone does not validate integration.
  5. Extract representations or model-specific normalized outputs; save the model, data, selected feature order, software versions, seed and training parameters.

Illustrative RNA workflow

Assumes rna_counts.h5ad contains measured, unnormalized counts in .X, with nonmissing obs['batch']. Choose QC thresholds for the experiment before this block.

import numpy as np
import scanpy as sc
import scvi
from scipy import sparse

scvi.settings.seed = 0
adata = sc.read_h5ad("rna_counts.h5ad")
assert adata.obs_names.is_unique and adata.var_names.is_unique
assert adata.obs["batch"].notna().all()
x = adata.X
values = x.data if sparse.issparse(x) else np.asarray(x)
assert np.isfinite(values).all() and (values >= 0).all()
assert np.allclose(values, np.rint(values))
assert (np.asarray(x.sum(axis=1)).ravel() > 0).all()
adata.layers["counts"] = x.copy()

…
अक्सर पूछे जाने वाले सवाल

'single-cell data' क्या है?

यह अलग-अलग cells से इकट्ठा किया गया डेटा है, जिससे पूरे समूह को एक साथ देखने की तुलना में कहीं अधिक विस्तृत विश्लेषण संभव होता है।

'probabilistic models' क्या हैं?

ये mathematical models हैं जो probability के सहारे परिणामों का वर्णन और अनुमान लगाते हैं, जिससे डेटा में मौजूद अनिश्चितता को समझने में मदद मिलती है।

क्या मैं इसे किसी भी biological डेटा के लिए इस्तेमाल कर सकता हूँ?

यह single-cell 'omics' डेटा के लिए अनुकूलित है, जैसे RNA, ATAC, proteins और methylation। दूसरे प्रकार के डेटा के लिए अलग tools की ज़रूरत पड़ सकती है।

जानकारी

लेखक का मूल विवरण

Fits probabilistic models for single-cell omics, including scVI batch integration, scANVI annotation, totalVI CITE-seq, MultiVI RNA/ATAC integration, and posterior differential expression. Use for generative modeling, reference mapping, multimodal analysis, or model-based uncertainty; use scanpy for standard preprocessing and exploratory analysis.

repo: K-Dense-AI/scientific-agent-skills

लोकप्रियता

GitHub स्टार
51k
रैंकिंग में स्थान
#3571
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

13c-metabolic-flux

51k

कार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

adaptyv

51k

Adaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।

AI और एजेंटएजेंट

aeon

51k

टाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

alphagenome

51k

जेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।

डेटामशीन लर्निंग

मिलती-जुलती skills