# How it works · Genie

> Provenance, Methods text, pinned versions and the bundled engines with their licences.

Web page: https://geniedna.science/how-it-works · Site summary for AI agents: https://geniedna.science/llms.txt

How it works · reproducibility

# Reproducibility and provenance.

Each step records its recipe: the exact input files, the program and version, the settings and the decisions made during analysis. Questions from reviewers can be answered from this record.

#### Data

52 sequencessha256 9f2c…e41a

#### Settings

IQ-TREE 3.1.4-m MFP -B 1000

#### Results

Run #15tree + support

#### Review decisions

“Kept clade B as a separate species: ASAP and mPTP agree.”

#### Report

Methods, figuresand a full run log

Example values

01

## Versions and undo

Sequences, alignments, trees and results are stored in the Library, organised in projects. Every change creates a new version that can be restored, and any action can be undone. Deleted items go first to an archive or the trash, and a project can be mirrored into a folder on disk.

- Library & projects

- Versions

- Undo

- Archive & trash

- Folder on disk

02

## Plans, checks and saved pipelines

Analyses are grouped by the question they address. Before a run, Genie checks the data for problems and shows the plan for review. Frequently used steps can be saved as a pipeline, and setting profiles can be shared within a lab. With [Lab Space](https://geniedna.science/lab-space), a team shares and reviews projects. Genie suggests follow-up analyses for each result.

- Readiness checks

- Review the plan

- Saved pipelines

- Setting profiles

- Next analyses

03

## Sources and watches

Search GenBank and NCBI, BOLD, UniProt and Europe PMC from inside Genie, connect to a Galaxy server, and save a search as a watch that reports when new records appear (for example, new COI records for a genus).

- GenBank / NCBI

- BOLD

- UniProt

- Europe PMC

- Galaxy

- Watches

04

## How to read this

Every figure and result comes with a plain-language explanation of how to read it, and key findings written from its own numbers, for students and reviewers.

- How to read this

- Key findings

05

## Methods text and reproducible scripts

Because every step is recorded, Genie writes the Methods paragraph and its citations from the recorded runs, and exports R and Python scripts or a Nextflow pipeline so a colleague or reviewer can recompute the numbers without Genie.

- Methods paragraph

- Citations

- R

- Python

- Nextflow

06

## Performance on large datasets

Genie's own calculations run in parallel across the processor's cores, and large distance calculations can use the Mac's graphics processor (Metal) when that is faster, with exactly the same answers either way. Genie provides advice before a plan runs on a large dataset.

- Parallel

- GPU on Metal

- Big-data advice

Scripting and agent access

## Control from scripts and AI agents, with user approval.

A local control channel with three interfaces. Agents and scripts can read the Library and runs, look up analysis steps and their settings, check a plan, and open it in Genie for review. Plans submitted by an agent run only after the user clicks Run.

### Command line

The genie command for shell scripts and lab pipelines: browse the Library, list the analysis steps, validate a plan and check on jobs.

### JSON control channel

A local JSON-RPC channel that only the user's own account can open. It is disabled until switched on in Settings › Tools & connections.

### MCP server

genie mcp connects Claude Desktop, Cursor or any MCP client, so an AI agent can plan analyses with Genie and pass them to the user for review.

- User approvalPlans open in Genie's Review-plan sheet and are not run directly

- Sequences stay privateAgents see names, counts, lengths and provenance; sequence data only with permission

- Local onlyThe channel is local to the Mac and is not exposed to the network

- Off by defaultDisabled until switched on; switched off again in one click

Architecture

## A Rust core with bundled analysis programs.

Genie itself is written in Rust. The analysis programs are bundled and need no separate installation or compilation. Each keeps its own licence, and programs under the GPL or AGPL run as separate programs, never linked into Genie.

We thank the authors of the programs listed above. Each one's licence, source and citation are also listed inside the app.

Pipelines

## Building and sharing pipelines.

- Pipeline builderA pipeline is a line of analysis steps, each checked against the output of the step before; data are chosen when it is run

- Built-in pipelinesPipelines for common workflows, copied and edited as needed

- Plan from a descriptionAsk Genie drafts a pipeline from a sentence for the user to review

- Pipeline filesPipelines versioned, exported and imported as files; shared steps run once

- Failed branchesA failed branch is corrected and rerun without repeating the steps before it

- Rerun bundleOne file a reviewer can rerun, with each input checked against its SHA-256 fingerprint

- Import any fileGenie reads file names, extensions and first bases, and proposes where each file belongs
