Toolverse
All skills

single2spatial-spatial-mapping

by Starlitnightly

Map scRNA-seq atlases onto spatial transcriptomics slides using omicverse's Single2Spatial workflow for deep-forest training, spot-level assessment, and marker visualisation.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend
Views
6

About this skill

Map scRNA-seq atlases onto spatial transcriptomics slides using omicverse's Single2Spatial workflow for deep-forest training, spot-level assessment, and marker visualisation.

How to use

  1. Zainstaluj omicverse i wymagane biblioteki (scanpy, anndata, pandas, numpy, matplotlib). Zaimportuj omicverse jako ov i ustaw styl wykresów poleceniem ov.utils.ov_plot_set().

  2. Przygotuj dane: wczytaj macierz scRNA-seq i dane spatial transcriptomics za pomocą pd.read_csv(), następnie konwertuj do obiektów AnnData. Dołącz metadane zawierające typy komórek dla danych single-cell oraz współrzędne przestrzenne (xcoord, ycoord) dla danych spatial.

  3. Zainicjuj Single2Spatial, podając single-cell data, spatial data, klucz kolumny z typami komórek ('Cell_type') oraz klucz kolumn ze współrzędnymi (['xcoord','ycoord']). Upewnij się, że macierze są znormalizowane i log-skalowane.

  4. Wytrenuj model deep-forest poleceniem train(), definiując liczbę pseudo-spotów (spot_num), liczbę komórek na spot (cell_num), katalog zapisu wyników oraz parametry treningu (liczba epok, batch size). Model wygeneruje zrekonstruowaną przestrzenną AnnData.

  5. Załaduj wytrenowany model i zastosuj go do nowych danych spatial, aby uzyskać przewidywane proporcje komórek w każdym spocie.

  6. Wizualizuj wyniki: wyświetl mapy ekspresji markerów na slajdach spatial, porównaj przewidywane proporcje z danymi rzeczywistymi i oceń jakość mapowania na poziomie poszczególnych spotów.

Related skills

video-downloader

by ComposioHQ

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

Backend
50173

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218