00How to read this document
What "production" means here. Production is deployed only when someone cuts a release tag from the dev branch. The latest one is prod/2026.09.27-1 (27 Sep 2026). This overview is based on the branch currently checked out in the bionl repo. That branch equals dev plus one developer-only change, so it is one release ahead of production. The main thing on it that customers don't have yet is role-based permissions (RBAC). Wherever this matters, it's marked Not in prod yet.
Status labels used throughout:
- Live: in production today.
- Not in prod yet: merged and waiting for the next release.
- Branch only: on a branch that hasn't been merged.
- Flag: depends on a feature flag or deployment setting.
- Unverified: read from code but not confirmed by running the product.
Repos covered:
| Area | Where the code lives | Covered? |
|---|---|---|
| Workflows, Variant Database, Gene Explorer, Sessions, BioMind UI, billing, storage | bionl monorepo |
Yes |
| Cohorts (new version, moved into the monorepo) | bionl branch chore/NBE-74-cohorts-on-the-shared-bionl-auth-stacked, which builds on NBE-69 (PR #452, open) |
Yes. This is the main basis for the Cohorts section. Not on dev and not in prod. |
| Cohorts (version live at cohorts.bionl.ai today) | data-cohorts-server and data-cohorts-frontend |
Covered only to note differences |
| BioMind AI backend | BioMind-Prep (separate Python service) |
Yes |
| Notebook machine image | bionl-runtime |
Yes |
| Variant-calling pipeline | bionl/BioVarFlow on GitHub |
Yes, read-only |
| Variant annotation service (VEP) | vaic-vep |
No. Only its versions as reported back to the platform |
| Credit ledger | accounting-service |
No. Only how the platform calls it |
Deployments. There are three deployments, and they switch features on and off differently:
- Main product: lab.bionl.ai / pan.bio. Everything is on.
- LEAN / nphies: the Saudi national platform, a white-labelled deployment in the client's own cloud account.
- Dammam: a rehearsal copy of LEAN.
Unless stated otherwise, everything below describes the main product.
Words used below:
- Organization (org): a customer account. It owns a wallet of credits and a storage bucket.
- Workspace: a project inside an org. It has its own members, files, notebooks and one compute machine.
- Credits (also called "biotokens"): the platform currency. 1 credit = $0.02.
- Drives: the storage areas a workspace can see:
- Analysis: read-write working files.
- Processed: workflow outputs.
- Org Raw and Raw: approved submitted data and shared reference data.
- Custom drives added by admins.
- Bionl staff: anyone signed in with a company email address. Many features are staff-only.
01Cohorts
a catalog of patient cohorts with a price and cart. It stops at the cart: no checkout, access request, approval or data delivery exists. The data is synthetic (Synthea) plus public TCGA cancer metadata. In production it is effectively staff-only, and the new in-monorepo version is not deployed to production at all.
What it does and who it's for
Cohorts is a data-marketplace catalog for researchers and pharma/biotech buyers looking for patient cohorts. A user can:
- Search and filter across patient-level metadata.
- See summary statistics for a cohort. Individual patient records are never shown.
- Choose how many patients, which data types and for how long.
- Get a price and add it to a cart.
The intended next steps (order, payment, then provisioning a secure research workspace, the "TRE", with the data) exist only in design documents.
Where it runs today vs. what this section describes
- Today (production):
- Users reach Cohorts from a "Cohorts" button in the lab sidebar. It opens the separate site cohorts.bionl.ai and signs them in automatically.
- Only Bionl staff, or users an admin has granted the "cohorts" tester feature, see the button.
- The standalone site also blocks anyone without a company email ("Access Restricted").
- So real customers cannot use it today.
- New version Branch only:
- Cohorts has been moved into the monorepo on the NBE-69/NBE-74 branches.
- It is open to every signed-in user, but it is set up to deploy to the dev environment only (cohorts-dev.pan.bio).
- Where it isn't deployed, the lab's button shows "Coming soon". Once this merges, production users will see a disabled "Coming soon" Cohorts button until a production deployment is planned.
- The screens and business logic are the same in both versions. The differences are sign-in and hosting.
Main user flows
1. Get in
- The user clicks Cohorts in the lab.
- The lab passes their sign-in to the Cohorts site with a single-use code that is valid for 30 seconds.
- The user lands on Cohorts already signed in. The session lasts up to 14 days.
- Signed-out visitors can browse the catalog. Opening a cohort shows a blurred preview with a "Sign in with Bionl" prompt.
- If the hand-off fails, the user sees nothing; the error goes only to the browser console.
2. Browse and search
Search box. Typo-tolerant ("brest" finds "breast"). It understands common medical synonyms, e.g. heart attack → myocardial infarction, HTN, DM, stroke/CVA, WGS, WES, MRI, CT, pediatric. Matches in the cohort name rank highest, then disease, then data types, then population/geography.
Filters (10 dropdowns). Each option shows a live count, and options with zero results never appear.
Filter Options Diseases free text, taken from the data Geography free text, taken from the data Genomics WGS, WES, RNA-seq, Targeted Gene Panels, Single-cell RNA-seq, Methylation/Epigenomics, Proteomics, Metabolomics Clinical EHR, Lab/Biomarkers, Demographics, Phenotypic Imaging CT, Brain/Cardiac/Abdominal MRI ("MRI" selects all three), Digital Pathology, X-Ray/DXA, Ultrasound Population Pediatric (<18), Adult (18–65), Elderly (>65) Ancestry/Ethnicity free text, taken from the data Data recency 0–2, 0–5, 0–10, 10+ years Study type Prospective, Retrospective, Case Control, Clinical Trial, Biobank Provider Synthea, TCGA A "data span in years" filter exists behind the scenes but isn't shown.
Active filters appear as chips, with Clear all.
View and sort. Grid or table view. Sort by Most patients (default), Fewest patients, Relevance, Name A–Z or Z–A, or "Most recent". 20 results per page, with a line reading "N patients across M cohorts".
Empty states:
- "No cohorts found".
- "Nothing matches '…'. Try a different term or adjust your filters."
- "Your current filters returned no results…", with a Clear all filters button.
3. Cohort detail (sign-in required)
The patients shown are whichever ones matched the filters chosen on the search page. There are no filters on the detail page itself.
Tabs:
Tab What it shows Overview counts of phenotypes, "genetic variants", images, specimens and medications; data-type mix; top phenotypes; how many patients have Genomics+Clinical+Imaging vs fewer types; data sources; age and BMI Genomics modality and ancestry distribution Clinical top 20 diagnoses, population, sex and age, survival summary Samples totals, tissue types, preservation. "Collection method" is always empty. Imaging counts by modality Configure Access see step 4
4. Configure access and price
Presets:
Preset Patients Duration Data types Discovery 10% 3 months clinical only Research 50% 6 months genomics + clinical Enterprise 100% 12 months genomics + clinical + imaging The user can also set everything by hand:
- Sample size: a slider with 10/25/50/75/100% shortcuts.
- Duration: 3, 6, 12, 24 or 36 months.
- Data types: a checkbox per type.
"Exact Match" limits the count to patients who have all the selected data types. It is only an on-screen estimate; the server ignores it.
Asking for a price randomly reserves that specific set of patients. The same patients are kept when the item is added to the cart.
A cohort with no samples shows "No Samples Available… Browse other cohorts".
Errors the user can hit:
- "No session found. View a cohort first."
- "Sample size must be between 1 and N."
- "Data types not available in this cohort."
- "User not found."
5. Cart
- Add to cart. If that cohort is already in the cart, the user is asked whether to replace it.
- What each item stores: the reserved patient list, the chosen options, the locked price and a snapshot of the cohort.
- Remove and clear: users can remove single items or clear the whole cart.
- Empty cart: shows "No items yet".
6. Request access / checkout: not built
- The cart's only button is "Request Access — Reviewed by the data governance team", and it is permanently disabled.
- There is no order, payment, approval queue, notification, or delivery of data.
- The buyer never receives any data.
Pricing
Prices are in USD, per patient per year, by data type:
Data type Price WGS $15 Single-cell RNA-seq $10 WES, targeted panels, RNA-seq, methylation $7 Proteomics, metabolomics $4 Each imaging type $3 EHR, labs, phenotypic $2 Demographics $1 Each data type is charged only for patients who actually have it.
Volume discount: 10% at 500+ patients, 20% at 1,000+, 30% at 5,000+.
Duration discount: 0% for 3 months, 10% for 6 months, 30% for 12–24 months, 50% for 36 months.
The two discounts multiply rather than add: 30% + 30% gives 51% off, not 60%.
Admins can override prices per cohort in the database. There is no admin screen for it.
Mismatch: the on-screen badge says 12 months = "10% off", but the price actually applies 30%. The total shown is correct; only the badge is wrong.
There is no payment integration.
Roles and permissions
- Buyers: any signed-in lab user (new version). There are no org, role or plan checks, and the cart belongs to the individual user. The design says the cart should belong to the org; that isn't built.
- Admin tasks: loading data and generating synthetic patients need a secret admin key, and there is no admin screen.
- There is no data-owner role and no approval step.
Where the data comes from
- Synthea: fully synthetic patients from an open-source simulator. There are about 15 cohorts, e.g. "Synthea I", "Synthea CA Large", "Pediatric", "TX Male", roughly 40,000 patients in total. They have no genomics data.
- TCGA: real but public, open-access cancer case metadata from the US National Cancer Institute's data portal. This is metadata only (diagnoses, which data types exist, slides), not the underlying genomic files.
- MIMIC: a demo dataset was supported in the old version and dropped in the new one. Old MIMIC records may still be in the index Unverified.
- No hospital or customer patient data is in the system. A template for real data providers exists only as documentation.
- About 52,000 patient records were in the dev search index on 29 Sep 2026.
- Cohort titles are auto-generated, e.g. "Synthea I Cohort". Descriptions are generic ("N patients matching filters").
- The "Provider" filter openly shows "Synthea", which tells a knowledgeable client the data is synthetic.
Storage and outside services
- Storage:
- Patient records live in a search index (Elasticsearch).
- Browsing sessions, reserved patients and sign-in codes are kept in Redis.
- Carts and pricing live in the shared Postgres database.
- Outside services:
- Firebase (sign-in).
- Sentry (error tracking).
- The NIH data portal (only when loading TCGA).
- Cloudflare (hosting, new version) or Vercel (old version).
- No AI, email or payment services are used.
Unfinished, disabled or buggy
- No checkout or access request. The button is disabled.
- "Most recent" sort isn't real. It sorts by cohort ID in reverse alphabetical order.
- "Genetic variants" count is misleading. It adds up patients per genomics type; it is not a variant count.
- Placeholder values:
- Every TCGA cohort defaults to "United States – Northeast" and "Retrospective".
- "Collection method" is always empty.
- Search engines are blocked until launch.
02Workflows
a solid, working way to run any Nextflow pipeline (the full nf-core catalog plus privately imported repos) on Google Cloud, with a live run view. Workflow compute is not billed to customers today. Variant calling is the company's own pipeline, BioVarFlow, which users run like any other workflow.
What it does and who it's for
For bioinformaticians and scientists who want to run established genomics pipelines without managing infrastructure. The user:
- Picks a pipeline.
- Fills in a form generated automatically from the pipeline's own parameter description.
- Picks input files from their workspace drives.
- Launches the run.
- Watches it run live and browses the outputs.
- Only Nextflow pipelines are supported.
- The feature is on in all three deployments.
Which pipelines are available
The All workflows page has three sections:
- nf-core catalog. The public nf-core pipelines, over 100 of them (exact count in the database). The version offered is each pipeline's latest release, sorted by GitHub stars. Everyone can see these.
- Organization workflows. Private pipelines the user's org imported from GitHub, GitLab or Bitbucket, e.g. BioVarFlow.
- Community workflows. Pipelines other orgs imported and chose to publish. Only the org owner can publish or unpublish.
- Users can search, filter by tag and type, and sort by name or type.
- Only the owning org's owner can delete a workflow.
- No pipeline code lives in the platform. Each pipeline is fetched from its git repository at run time.
Running a workflow, step by step
- Open the workflow. Tabs: Run, Readme and Usage; Readme and Usage come from the pipeline's own documentation.
- A version dropdown lists tags, then branches. It refreshes about every 15 minutes, or on demand.
- If the org locked the workflow to one version, a fixed version badge appears instead.
- Run name. Defaults to "pipeline-YYYY-MM-DD".
- Fill in parameters. The form has one collapsible section per parameter group and a side navigator for long forms. Field types are dropdown, text, number, on/off switch, and file or folder picker. Each field has a help popover and a "Required" badge where needed.
- Parameters the pipeline marks "hidden" are shown only to Bionl staff.
- Pick inputs from the workspace drives, or upload in place. Uploads go to a per-pipeline, per-user folder.
- An optional sample-sheet builder fills a table and saves it as a CSV. Saving an empty sheet gives "Sheet is empty — fill at least one row".
- Output folder. This must be on the Processed drive. It is pre-filled with "processed/[pipeline] – [email]/[date time]". Choosing a folder elsewhere gives: "Workflow outputs must be written to the Processed drive."
- Readiness. A chip shows "X/Y required" or "Ready to run". Run Workflow stays disabled until all required fields are filled.
- Launch errors:
- "Missing required parameters: …"
- "Check your inputs: Invalid value for …"
- "Launch failed — the pipeline could not be started."
- After a failure, the button shows "Failed — retry" for 8 seconds.
- Launch errors:
- Launch. The user lands on the run's page. Only fields the user changed are sent; pipeline defaults cover the rest.
- Limits: there is no limit on the number of runs, concurrent runs or data size, and no plan-tier gating. Imports allow up to 5 tags.
- Empty states:
- "No workflows in your organization yet", with an Import a workflow button.
- "Workflows published by other organizations appear here".
- Bug: going to plain /workflows shows a blank page. It should redirect to "All".
Tracking runs
- Executions tab:
- Lists the workspace's runs, newest first, with a status filter.
- Runs can be archived (hidden) after a confirmation.
- Statuses:
- Queued, Running, Succeeded, Failed, Failing, Aborted.
- Interrupted: the run service restarted mid-run. Those runs can be resumed.
- Run page (refreshes every 2 seconds):
On the left, a live process diagram.
On the right, five tabs:
Tab Contents Inputs the parameters used, with preview and copy for files Outputs a file browser of the output folder (see note below) Logs the main log, with search, ordering, wrap and copy Processes per-step status and counts Resources CPU, memory, disk, time and cloud logs for each step Outputs visibility differs by deployment. In the main product it is visible at any status. In LEAN and Dammam it appears only after success, and until then shows "Available once the run finishes".
- Actions:
- Terminate (running only, with confirmation): stops the run, then cleans up leftover cloud jobs after 2 minutes.
- Rerun: a fresh copy with the same inputs, named "rerun-…".
- Resume (failed, aborted or interrupted runs): reuses finished steps. It is always pinned to the original version, shown with a padlock.
- Notifications: an in-app bell notification when a run completes or fails. An email version exists and is opt-in per user; whether it actually sends is Unverified.
Importing a workflow
Requires import permission, which by default is Owner or Org Admin. Two steps:
- Where is it?
- Paste a GitHub, GitLab or Bitbucket URL (self-hosted servers and GitLab subgroups work).
- Or browse through a saved git connection, which is a stored access token that allows private repos.
- Or type owner/repo by hand.
- Version and details.
- Pick a branch or tag.
- Optionally "Lock to this revision", so the team can only run that exact version.
- Add a description (pre-filled from the repo) and up to 5 tags.
- Checks before import:
- Required: the repo is reachable, has a main pipeline file, and has a parameter-description file.
- Optional: README and usage docs.
- Provider-specific hints appear if the token can see the repo but not its files.
- Re-importing a deleted workflow restores it. Imports stay private to the org until published.
Compute and billing
- Where it runs:
- Each step of a pipeline runs as a job on Google Cloud Batch.
- The pipeline decides machine sizes, not the user. Each step requests its own CPU and memory.
- Each job gets a 250 GB disk and standard (non-discounted) machines.
- Region comes from deployment settings. It is us-east1 in the main product; Dammam and LEAN run in the Middle East.
- Single controller: runs are coordinated by a single controller machine. If that machine restarts, every in-flight run becomes "Interrupted".
- In Dammam this machine has repeatedly run out of disk space, which killed runs. This is a known operational issue.
- Billing: none. No credits are charged for workflow runs and there is no balance check before launch. The cost-collection code is empty or commented out. Cloud jobs are labelled with workspace and run, so costs could be attributed later.
Variant calling: BioVarFlow
What it is. BioVarFlow is the company's germline variant-calling pipeline. Users import it and run it like any other workflow.
- It is research use only, not diagnostic (its own wording).
- It wraps the public nf-core/sarek 3.7.1 pipeline and adds Bionl consensus calling, QC and reports.
Which version customers run is uncertain. The main branch was last updated 12 Jul 2026 (tag v1.1.0-Dammam). There are newer, more active site branches:
- Germline, versions up to v15, updated 29 Sep.
- HemOnc, up to v34, updated 27 Sep.
- US variants.
Orgs are most likely locked to one of these site tags. That needs a database check to confirm. The details below are from main, with branch differences noted.
What it does, step by step:
Quality check of raw reads (FastQC). Read trimming is off.
Align reads to the genome and mark duplicate reads. Base-quality recalibration is skipped.
Call variants per sample with two callers, DeepVariant and GATK HaplotypeCaller. There is no joint calling across samples.
Consensus. Split multi-allele sites, keep passing calls, and label each call as found by both callers or only one. Then apply filters:
Found by Minimum depth (DP) Minimum genotype quality (GQ) Minimum QUAL Both callers 10 10 — HaplotypeCaller only 10 20 30 DeepVariant only 10 20 10 - Bug on main: a matching error means every call is treated as "both callers", so in practice only DP ≥ 10 and GQ ≥ 10 apply. It was fixed on the Germline branch on 8 Sep, not on main.
Restrict to the gene panel. Keep only passing calls inside the target panel, then apply depth ≥ 10 and QUAL ≥ 10 and add variant allele fraction.
- The panel on main is 84 ACMG secondary-findings genes.
- The HemOnc branch uses 285 genes (ACMG plus a haematology-oncology panel).
Annotate. Ensembl VEP 115.2 with REVEL, AlphaMissense, SpliceAI, BayesDel and ClinVar. The ClinVar release isn't recorded.
- The newer branches pick one transcript per variant (MANE Select first).
- They also add Exomiser 15.1.0 phenotype ranking, where the user can supply HPO terms, strand-bias checks, and an optional somatic mode (Mutect2).
Coverage QC on the panel. Percent of exon bases at 20/30/50/100×, lists of gaps below 20× and 30×, strand and read-pair ratios, and a sex check.
QC verdict per sample: READY, REVIEW or FAIL. Advisory only; it never blocks a sample.
Metric WES: READY WES: REVIEW WGS: READY WGS: REVIEW Mapped reads ≥95% ≥80% ≥95% ≥80% Duplicates ≤30% ≤50% ≤20% ≤40% Mean coverage ≥80× ≥30× ≥30× ≥15× Bases at ≥20× ≥95% ≥80% ≥90% ≥70% Passing variants 15k–70k 8k–120k 3.5M–6M 1M–10M The WGS review thresholds are marked in the code as needing validation.
Reports: per-sample Excel variant list, HTML clinical-style report, run manifest, and MultiQC summary.
Tools and versions:
| Tool | Version |
|---|---|
| Aligner: BWA-MEM | 0.7.18 |
| samtools / htslib | 1.21 (1.20 in the Bionl steps) |
| GATK (duplicate marking, HaplotypeCaller, filtering) | 4.6.1.0 |
| GATK CNN variant scoring | 4.5.0.0 |
| DeepVariant | 1.9.0 |
| fastp (present, trimming off) | 0.24.0 |
| FastQC | 0.12.1 |
| bcftools | 1.20 |
| Ensembl VEP | 115.2 |
| mosdepth | 0.3.10 and 0.3.11 |
| bedtools | 2.31.1 |
| MultiQC | 1.33 |
- Aligner mismatch: the README and validation doc say BWA-MEM2, but the configuration actually uses BWA-MEM.
Reference genome and resources:
- GRCh38, the GATK resource-bundle build. By default it is downloaded from a public AWS S3 bucket on each run Unverified.
- Known-variant resources: dbSNP 146 (old), Mills/1000G indels and 1000G Omni.
- Annotation files: kept in a Dammam cloud bucket.
Inputs and outputs:
- Inputs: a sample sheet listing patient, WES/WGS, sex, sample and FASTQ pair; or BAM files.
- Visible parameters: only four appear in the form: input, input BAMs, output folder and run ID.
- Outputs: per-sample folders with the final VCF, QC and reports, plus a run-level QC summary and manifest.
Things to know before making claims to clients:
- Exomes are analysed as if they were whole genomes. No exome capture target is used, and DeepVariant uses its whole-genome model. Reportable variants are panel-only.
- Benchmark results don't meet the stated target. The published GIAB benchmark within ACMG regions is SNP precision 94.8%, indel precision 71%, against a stated target of ≥99%. It may have been produced with the consensus-filter bug above.
- Not automatic yet: the hand-off into the Variant Database. The platform passes the pipeline an address for loading results into the Variant Database, but no current version of BioVarFlow uses it. That step was removed on 4 Jul 2026, so loading results into the Variant Database happens outside the pipeline.
Roles and permissions
Live Anyone signed in can use workflows. Only the org owner can publish, unpublish or delete a workflow.
Not in prod yet With RBAC:
Role What it can do Viewer browse workflows, open details, view runs and logs Editor and Workspace Admin also run, rerun/resume, terminate and rename runs Owner and Org Admin also import workflows The Executions and Import tabs hide for users without permission, and direct links show a no-access message.
Storage and outside services
- Storage:
- Inputs and outputs live on the workspace drives in Google Cloud Storage.
- Intermediate files go to a hidden folder on the workspace drive.
- The resume cache and logs go to a platform bucket.
- Outside services:
- GitHub, GitLab and Bitbucket, for fetching code. Private-repo tokens are stored encrypted and removed after each run.
- Google Cloud Batch, Logging and Storage.
Unfinished, disabled or buggy
- Known bugs, diagnosed and parked, not yet fixed:
- Outputs bleed between runs. The Outputs tab shows everything in the output folder, including earlier runs' files, and default folder names can collide within the same minute.
- Rerun reuses the same output folder.
- Resume can report "Succeeded" instantly with nothing done, showing stale outputs.
- Workflows are unbilled.
- "Use testing data" switch is commented out.
- Not built: feeding approved data submissions straight into a pipeline sample sheet.
03Variant Database
a gnomAD-style population browser. Search a gene or variant; view frequencies, ClinVar, predictions and consequences. Three public gnomAD releases come straight from gnomAD's public website API. Bionl's own "PanBio" dataset (called "Saudi v0.1" for LEAN users) is available on the gene page only. Variant pages are gnomAD-only, and one section of the variant page is simulated data.
Naming. In the product the page is labelled "Database" in the sidebar and "Variant Database" in the browser tab. LEAN users see it as their Home page. The gene view inside it is what this document calls Gene Explorer (section 4). Note that "Variants" in the sidebar is a different feature, Variant Analysis, which does ACMG classification; see section 10.
What it does and who it's for
- Main product: clinical geneticists and researchers who want population allele frequencies and annotation for a variant or gene.
- LEAN: the landing page of the Saudi national genomic platform.
Search
- One search box. Example text: "BRCA1, TP53, 17-43045606-C-G, rs80357906". Pressing "/" jumps to it. The box recognizes:
- Variant ID: chromosome-position-ref-alt, e.g. 17-43045606-C-G.
- rsID, e.g. rs80357906.
- ClinVar variation ID: a number of 4 or more digits.
- Gene symbol or Ensembl gene ID.
- Variant search:
- A badge shows what kind of variant input was detected. The user can click it away to search as a gene instead.
- It always asks gnomAD's public service and goes to the first match. An rsID that matches several variants silently picks one.
- Errors:
- "No variants found for '…' in the selected dataset".
- "Could not find variant '…'. Check the format…", which lists the accepted formats.
- Gene search:
- Autocomplete from a built-in list of 19,475 genes, top 5 matches.
- Only an exact gene symbol or Ensembl ID can be submitted.
- Errors: "The entered gene identifier format is not supported." and "No gene matching the provided identifier was found."
- Not supported: HGVS notation, genomic ranges, "chr17-…" or "17:43045606" styles, and protein names. For example, "chr17-43045606-C-G" gives the confusing "No gene matching…" message.
- Controls under the box:
- Reference genome toggle: GRCh38 / GRCh37.
- Dataset toggle, filtered by the chosen build.
- Popular genes: BRCA1, BRCA2, TP53, EGFR, BRAF, KRAS.
- Recent genes and recent variants, 8 each, stored in the browser only.
- LEAN-only home content:
- Intro, About and Mission text.
- A "Platform Statistics" block that is hard-coded to 0 and labelled "Coming soon".
- Temporary partner logos (RDIA, LEAN, MoH).
Datasets and genome builds
| Dataset | Build | Where data comes from | Used on |
|---|---|---|---|
| gnomAD v4.1.0 (default) | GRCh38 | gnomAD public API, called from the user's browser | gene and variant pages |
| gnomAD v3.1.2 | GRCh38 | gnomAD public API | gene and variant pages |
| gnomAD v2.1.1 | GRCh37 | gnomAD public API | gene and variant pages |
| PanBio v0.1 / "Saudi v0.1" | GRCh38 only | Bionl's own data warehouse (Google BigQuery) | gene page only |
- There is no liftover between builds; switching build switches dataset.
- The gnomAD version labels are fixed text, not read from gnomAD.
The variant page
All of it comes from gnomAD; PanBio is not offered here. It shows:
- Header:
- Variant ID with copy, and chromosome/position/ref→alt.
- rsIDs, and a gene link back to the gene page.
- gnomAD flags and co-located variants.
- Headline tiles: allele frequency (exome + genome), maximum population frequency and which population, allele count out of total, homozygotes, ClinVar significance with stars, and CADD and REVEL when available.
- Sidebar:
- Coverage: mean depth and % of samples at 20×+.
- Filtering allele frequency (95%/99%).
- Non-coding constraint.
- In-silico predictors: CADD, REVEL, SpliceAI, Pangolin and phyloP, colour-banded (e.g. CADD 20+ = high, REVEL 0.5+ = high).
- ClinVar with submissions (submitter, condition, date).
- Links to gnomAD, UCSC, Ensembl, dbSNP, ClinGen and ClinVar.
- Site quality metrics, age distribution and local ancestry.
- Main column:
- Variant occurrence: exome, genome and total, with filter status, counts, frequency, homozygotes and hemizygotes.
- Population frequencies for gnomAD's standard groups: African/African American, Amish, Latino, Ashkenazi Jewish, East Asian, Finnish, Middle Eastern, European (non-Finnish), South Asian, Remaining. Exome and genome are summed. There are no sex or sub-population breakdowns, unlike gnomAD itself.
- Patient Cohort: simulated data. It appears only for 11 BRCA1 demo variants. It is built from 1,000 fictional patients and labelled on screen "Simulated data from 1,000 hypothetical patients for research demonstration…". No setting turns it off.
- ClinVar details.
- VEP transcript consequences: transcript (Canonical / MANE badges), consequence, HGVS, loss-of-function flag, PolyPhen-2 and SIFT. These are gnomAD's own annotations, not Bionl's.
- LoF curation and multi-nucleotide variants, when present.
- A quick-view dialog (from the gene table) shows the same content, with an "open full page" button.
- States: loading skeletons; "Variant not found — try a different dataset".
Annotation and prediction sources, with versions
- gnomAD datasets: everything, including ClinVar, predictors and consequences, is whatever gnomAD currently serves. Bionl doesn't pin or show those versions.
- PanBio (gene page only):
- Annotation: Bionl's own pipeline adds VEP annotations to the data.
- Versions: the gene page shows them live in a Data Provenance strip. The fallback values are:
- VEP 115
- ClinVar 2025-10-06
- gnomAD v4.1 (the reported value may read 4.1.1)
- NCBI RefSeq "v1.4" (a fixed value; exactly what it refers to is unclear)
- GRCh38
- Gene and transcript models: Ensembl release 115.
- Scores stored but not shown in the Database UI: CADD, REVEL, SpliceAI, AlphaMissense, BayesDel and phyloP. Their exact versions aren't recorded in the platform code.
- dbSNP, PolyPhen and SIFT: no Bionl-pinned versions exist.
Where data comes from, storage and outside services
- gnomAD:
- The user's own browser sends each gene, variant, rsID or ClinVar ID they look up directly to the Broad Institute's public gnomAD service. This includes LEAN (Saudi) users, because the variant page always uses gnomAD.
- No login or user identity is sent, but the user's IP address and lookups reach a third party.
- The code describes this as a temporary arrangement "until our backend connection is ready".
- PanBio / Saudi:
- Real sequenced-sample data: BioVarFlow output loaded into Bionl's BigQuery warehouse and annotated by Bionl's VEP service. It stays inside Bionl's cloud.
- LEAN's data is placed in a separate project in the Middle East region.
- Exome samples only so far.
- Local allele frequencies Flag: LEAN only: a local-population frequency table can be loaded and is returned by the server. It is never displayed anywhere in the UI.
- Analytics: product analytics (PostHog) records only the page, not the searched gene or variant.
Roles and permissions
- Database page: visible to Bionl staff, testers granted it, LEAN users and partner organizations. Everyone else gets "Access Denied", and the sidebar item is disabled. It is hidden on staging builds.
- PanBio / Saudi dataset: staff, testers and LEAN users only. Partner orgs do not get it. Others see "You do not have permission to access the PanBio dataset."
- Not in prod yet RBAC adds a permission for each control: search, build toggle, dataset toggle, gene shortcuts, table search, and opening variant detail. All standard roles get all of them, so nothing changes by default.
- In LEAN and Dammam every user counts as LEAN and gets both.
Unfinished, disabled or buggy
- PanBio is gene-page only. It has no variant page, and its variant IDs aren't clickable.
- Likely bug: searching for a variant while PanBio/Saudi is selected sends "panbio" to gnomAD, so the user most likely sees "Could not find variant" Unverified.
- Gene-page error text always says "from gnomAD", even for PanBio.
- Local allele frequencies are computed but hidden (LEAN).
- LEAN home statistics are zeros, and the partner logos are temporary.
- The simulated Patient Cohort section appears alongside real data.
04Gene Explorer (the gene page)
a rich, gnomAD-style gene view: overview, constraint, coverage, ClinVar, variant plot and table. It works well on gnomAD data. On PanBio/Saudi it works with gaps (exome only, no median coverage, coding-only ClinVar). There are a few visible bugs; the most notable is that the OMIM link always opens BRCA1.
What it does and who it's for
- Purpose: gives a researcher or clinician everything about one gene at a glance: how tolerant it is to damaging variation, how well it's sequenced, which ClinVar variants are known, and every observed variant with its frequency.
- Where it lives: the same Database page (section 3), reached by gene search, popular genes, recent genes, or the gene link on a variant page.
- Title: the browser tab reads "[GENE] Gene View". The UI never uses the words "Gene Explorer".
- Sharing: the URL can be bookmarked or shared.
- No direct link from Variant Analysis: that page links out to the public gnomAD site instead.
What the gene page shows, top to bottom
- Header:
- Back link, gene symbol, location (chr:start–end) and full gene name.
- Dataset dropdown grouped by build: GRCh38 has PanBio/Saudi, gnomAD v4.1.0 and v3.1.2; GRCh37 has gnomAD v2.1.1.
- Gene Overview:
- Build and Ensembl gene ID.
- MANE Select transcript (Ensembl + RefSeq, GRCh38 only) and the Ensembl canonical transcript.
- Other transcripts: 3 shown, then "+N more".
- Links to gnomAD, Ensembl, NCBI, UCSC and OMIM.
- Bug: the OMIM link always points to BRCA1's entry, whatever the gene.
- Constraint:
- Rows: synonymous, missense and loss-of-function. For each: expected and observed counts, a Z-score or pLI, and the observed/expected ratio with a 90% confidence bar.
- LOEUF (the upper bound for loss-of-function) is colour-coded: under 0.35 = highly constrained (red), up to 1.0 = moderate (amber).
- Footer: which transcript it's based on.
- When constraint is missing, it shows zeros instead of "not available", which is misleading.
- There is no regional constraint.
- Data Provenance (PanBio only): VEP, RefSeq, ClinVar, gnomAD and assembly versions (see section 3).
- Coverage chart:
- Metric: mean depth, median depth, or % of samples over 1/5/10/15/20/25/30/50/100×. The default is over 20×.
- Toggles: exome and genome on/off; region types CDS (always on), UTRs and non-coding.
- Zoom: introns are compressed, gnomAD-style. Start/end boxes, Reset, and a draggable mini-map.
- Transcripts track: show/hide, with MANE/canonical first.
- Hover shows values.
- ClinVar chart:
- Significance filters: Pathogenic/Likely pathogenic, VUS/Conflicting, Benign/Likely benign, Other. Each has on/off, "only" and "all".
- Consequence filters: loss-of-function, missense, synonymous, other.
- Review-status filter: by gold stars, 0 to 4+.
- Binned or individual view. Individual is allowed only with 2,000 or fewer variants in view; otherwise the user is asked to zoom in.
- Empty state: "No ClinVar variants match current filters".
- Variants chart:
- Each variant is a mark whose height shows its frequency on a log scale. Filters: loss-of-function, missense/in-frame indel, synonymous, other.
- Dragging zooms the whole page; a click scrolls the table to that spot. A second track highlights which rows are currently visible in the table.
- Variants table:
- Columns: Variant ID, HGVS, Impact, Classification (ClinVar), Source (exome/genome/both), allele count, allele number, allele frequency, homozygotes, and max population frequency.
- An asterisk marks variants whose most severe effect is on a non-primary transcript.
- Sorting: every column sorts, and each header has a tooltip.
- Search and filters: free-text search and classification filters.
- Row count: shown as "N of M".
- Scrolling: continuous scroll in a fixed-height box, with no pagination.
- No export (CSV or otherwise).
- Empty state: "No variants match your search", with Clear filter.
- Clicking a variant opens the quick-view dialog. Ctrl/Cmd-click opens the full page. Not available for PanBio.
- Columns: Variant ID, HGVS, Impact, Classification (ClinVar), Source (exome/genome/both), allele count, allele number, allele frequency, homozygotes, and max population frequency.
- Filter behaviour:
- Consequence and classification filters are shared between the charts and the table.
- Only the zoom resets when switching gene, so filters appear to stay applied on the next gene Unverified.
- Filtered variants: there is no "include filtered variants" toggle like gnomAD's. Variants that failed gnomAD's quality filters appear to be included silently Unverified.
- Errors: a full-page "Failed to load gene data — could not fetch data for 'X' from gnomAD", with Back to search.
Where each piece comes from
| Section | gnomAD datasets | PanBio / Saudi |
|---|---|---|
| Gene, transcripts, MANE | gnomAD API (its own gene model) | Ensembl 115 reference tables |
| Constraint | gnomAD API | Bionl copy of transcript constraint metrics (source version not documented, likely gnomAD) |
| Coverage | gnomAD API | Bionl samples. Median depth always shows 0; genome coverage always empty (exome only) |
| ClinVar | gnomAD's copy of ClinVar | Bionl ClinVar table (release shown in Provenance). Only variants inside the MANE coding sequence, so UTR and intronic ClinVar entries are missing |
| Variants | gnomAD API | Bionl's real cohort, VEP-annotated, with gnomAD max frequency merged in |
- Real vs synthetic: all gene-page data is real, either public gnomAD or real Bionl samples.
- Outside services and storage: the same as section 3. gnomAD lookups go from the user's browser to the Broad Institute. PanBio stays inside Bionl's warehouse. Nothing is saved on the server; the browser caches for 10–30 minutes.
Roles and permissions
- Same as the Variant Database.
- Not in prod yet RBAC adds a gene-page permission on the server. It only affects PanBio, because gnomAD calls bypass the server.
Unfinished, disabled or buggy
- OMIM link is hard-coded to BRCA1.
- Missing constraint displays as zeros.
- PanBio gaps: no variant detail, median coverage 0, exome only, coding-only ClinVar, GRCh38 only.
- No export, no regional constraint, no filtered-variants toggle.
- Error text always blames gnomAD.
05Sessions (notebooks)
Jupyter-style Python and R notebooks with autosave, a single-editor lock, publish-to-link and JSON export. They run on a cloud machine shared by the whole workspace, charged per second in credits. There are no GPUs, no .ipynb export, and the production machine image is out of date (Python 3.8).
What it does and who it's for
For bioinformaticians and researchers analysing data in their workspace. The UI calls them "Notebooks". Pages:
- the notebook list;
- the notebook editor;
- a read-only "published" view.
Important: the compute machine belongs to the workspace, not to the notebook.
- There is one cloud machine per workspace, running one Python and one R engine.
- As far as the code shows, all notebooks and all users in a workspace share the same running engines. Variables from one notebook are visible in another, and users can overwrite each other's work in memory Unverified.
Languages and notebook features
- Languages: Python and R. Each code cell picks its language. There is no separate shell language; Python's "!command" shell shortcut probably works Unverified.
- Interrupt, the variable inspector and the kernel status indicator cover Python only.
- Cell types: Code and Markdown. An old "Datasets" cell type is retired.
- Outputs: text, formatted tables and HTML, PNG/JPEG/SVG images (downloadable), and interactive Plotly charts.
- Toolbar:
- edit-access indicator and contributors;
- sort/filter cells by type;
- Run All (stops after the current cell);
- Reset (clears outputs and restarts Python);
- Refresh (viewers only);
- Replicate (duplicate), Export and Publish.
- Also available:
- a Python variables explorer;
- per-cell timers;
- tabs for several notebooks and files;
- code templates: reusable cells with fill-in inputs, plus a template builder.
- Disabled: drag-to-reorder ("Organize") mode, disabled "until stable".
- BioMind assistant panel (section 6).
What the environment includes
- Production image (last published 23 Aug 2026):
- Ubuntu 20.04 and Python 3.8, both past end-of-life.
- R 4.x with Jupyter.
- Which exact source commit it was built from can't be traced in the local repo.
- Upgrade on dev only: a Python 3.14 image with all libraries updated exists on the dev channel (16 Sep) and hasn't been promoted to production.
Preinstalled tools:
| Category | Tools |
|---|---|
| Command-line bioinformatics | FastQC, BWA, samtools, bcftools, tabix, featureCounts (subread), Trim Galore 0.6.10 / cutadapt, Picard 3.0, GATK 4.4, PLINK 1.9, ProteoWizard tools |
| Python data science | pandas, numpy, scipy, matplotlib, seaborn, plotly, scikit-learn, lifelines, pyarrow |
| Python bioinformatics | Biopython, pysam, gffutils, scikit-bio, scanpy, GEOparse |
| R | BiocManager, igraph and xcms. Most Bioconductor packages, e.g. GenomicRanges, are not installed, so the R side is thin. |
- Bug: the tool labelled "SALMON" is actually an unrelated physics package with the same name, not the Salmon RNA-seq tool, and it's never built.
- User installs: users can install extra packages, but they are lost when the machine is released, which happens at the end of every session.
Compute options, prices and limits
The machine size is a workspace setting. It is changed from the status-bar picker or Settings.
Sizes and prices as seeded in the database (production values may have been edited since):
Size Specs Credits/hour ≈ USD/hour Start XS (default; only option on Free plan) 2 CPU / 8 GB 4 ~$0.07 instant (pre-warmed pool of 5) Small 4 CPU / 16 GB 8 ~$0.14 instant (pool of 3) Medium 8 CPU / 32 GB 25 ~$0.42 on demand Large 16 CPU / 64 GB 50 ~$0.85 on demand X Large 32 CPU / 128 GB 100 ~$1.70 on demand 2X Large 48 CPU / 192 GB 150 ~$2.55 on demand 3X Large 64 CPU / 256 GB 200 ~$3.40 on demand - An internal pricing doc lists different credit rates, e.g. XS 8/hour up to 3XL 360/hour, so confirm the live rates before quoting them.
No GPUs. Standard machines only.
Changing size resets the machine and wipes everything in memory. Free-plan orgs are pinned to XS and see "Upgrade to choose a machine".
Startup: the two smallest sizes start almost instantly from a pre-warmed pool. Larger sizes take a few minutes; the banner says "1–2 minutes", but it can be longer.
Limits:
- Closing the last tab stops billing immediately; the machine is deleted after 60 seconds.
- Idle for 10 minutes with nothing running: disconnected, "Disconnected after inactivity — refresh to reconnect".
- Out of credits: disconnected, "credit balance exhausted. Top up, then refresh".
- A warning appears under 10 credits.
- A cell that is running is allowed to finish, so the balance can go negative.
- No maximum session length.
- The idle and credit limits apply in the main product only. LEAN and Dammam have no idle or credit shutdown.
Accessing files and data
- When the machine starts, the workspace's drives appear as folders on it. Read-only drives are protected.
- Files on drives persist. Anything else saved on the machine is temporary.
- Remount drives: a status-bar button picks up drive changes. Older machines need a one-time "Reset VM".
- File panel: a floating file panel inside the notebook lets users browse, search, create folders, upload and download, and open the full file explorer.
- URL import: users can import a file from a URL into a drive.
Main flows
- Create. On Notebooks, click New notebook and give it a name. Alternatively, drop in a previously exported Bionl .json file.
- Start. There is no start button; opening a notebook starts the workspace machine. The platform checks credits, claims a machine and connects the drives, and status banners show progress.
- Run. Run single cells or Run All. Outputs stream back and are saved with the cell.
- Stop. There is no stop button. Close the tab, or let the idle timer release the machine. If the engine hangs, Refresh runtime swaps in a fresh machine; a prompt appears after 30 seconds of silence.
- Come back. Reopen the notebook. Code and outputs are all there, but everything in memory is gone, so cells must be re-run. Resume work on the list reopens the last tab.
Saving, sharing, publishing, exporting
- Autosave: each cell saves 1 second after an edit, and outputs save after running. A "last saved" label is shown. Stored in Bionl's database.
- Sharing:
- Every workspace member can see every notebook in that workspace. Only one person can edit at a time.
- The owner edits by default. Others can request edit, and the owner gets a notification and can approve, deny or take it back.
- While someone else holds edit, the owner is read-only too. A history of edit hand-offs is kept.
- Publish: a toggle that copies a read-only link. Any signed-in Bionl user with the link can view it. It is not public on the open web.
- Export: "Export notebook as JSON" in Bionl's own format. No .ipynb or PDF, and import only accepts Bionl's own JSON exports.
- Duplicate: "Replicate notebook" creates "name (copy)" in the same workspace.
- Delete: a soft delete, but there is no restore option in the UI. The delete icon shows for everyone, but only the owner or current editor can actually delete.
Errors and empty states
- Out of credits at start: "Machine not started: credit limit reached", with a Top up button.
- Machine failed to start: the error text, 3 automatic retries, then a 60-second cooldown.
- Other messages: "Runtime not responding" (offers Refresh), the idle and credit disconnect messages, and empty-notebook states.
- No limit on the number of notebooks.
Roles, permissions and billing
Editing is controlled by the one-editor lock, not by role. Even a workspace Editor can't edit someone else's notebook without approval.
Changing machine size: org owner only in production. Not in prod yet With RBAC, it's any role granted that permission (Owner by default).
Not in prod yet RBAC:
Role Notebooks access Owner, Org Admin, Workspace Admin, Editor full access Viewer list, search, open, and see the file panel; cannot create or upload Org Member none Billing:
- Charged per second in credits, from the org owner's wallet (the same wallet as BioMind).
- Anyone who opens a notebook starts the billed machine, including viewers.
- Billing is off in LEAN and Dammam.
Unfinished, disabled or buggy
- Shared engines per workspace: notebooks and users can overwrite each other's variables.
- Out-of-date production image. The mislabelled SALMON tool. Thin R/Bioconductor support.
- Missing features: .ipynb/PDF export, restore of deleted notebooks, drag-reorder, and a stop button.
- Nothing survives a restart: memory is lost on every disconnect, and installed packages are lost too.
- Can't scale out: the notebook connection service must run as a single instance.
06BioMind (AI assistant in Sessions)
a chat panel inside notebooks, powered by Anthropic's Claude models, with three tiers to choose from. It reads the notebook, writes code the user can insert or apply with one click, and automatically debugs failed cells by default. It is billed per token in credits. It is available in the main product only; it is off in LEAN and Dammam.
What it does and who it's for
- In notebooks: an AI coding assistant for bioinformaticians. It writes analysis code, debugs errors, suggests libraries, explains results and helps design pipelines.
- In Workflows: a second version (the pipeline assistant) sits in a side rail. It helps choose and configure pipelines, reads run logs, and can fill in the run form.
- Backend: a separate Bionl service, the BioMind Agent Service. The platform reaches it through its own backend; the browser never talks to the AI provider directly.
What it can do inside a session
- Reads the notebook.
- Every message includes a snapshot of the notebook: up to 40 cells, the first 2,000 characters of each cell's code, and 500 characters of each text output.
- Images and charts are not sent.
- Knows what was just run. Every cell run by someone with edit access is logged to BioMind: code, output up to about 4,000 characters, and success or error. The last 10 runs are included as context.
- This logging happens even if the user never opens the chat panel.
- Writes code, which the user applies. Code in replies comes with buttons:
- Apply fix to original cell: replaces the cell and re-runs it.
- Run in notebook: inserts a new cell and runs it.
- Add as markdown cell.
- Copy.
- In Workflows: Apply parameters to run form.
- Can target cells. Users can pin specific cells to focus a request.
- Debugs:
- Each code cell has a Debug with BioMind button (editors only).
- Auto-debug is on by default. When a cell errors, BioMind is asked automatically.
- To analyse the error, BioMind re-runs the failing cell's code on the user's machine without asking first. Code with side effects (writing files, API calls) runs twice.
- A toggle in the panel header turns auto-debug off.
- Auto-apply fixes (off by default): when on, suggested fixes overwrite cells and run automatically with no per-change approval.
- Can't read files. It has no tools of its own for files. It only knows the path where drives are mounted and writes code that reads from there. It isn't sent the file list or installed-package list.
- Whether that path still matches the new drive layout is Unverified.
- Pipeline assistant tools: it can search pipeline references and docs, fetch pipeline details, and read run logs.
User flow
- Open a notebook and click the BioMind button, the chat icon in the status bar, or the prompt on an empty notebook.
- Only users with edit access can chat. Viewers see "Edit access required", with a request-access button.
- A credit check runs. If the user is out of credits, the top-up modal opens.
- The first time, a conversation named after the notebook is created. Users can start New chat and browse or delete past threads in History.
- The user types a question and chooses a model tier. The answer streams in, including a collapsible "thinking" section showing the model's reasoning.
- The input is locked while an answer is streaming, while reconnecting, or when out of credits.
- There is no Stop button to cancel an answer mid-stream.
AI models and providers
Provider: Anthropic only. Calls are made server-side through Anthropic's API. The analytics code has placeholders for Gemini and GPT, but they aren't wired up.
Model picker:
Tier shown Model Provider price per million tokens (input / output) Light Claude Haiku 4.5 $1 / $5 Medium Claude Sonnet 4.6 $3 / $15 High (the default) Claude Opus 4.6 $5 / $25 The default is the most expensive tier. The user's choice is remembered in their browser.
Extended "thinking" is on for Medium and High. Answers are capped at 16,000 tokens.
Two newer models are set up in the system but switched off.
The log-reading helper in the pipeline assistant uses Haiku.
What data is sent to the AI provider (Anthropic)
- The user's message.
- The last 60 messages of the conversation.
- BioMind's instructions.
- The notebook snapshot, which includes cell outputs, so any data printed in a notebook (e.g. rows of a table) goes to Anthropic.
- Recent run code, outputs and error messages.
- For pipelines: pipeline schemas, docs and run logs.
Names, emails, and user or org IDs are not put in the prompt. BioMind is deliberately switched off in LEAN and Dammam, most likely for data-residency reasons; the code doesn't say why.
Usage limits, credits and tracking
- Billing: per token, per model, from the credit wallet. Charges show on the wallet statement as, e.g., "Notebooks AI High — tokens…". Every turn is recorded with its feature: notebooks, workflows or landing.
- Price: seeded at about provider cost + 10%, converted to credits.
- Credit check: before each message, auto-debug included. It needs an active plan and a positive balance, which can come from the user's own credits or a team pool.
- When exceeded: "You have reached your credit limit. Top up your wallet or wait for your monthly allowance to renew." A modal offers top-up, upgrade (Pro/Team), the wallet, or contact sales. Pending auto-debugs are dropped.
- If a turn uses up the last credits, the connection closes after that answer.
- No per-minute rate limit and no message-size limit beyond the trimming described above.
- If the billing ledger is unreachable, BioMind keeps working. Usage is still recorded.
- Known gap: if a model isn't set up in the pricing table, its usage isn't billed; only an error is logged.
Guardrails, errors and unsupported requests
- Scope is set only by BioMind's instructions:
- ask before coding when unclear;
- don't write large analyses unprompted;
- "if the task is biologically invalid or unsupported, explain why and don't generate code".
- Refusals: there is no separate content filter beyond Claude's own behaviour.
- Errors appear in the chat:
- "Agent error: …"
- "Runtime VM not available…"
- A connection loss triggers automatic reconnect with back-off. It stops if sign-in fails or credits run out.
Storage and retention
- Where conversations are stored: in Bionl's main database. This includes messages, the model's "thinking" text, model used and token counts.
- How long they're kept:
- No automatic expiry. Conversations are kept until the user deletes the thread, or the account is deleted.
- Run logs keep only the last 10 per conversation.
Roles and permissions
- Deployment switch: on in the main product, off in LEAN and Dammam. It is not configurable per org.
- Per notebook: requires edit access to the notebook.
- Billing: requires an active plan and credits.
- No BioMind-specific RBAC permissions.
Unfinished, risky or buggy
- No Stop button. Auto-debug re-runs code silently. The expensive default model.
- Two lists of models (in BioMind and in the platform) must be kept in sync, or usage goes unbilled.
- Unused "landing page" assistant panel. Parts of the BioMind repo, including a standalone web app and the README's "proposal" (cohort and VAIC agents, in-country hosting), are not built or not used.
- Production connection unverified: how production reaches the BioMind service was listed as an open item in an internal cut-over doc Unverified.
07User stories
Cohorts
- As a pharma data buyer, I want to search cohorts by disease, data type and population, so that I can find patient groups that fit my study.
- As a buyer, I want to see summary statistics (age, sex, diagnoses, data types, survival) before paying, so that I can judge whether a cohort is worth licensing.
- As a buyer, I want to pick sample size, data types and duration and see a price instantly, so that I can budget.
- As a buyer, I want to add several cohorts to a cart, so that I can request them together.
- (Not built) As a buyer, I want to request access and pay, so that I receive the data in a secure workspace.
- (Not built) As a data governance reviewer, I want to approve or reject access requests, so that only appropriate use is allowed.
Workflows
- As a bioinformatician, I want to launch an nf-core pipeline from a form, so that I don't have to set up cloud infrastructure.
- As a lab lead, I want to import our private pipeline from GitHub and lock it to a version, so that everyone runs the validated release.
- As a scientist, I want to pick input files from my workspace drives and build a sample sheet in the browser, so that I can start runs without the command line.
- As a user, I want to watch progress, logs and resource use live, so that I know when and why a run fails.
- As a user, I want to resume a failed run, so that I don't pay time again for finished steps.
- As an org owner, I want to publish a pipeline for other orgs, so that the community can reuse it.
- As a clinical lab, I want to run BioVarFlow on exome FASTQs and get a panel VCF, QC verdict and report per sample, so that I can review reportable variants.
Variant Database
- As a clinical geneticist, I want to look up a variant by ID, rsID or ClinVar ID, so that I can see its population frequency and ClinVar status.
- As a researcher, I want to compare frequencies across ancestry groups, so that I can judge whether a variant is rare in a given population.
- As a LEAN user, I want to see Saudi population data alongside gnomAD, so that I can interpret variants in the local population.
- As a user, I want in-silico predictions (CADD, REVEL, SpliceAI) in one place, so that I can prioritise variants.
Gene Explorer
- As a researcher, I want to see a gene's constraint (pLI, LOEUF), so that I know how tolerant it is to loss of function.
- As a user, I want to view coverage across exons, so that I know whether the gene is well sequenced.
- As a clinical geneticist, I want to filter ClinVar and observed variants by significance and consequence, so that I can focus on pathogenic loss-of-function variants.
- As a user, I want to sort and search the variant table, so that I can find specific variants quickly.
Sessions
- As a bioinformatician, I want Python and R notebooks with common bio tools preinstalled, so that I can analyse data immediately.
- As a user, I want my workspace files available in the notebook, so that I don't have to copy data around.
- As a user, I want to choose a bigger machine for heavy jobs, so that my analysis finishes faster.
- As a teammate, I want to request edit access to a colleague's notebook, so that we can collaborate without overwriting each other.
- As an author, I want to publish a read-only link, so that colleagues can review my analysis.
- As an org owner, I want idle machines to shut down automatically, so that we don't waste credits.
BioMind
- As a bioinformatician, I want to describe an analysis in plain language and get runnable code inserted into my notebook, so that I work faster.
- As a user, I want failed cells explained and fixed automatically, so that I spend less time debugging.
- As a user, I want to choose a cheaper or more capable model, so that I control cost and quality.
- As a workflow user, I want the assistant to suggest pipeline parameters and fill the run form, so that I configure runs correctly.
08Solid enough to demo today (main product, production)
| Area | Demo it | Avoid or caveat |
|---|---|---|
| Workflows | Browsing the nf-core catalog; importing a GitHub pipeline; the generated parameter form; the sample-sheet builder; launching; live process diagram, logs and resources; Terminate, Rerun and Resume of a failed run | Don't show the Outputs tab on a reused folder (outputs bleed between runs); don't claim runs are billed; for BioVarFlow, use the org's locked site version and don't quote the benchmark as meeting target |
| Variant Database | Gene or variant search on gnomAD v4; the variant page (frequencies, ClinVar, predictors, VEP consequences); build and dataset switching | The BRCA1 "Patient Cohort" section is simulated. Say so or avoid those 11 variants. Variant search with PanBio selected likely fails. |
| Gene Explorer | gnomAD gene page: constraint, coverage with zoom, ClinVar filters, variant plot and table sorting (BRCA1, TP53) | The OMIM link (always BRCA1); PanBio coverage median = 0; genes without constraint show zeros |
| Sessions | Create a notebook on XS or Small (instant start), run Python with pandas/plotly, the file panel, request/approve edit, Publish, Replicate | Medium and larger sizes take minutes to start; don't promise .ipynb export or GPUs; kernel memory is lost when the tab closes |
| BioMind | Ask for an analysis, then Run in notebook; trigger an error to show auto-debug; switch model tiers | No Stop button; the default tier is the most expensive; mention that notebook outputs go to Anthropic if asked |
| Cohorts | Not demo-ready for clients in production (staff-only, no checkout). The search, filters, detail tabs and pricing work well for an internal or concept demo on dev. | Say plainly that the data is synthetic plus public TCGA metadata; the "Request Access" button is disabled |
09Inconsistent, missing or risky, from a user's point of view
Data and trust
- Simulated data sits next to real data. The variant page's Patient Cohort section (11 BRCA1 variants) is fictional, as are all Synthea cohorts. Both are labelled, but a client could still mistake them for real data.
- Lookups leave the platform. Every gene or variant a user looks up on gnomAD datasets is sent from their browser to the Broad Institute's public service. That includes LEAN (Saudi) users on the variant page, which may matter for a data-residency client.
- Notebook contents go to Anthropic. BioMind sends notebook outputs, which can include data, to Anthropic. It is off in LEAN and Dammam, but there is no per-org switch in the main product.
- BioVarFlow claims need care.
- It is documented as BWA-MEM2 but runs BWA-MEM.
- Exomes are processed as whole genomes.
- The benchmark doesn't meet the stated precision target.
- A consensus-filter bug exists on main.
- dbSNP is old (146).
- Missing data looks like real data. Missing constraint shows as zeros, and PanBio median coverage always shows 0.
Billing and cost 6. Workflows are free (unmetered), while notebooks and BioMind are charged. That is inconsistent, and a cost exposure. 7. Balances can go negative. Notebook runs are allowed to finish past zero, and storage is charged daily. There is no low-balance email. 8. Pricing has no single source of truth. Notebook rates, and Team plan credits (8,000 vs 7,500), differ between the database, docs and the payment provider. 9. BioMind defaults to its most expensive model, and auto-debug fires on every error by default. Both quietly spend credits. 10. Viewers can run up the owner's bill. Any member who opens a notebook starts a billed machine on the owner's wallet.
Behaviour users will notice 11. Workflow outputs can mix between runs, and Resume can "succeed" instantly with nothing done. 12. Shared engines per workspace: two people in two notebooks can clobber each other's variables. 13. Kernel memory and installed packages are lost on every idle timeout, tab close or machine-size change. 14. Notebooks can't move in or out: no .ipynb import or export, and no way to restore a deleted notebook. 15. Small but visible UI bugs: - OMIM link always BRCA1. - Error messages blame gnomAD for PanBio failures. - The Cohorts 12-month discount badge is wrong. - "Most recent" sort in Cohorts isn't real. - Plain /workflows is blank.
Access 16. The next release changes what users see. Many buttons and tabs will disappear for non-owner roles, and every permission-checked action will depend on the permission service being up; if it's down, users see "permission service unavailable". 17. Cohorts will read "Coming soon" in production once the monorepo move merges, unless a production deployment is planned.
10Outside the six areas: what a PM should know
Deployments and feature switches
- Deployments:
- Main product: everything on.
- LEAN (nphies, Saudi): runs in the client's own cloud account in the Middle East region. Branded "nphies". No billing, BioMind, Cohorts, Variant Analysis, RBAC or admin panel. Data submissions auto-publish when they pass validation.
- Dammam: a rehearsal copy of LEAN whose settings are marked "initial draft". It publishes differently from LEAN, so it doesn't fully rehearse it.
- Feature switches: many features are staff-only or tester-only in the main product, even though they are "on":
- Cohorts: staff and testers.
- Usage tab: staff only.
- Database: staff, testers, partner orgs and LEAN.
- PanBio dataset: staff, testers and LEAN.
- Admins grant tester features and partner status in the Admin panel. It can't set the "genomic org" flag; that still needs an engineer.
Accounts, orgs and roles
- Sign-in: email and password (with verification) or Google.
- Personal org: every new user gets one with 100 free credits.
- Invites: sent by email. Invitees get "Org Member" and no workspace until someone adds them.
- RBAC (next release): about 85 permissions named after UI actions, six preset roles (Owner, Org Admin, Org Member, Workspace Admin, Editor, Viewer), plus custom roles on a new Roles screen.
Billing and plans
| Plan | Price | Credits per month |
|---|---|---|
| Free | $0 | 100 |
| Pro | $20/month | 1,500 |
| Team | $100/month | 8,000 (10 members) |
| Enterprise | contact sales | — |
- Top-up packs: $10 = 500 credits up to $100 = 8,000. Optional auto top-up below 50 credits.
- Payment provider: Frame Payments (older docs mention Paddle; that is out of date).
- What is charged: notebooks (per second), BioMind (per token) and storage (daily, at 2× cloud cost). Workflows are not charged.
- The Settings → Usage tab shows mock data ("Internal preview only", staff-only).
Files and storage
- Every org has its own cloud bucket, with drives per workspace: Analysis, Processed, Org Raw, Raw and custom drives.
- The old "Pan Bio Shared Data" folder was replaced by the Raw drive, which is off until enabled.
- Uploads go straight to storage, and large files upload in chunks.
- Data Submissions (orgs flagged as "genomic"):
- A 5-step wizard: title/scope → FASTQ/BAM/CRAM → metadata spreadsheet → pedigree/BED → review.
- Automatic checks.
- A reviewer claims, approves, rejects or returns the submission. Only org owners can review for now.
- Registry checks (Seha) and automatic hand-off into pipelines are not built.
Variant Analysis (the "Variants" sidebar item)
- A separate ACMG variant-classification tool: gene + transcript + HGVS + guideline, producing a classification with evidence.
- On in the main product, off in LEAN and Dammam.
- Easy to confuse with the Variant Database.
Other things users see
- Home dashboard: credit balance, open tabs, product tour, recent notebooks and workflows, quick actions.
- In-app notifications: notebook edit requests and decisions, submission updates, pipeline finished or failed. Email copies are opt-in.
Third parties that receive data
- Identity and hosting: Firebase (sign-in), Google Cloud (everything else), Cloudflare (hosting).
- Analytics and errors:
- Self-hosted PostHog analytics, consent-gated, with text masking and IP dropping.
- Sentry, in some services.
- Email: Brevo (invites), SendGrid (a marketing list that new users are added to), and an SMTP provider (billing emails).
- Payments: Frame Payments.
- AI: Anthropic (BioMind).
- Public data services: Broad Institute gnomAD (from users' browsers) and the NIH data portal (Cohorts ingest).
- Ads: consent-gated Google Ads and OpenAI Ads conversion tracking.
- Residency worth checking for LEAN: sign-in (Firebase) and analytics configuration are shared with the main product, so LEAN users' identity and analytics may still go to US-hosted services.
How releases reach customers
- Merging to
devupdates dev.bionl.ai only. Production changes only when someone cuts a release (aprod/…tag). - LEAN and Dammam are deployed separately, by hand, from a production tag.
- Rollbacks restore code but not the database.
- Every pull request gets its own preview site, with billing and email turned off.