latchbio-integration
Ce qu’il fait
Cette skill apprend à votre agent à utiliser le SDK Latch pour transformer du code Python en flux de travail dans le cloud. Elle couvre aussi les pipelines Nextflow et Snakemake. Elle s'adresse aux développeurs en bioinformatique qui veulent des pipelines partageables, exécutés dans le cloud.
Quand l’utiliser
- ✓Quand vous voulez transformer une analyse Python en flux de travail sans serveur sur Latch.
- ✓Quand une tâche a besoin d'un GPU ou d'une grande quantité de mémoire.
- ✓Quand vous voulez exécuter un pipeline Nextflow ou Snakemake existant sur Latch.
Lien du skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/latchbio-integration/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Transforme ce script Python d'alignement en flux de travail Latch qui tourne sur un GPU et prend un fichier FASTQ en entrée.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent ajoute les décorateurs Latch à votre code, définit les ressources nécessaires à chaque tâche, puis déploie le flux de travail. La plateforme génère ensuite un formulaire web pour que les utilisateurs puissent le lancer.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Dois-je écrire une interface utilisateur ?
Non. La skill indique que Latch génère automatiquement une interface sans code pour chaque flux de travail déployé.
Qu'est-ce que LatchFile ?
C'est un objet Latch qui gère le transfert de fichiers entre votre ordinateur et le stockage cloud.
Quels GPU sont pris en charge ?
La skill cite les GPU K80, V100 et A100.
Détails
Description originale de l’auteur
Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.
Popularité
- Étoiles GitHub
- 33k
- Position au classement
- #8972
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
owasp-security
33kApprend à votre agent les recommandations de sécurité OWASP pour les applications web, les API, le mobile, les conteneurs et les agents d'IA, afin qu'il repère les faiblesses courantes et propose des correctifs.
agent-management
33kPermet à votre agent de créer, lister, mettre en veille, réveiller, renommer et supprimer des agents d'IA à l'aide de l'outil en ligne de commande AI Maestro, en gérant le cycle de vie de chaque agent.
agent-messaging
33kPermet à votre agent d'envoyer, de recevoir et de répondre à des messages signés entre agents d'IA, grâce au protocole Agent Messaging, principalement sur votre propre machine.
docs-search
33kPermet à votre agent de rechercher dans la documentation de code générée automatiquement les signatures de fonctions, les définitions de classes et les commentaires, pour vérifier la véritable API avant de modifier le code.
Skills similaires
gitcrawl
394kPermet à votre agent de chercher dans une archive de tickets et pull requests GitHub, de regrouper les doublons et de vérifier leur statut actuel.
slacrawl
394kPermet à votre agent de chercher et de compter des messages dans une archive Slack locale, de vérifier sa fraîcheur et de la rafraîchir au besoin.
goplaces
394kAide votre agent à rechercher des lieux, obtenir leurs détails et avis, et identifier des noms de lieux avec Google Places, avec une sortie JSON pour les scripts.