baSeq
baSeq docs › Plan a whole workflow

Plan a whole workflow

Describe the analysis you want in plain language, and let baSeq plan the whole sequence of steps, fill in the settings, and run them in order, after you review the plan. The Workflow planner is an optional shortcut. You can still run any step by hand from the step bar.

When to use it

Use the planner when you have a multi-step goal in mind: compare two groups, then make a volcano plot, then run GO term enrichment on the results, or set up an analysis end to end. For a single quick step, opening it from the step bar is faster.

Opening the planner

The workspace has a small floating bar of icons in the bottom corner with three buttons, in order: Chat, Notes, and Workflow. Click Workflow (the sitemap icon) to open the side panel on its Workflow tab.

The Workflow button needs data first

The Workflow button stays greyed out until you have uploaded and set up your data. Its tooltip then reads "Upload your data first to plan a workflow", and once data is ready, "Plan a workflow". The planner needs to see your data to choose the right settings.

Describe your goal

The panel reads: "Describe the analysis you want. An AI model plans the steps, and you review the plan before anything runs." Type your goal into the box. The placeholder shows the idea: "e.g. Compare treated vs control, then show a volcano plot and GO term enrichment for the differentially expressed genes."

  • Name the comparison (which groups) and the outputs you want.
  • Mention specific genes, pathways, or colors in plain words if you have them in mind.
  • You can say "if possible" for steps that are optional to you.

Then click Preview plan.

Review the plan

The preview is a numbered list of steps. Each shows its name in the app and the settings the planner chose, named as in the step's form, plus a "Note:" line for any free-text intent (for example, genes to highlight). Prerequisite steps you did not mention (such as filtering, model fitting, or PCA) are added automatically and put in the right order. Nothing has run yet, so you can read the whole plan first.

The Workflow tab with a goal and a two-step plan: Heatmap and GO Term Enrichment
A plan for a heatmap of the agr operon and GO term enrichment, ready to run.

"Heads up" advisories

The preview may include a Heads up: list. These are advisories so you can adjust before running. They cover things like:

  • A step was dropped because the comparison column or value is not one of the real options. Rephrase it using a real grouping factor and its actual groups.
  • A plot with many comparisons was split into several runs because it exceeds the per-plot limit (six panels by default).
  • A step is not available for this session's organism, so it was left out.
  • A step would fail as planned, for example a group with too few replicates or samples for differential expression.

Run the plan

Click Run N steps (the button shows the real count, for example "Run 5 steps" or "Run 1 step") to queue the whole plan as one workflow. Start over clears it so you can rephrase. After queuing you see: "Queued N steps. Tracking progress below; the run stops if a step fails." The queued steps also appear in the normal analysis view, alongside any steps you ran by hand, with the same result cards.

Watch progress

The panel becomes a live checklist with a header like "3 of 7 steps done" and a status icon on each step (done, running, failed, or cancelled). The steps run one at a time, in order.

If a step fails, the run stops

If any step fails, the workflow stops there and the remaining planned steps are cancelled, so nothing runs on a broken result. The status reads "Workflow stopped at a failed step. Open that step in the analysis view for details." Open that step to see what happened, fix it, and run on from there.

When everything finishes you see "Workflow complete." and a Plan another workflow button.

Save an analysis as a protocol

A protocol is an analysis's steps with their settings and instructions, saved to run again on other data. At the bottom of the Workflow tab, choose Save this analysis as a protocol, give it a name, choose Only me or Share with <lab>, and press Save. baSeq keeps the latest completed step and the steps it was run from, in order. The upload and lab scripts are left out, since each analysis brings its own data. Lab members can also save a protocol from a colleague's analysis they open read-only.

Run a protocol

When you have protocols for this kind of analysis, the Workflow tab shows Or run a protocol under the goal box. Pick one and press Preview. baSeq checks every step's settings against this analysis's data the same way it checks a planned goal: a comparison that does not exist here is adjusted or dropped and listed under Heads up, and missing prerequisites are added. Review the plan, then run it as above. Turning a protocol into a plan does not use the assistant.

Delete next to Preview removes the chosen protocol. It shows for the protocols you saved, and for the lab owner on the lab's protocols. A lab page's Protocols tab lists the protocols shared with that lab. A facility inbox can also run a protocol on each delivery; see Run a protocol on each delivery.

Good to know

  • Only one planned workflow can be queued or running per session at a time. If one is already active, baSeq tells you: "A planned workflow is already queued or running for this session."
  • The planner reads your real data to choose settings, so it may drop or adjust steps that do not match your actual columns and values. It plans only the outputs you ask for and backfills the prerequisites; it will not invent analyses.
  • You can still run any step manually from the step bar at any time.
  • You can close the tab. The run continues on the server, and reopening the panel resumes the live progress view. When a workflow that took five minutes or more ends, one email says it finished, or at which step it stopped.

Planner, Chat, or running steps by hand

These work together. baSeq Chat advises and can recommend the planner and help you phrase a goal, but it cannot operate the planner or run steps. Running steps from the step bar gives you full per-step control (see The analysis workspace). The planner is the fastest way to set up and run a whole analysis at once.

baSeq ApS · CVR 44568691 · Vermlandsgade 51, 2300 Copenhagen, Denmark · [email protected]

For research use only. Not for diagnostic or clinical decisions.