latchbio-integration
Was er macht
Dieser Skill bringt deinem Agenten bei, mit dem Latch SDK Python-Code in Cloud-Workflows zu verwandeln. Er behandelt auch Nextflow- und Snakemake-Pipelines. Er richtet sich an Bioinformatik-Entwickler, die teilbare Pipelines in der Cloud ausfĂŒhren wollen.
Wann du ihn nutzt
- âWenn du eine Python-Analyse als serverlosen Workflow auf Latch laufen lassen willst.
- âWenn eine Aufgabe mit einer GPU oder viel Arbeitsspeicher laufen muss.
- âWenn du eine bestehende Nextflow- oder Snakemake-Pipeline auf Latch ausfĂŒhren willst.
Link zum Skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/latchbio-integration/SKILL.mdKopiere ihn und fĂŒge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und fĂŒge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum EinfĂŒgen
FĂŒr Claude Code, Codex oder Cursor: FĂŒhre den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
âKannst du dieses Python-Alignment-Skript in einen Latch-Workflow umbauen, der auf einer GPU lĂ€uft und eine FASTQ-Datei als Eingabe nimmt?â
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent ergĂ€nzt den Code um Latch-Dekoratoren, legt die Ressourcen fĂŒr jede Aufgabe fest und stellt den Workflow bereit. Die Plattform erzeugt dann ein Webformular, ĂŒber das Nutzer den Workflow starten können.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
LatchBio Integration
Overview
Latch is a Python framework for building and deploying bioinformatics workflows as serverless pipelines. Built on Flyte, create workflows with @workflow/@task decorators, manage cloud data with LatchFile/LatchDir, configure resources, and integrate Nextflow/Snakemake pipelines.
Core Capabilities
The Latch platform provides four main areas of functionality:
1. Workflow Creation and Deployment
- Define serverless workflows using Python decorators
- Support for native Python, Nextflow, and Snakemake pipelines
- Automatic containerization with Docker
- Auto-generated no-code user interfaces
- Version control and reproducibility
2. Data Management
- Cloud storage abstractions (LatchFile, LatchDir)
- Structured data organization with Registry (Projects â Tables â Records)
- Type-safe data operations with links and enums
- Automatic file transfer between local and cloud
- Glob pattern matching for file selection
3. Resource Configuration
- Pre-configured task decorators (@small_task, @large_task, @small_gpu_task, @large_gpu_task)
- Custom resource specifications (CPU, memory, GPU, storage)
- GPU support (K80, V100, A100)
- Timeout and storage configuration
- Cost optimization strategies
4. Verified Workflows
- Production-ready pre-built pipelines
- Bulk RNA-seq, DESeq2, pathway analysis
- AlphaFold and ColabFold for protein structure prediction
- Single-cell tools (ArchR, scVelo, emptyDropsR)
- CRISPR analysis, phylogenetics, and more
Quick Start
Installation and Setup
# Install Latch SDK
python3 -m uv pip install latch
# Login to Latch
latch login
# Initialize a new workflow
latch init my-workflow
# Register workflow to platform
latch register my-workflow
Prerequisites:
- Docker installed and running
- Latch account credentials
- Python 3.8+
Basic Workflow Example
from latch import workflow, small_task
from latch.types import LatchFile
@small_task
def process_file(input_file: LatchFile) -> LatchFile:
"""Process a single file"""
# Processing logic
return output_file
@workflow
def my_workflow(input_file: LatchFile) -> LatchFile:
"""
My bioinformatics workflow
Args:
input_file: Input data file
"""
return process_file(input_file=input_file)
When to Use This Skill
This skill should be used when encountering any of the following scenarios:
Workflow Development:
- "Create a Latch workflow for RNA-seq analysis"
- "Deploy my pipeline to Latch"
- "Convert my Nextflow pipeline to Latch"
- "Add GPU support to my workflow"
- Working with
@workflow,@taskdecorators
Data Management:
- "Organize my sequencing data in Latch Registry"
- "How do I use LatchFile and LatchDir?"
- "Set up sample tracking in Latch"
- Working with
latch:///paths
Resource Configuration:
- "Configure GPU for AlphaFold on Latch"
- "My task is running out of memory"
- "How do I optimize workflow costs?"
- Working with task decorators
Verified Workflows:
- "Run AlphaFold on Latch"
- "Use DESeq2 for differential expression"
- "Available pre-built workflows"
- Using
latch.verifiedmodule
Detailed Documentation
This skill includes comprehensive reference documentation organized by capability:
references/workflow-creation.md
Read this for:
- Creating and registering workflows
- Task definition and decorators
- Supporting Python, Nextflow, Snakemake
- Launch plans and conditional sections
- Workflow execution (CLI and programmatic)
- Multi-step and parallel pipelines
- Troubleshooting registration issues
Key topics:
latch initandlatch registercommands@workflowand@taskdecorators- LatchFile and LatchDir basics
- Type annotations and docstrings
- Launch plans with preset parameters
- Conditional UI sections
references/data-management.md
Read this for:
- Cloud storage with LatchFile and LatchDir
- Registry system (Projects, Tables, Records)
- Linked records and relationships
- Enum and typed columns
- Bulk operations and transactions
- Integration with workflows
- Account and workspace management
Key topics:
latch:///path format- File transfer and glob patterns
- Creating and querying Registry tables
- Column types (string, number, file, link, enum)
- Record CRUD operations
- Workflow-Registry integration
references/resource-configuration.md
Read this for:
- Task resource decorators
- Custom CPU, memory, GPU configuration
HĂ€ufige Fragen
Muss ich eine BenutzeroberflÀche schreiben?
Nein. Laut Skill erstellt Latch fĂŒr jeden bereitgestellten Workflow automatisch eine No-Code-OberflĂ€che.
Was ist LatchFile?
Es ist ein Latch-Objekt, das das Verschieben von Dateien zwischen deinem Computer und dem Cloud-Speicher ĂŒbernimmt.
Welche GPUs werden unterstĂŒtzt?
Der Skill nennt die GPUs K80, V100 und A100.
Details
Originalbeschreibung des Autors
Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.
Beliebtheit
- GitHub-Sterne
- 33k
- Platz im Ranking
- #8972
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- âŠ
Weitere Skills aus diesem Repository
owasp-security
33kBringt deinem Agenten OWASP-Sicherheitsrichtlinien fĂŒr Web-Apps, APIs, mobile Apps, Container und KI-Agenten bei, damit er typische Schwachstellen erkennt und Korrekturen vorschlĂ€gt.
agent-management
33kLÀsst deinen Agenten KI-Agenten mit der AI-Maestro-Kommandozeile erstellen, auflisten, pausieren, aufwecken, umbenennen und löschen und so ihren Lebenszyklus verwalten.
agent-messaging
33kLĂ€sst deinen Agenten signierte Nachrichten zwischen KI-Agenten senden, empfangen und beantworten, ĂŒber das Agent Messaging Protocol, ĂŒberwiegend auf deinem eigenen Rechner.
docs-search
33kLĂ€sst deinen Agenten automatisch erzeugte Code-Dokumentation nach Funktionssignaturen, Klassendefinitionen und Kommentaren durchsuchen und so die echte API prĂŒfen, bevor er Code Ă€ndert.
Ăhnliche Skills
gitcrawl
394kLĂ€sst deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prĂŒfen.
slacrawl
394kLĂ€sst deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zĂ€hlen, dessen AktualitĂ€t prĂŒfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe fĂŒr Skripte.