Drylab
Chat & Analysis

Structured Workflows

Run a validated, step-by-step analysis that pauses for your decisions at the steps that matter.

A structured workflow is a pre-built analysis for a common task, such as scRNA-seq QC and clustering, flow cytometry gating or bacterial genome assembly. It runs the same validated steps every time and pauses at subjective steps (for example QC cutoffs or clustering resolution) so you make the scientific decisions with live evidence in front of you.

When to use a workflow

Use a structured workflow when...Use a normal prompt when...
The task is a standard analysis with known best practicesThe question is new or exploratory
You want the same steps every time, for example across samples or projectsYou want Drylab to choose the methods
Key choices (cutoffs, resolution, labels) should be yoursYou only need a quick answer, a plot or a test
You need to report how each step was doneThe analysis is a one-off

What you get with a workflow:

  • Validated steps. Each step follows Drylab's tested protocol for that data type, including the checks experts usually do by hand.
  • Your decisions, with evidence. At subjective steps Drylab stops and shows the plots, tables or numbers you need, with its recommendation already selected.
  • Reproducible results. The steps, the values you chose and the code all end up in the notebook.

Available workflows

WorkflowForStepsDecisions you make
scRNA QC + ClusteringRaw single-cell RNA-seq6QC cutoffs with live cell retention, doublet removal, clustering resolution (pick a UMAP)
scRNA Cell-Type AnnotationA clustered single-cell object5Clustering resolution (pick a UMAP), per-cluster cell-type labels, whether to subcluster mixed clusters
Spatial Domain Detection & AnnotationVisium, Visium HD or Xenium slides6Tissue filters, spatial-domain method and granularity, reference mapping, domain labels
Flow Cytometry AnalysisRaw FCS files8Experiment map, panel map, gates
Microscopy SegmentationMicroscopy images5Segmentation method, mask corrections (click or draw on the image), object-size filter
Small-Molecule Docking & Hit TriageA protein target and a compound library6Binding pocket, docking-score cutoff, pose triage, property liabilities
Bacterial WGSBacterial isolate reads11Study scope, assembler, assembly QC, species and typing, resistance screening, sign-off
Fungal GenomeFungal isolate reads11Study scope, assembler, assembly QC, species identification, sign-off
Viral GenomeViral sample reads11Study scope, assembly mode, coverage QC, virus and lineage, sign-off
Shotgun MicrobiomeShotgun metagenomes or abundance tables17Study scope, input route, depth cutoff, diversity and abundance methods, optional add-ons, sign-off

Find a workflow

Type @w in the chatbox, followed by a keyword, to list matching workflows. Each entry shows how many steps it has.

Workflows matching "scRNA"

You can also open the Workflows tab in the @ picker. See Mention Files and Resources.

Preview the steps

Hover a workflow to see its Decision Flow, the numbered Steps & Artifacts, its Documentation and the Skills Used.

Preview of scRNA QC + Clustering

The legend shows three kinds of steps:

  • Step: runs on its own.
  • Review: shows a result, such as a table or plot, for you to check in the step review card.
  • Decision: pauses mid-step for your choice.

The tag next to each step names the interactive view you will see:

TagYou will...
Single Choice / Multi ChoicePick one or several options
Image ChoicePick from candidate plots, for example UMAPs at different resolutions
Threshold / RangeSet a cutoff or a range, with a live preview of its effect
Parameter FormFill in parameters
Table EditReview and correct a generated table, for example cell-type labels
Gating Tree / Interactive Gating / GatingReview or adjust flow cytometry gates
Compensation Matrix / Positive % / MFI TableReview flow cytometry compensation and marker positivity
Image AnnotateClick points or boxes on a microscopy image
Embedding Scatter / Spatial Viewer / 3D MoleculeExplore an interactive UMAP, tissue map or protein structure
CustomUse a purpose-built interactive view

How to answer each of these is explained in Plans and Questions.

Run a workflow

  1. Select the workflow from the picker, then mention your data and add any details (organism, metadata columns, thresholds you already know).
  2. Send the message, review the plan, and approve it.
  3. When a step needs your choice (a Decision tag), Drylab pauses with a Decision needed card: check the evidence, adjust the choice, and click Continue.
  4. Depending on Step review, Drylab may also pause after steps to show Review results. Click Approve & continue, or Request changes.
  5. At the end, Drylab summarizes the results in the chat and saves every step, with the values you chose, in the notebook.

Example messages:

  • @scRNA QC + Clustering on @pbmc_10k.h5 (human, mitochondrial genes start with MT-)
  • @Flow Cytometry Analysis on the FCS files in @fcs_run_01; controls are the FMO files
  • @Microscopy Segmentation on @nuclei_dapi.tif, segment the nuclei

See Plans and Questions for every card a workflow can pause with, including picking the best image and marking an image.

Set Step review to Every step the first time you run a workflow on a new dataset. See Analysis settings.

For a full example, see The scRNA-seq Workflow in Drylab.

Automatic workflow detection

If you don't mention a workflow but your request matches one, Drylab shows Structured workflow detected and asks how to proceed: click Interactive to run the workflow, or No workflow to continue without it. Tick Remember my choice for future sessions to stop asking.

You can change the default in Settings > General > Structured workflows ("When no workflow is mentioned, how should we handle a detected match?"):

OptionBehavior
Ask meAsk each time a relevant workflow is detected.
InteractiveApply detected workflows automatically, with review on subjective steps.
AutomatedApply detected workflows automatically and run them fully automated.
OffNever detect or suggest structured workflows.

Tips

  • Mention the data in the same message as the workflow, so Drylab can start straight away.
  • Give what you already know (organism, controls, expected cell types). Drylab takes it into account when it recommends choices.
  • Take your time at decisions. Drylab waits at each card, so you can open the plots full size before choosing.
  • Changed your mind after a step? Type in the chatbox to steer, or use Request changes on the step review card.

On this page