Turn scattered lab notebooks, assay results, and high-throughput screening output into a governed, queryable dataset — instrument and app System APIs, compound and batch registration, and FAIR metadata on the way into the lake. Pre-clinical scope; use the clinical trial analytics plan once a molecule reaches human studies.
Research and Discovery: ELN, LIMS, and Screening Data Lake
Objective: Make early-stage science findable and reusable by unifying electronic lab notebooks, LIMS assay results, and high-throughput screening output into one governed dataset — without asking scientists to change how they work at the bench. The hard part is not the pipe; it is that the same compound is called three different things in three systems.
What's Getting Built
- ELN, LIMS, and Screening Instrument Sources (System API) — wrap each ELN, LIMS, and screening platform so a source swap does not ripple outward ·
GET /eln/entries?modifiedSince={ts}, GET /lims/results?modifiedSince={ts}, GET /screening/runs/{runId}/plates, WEBHOOK POST /benchling/events
- Normalize and Register (Process API) — resolves compound aliases to a canonical ID via structure identifier, normalizes units and endpoints, and quarantines unregistrable records ·
POST /register, POST /normalize, GET /compound/{canonicalId}
- Incremental Ingestion (Scheduler) — pulls LIMS and ELN extracts incrementally on modified timestamps and reconciles record counts per run ·
SCHEDULER incremental pull on modified timestamp
- watermark-store (Object Store) — persists the modified-timestamp watermark per source and entity type between runs ·
GET /{source}:{entity}, PUT /{source}:{entity}
- Research Data Lake (target) — governed lake partitioned by compound, assay type, and run date with FAIR metadata and versioned datasets ·
PUT s3://research-raw/{source}/{date}/{recordId}.json, PUT s3://research-curated/compound={id}/assay={type}/run={date}/
Value chain phase
Phase 01 — Research & Discovery. Early-stage lab work, genomics, and formulation modeling.
- Scope of this plan: Ingesting and normalizing bench and screening data into a governed lake, with compound and batch registration as the identity anchor.
- Data in this phase: Unstructured lab notes, chemical libraries, high-throughput screening data.
- Receives from: Nothing upstream — this is where the molecule starts.
- Hands off to: Phase 02 — Clinical Development.
Prerequisites
- Anypoint Platform org with API Manager and a non-production deployment target.
- Secrets Manager or secure properties configured for every regulated system credential.
- Named validation owner — GxP flows need a change-control path agreed before the first deployment.
- API or export access to the ELN, LIMS, and screening platforms in scope.
- Target data lake — AWS S3 or Azure Storage Blob — with a bucket layout and retention policy agreed.
- A compound registration system, or the decision to make one of the existing systems authoritative.
Choose your path
- API-first ingestion — Choose when the ELN and LIMS expose usable REST APIs — near-real-time capture, incremental pulls, and no file choreography to babysit.
- Instrument and file ingestion — Choose when data leaves instruments as plate files, CSV, or vendor formats — land raw first, parse second, and keep the original file as the record.
Platform notes
Benchling
- Use the Benchling REST API with app-based authentication; entity schemas differ per tenant, so read schema definitions at deploy time rather than hard-coding field IDs.
- Register events through Benchling webhooks where available to avoid polling the whole notebook.
Dotmatics
- Query through the Dotmatics data services layer; compound registration and assay data usually live in separate modules with separate identifiers.
LabWare / LabVantage / STARLIMS
- LIMS result extracts are commonly scheduled rather than event-driven — pull incrementally on a modified timestamp and reconcile counts per run.
- Sample and test identifiers are site-specific; map them to canonical compound and batch IDs in the Process layer.
Architecture
1. Business requirements
- Find every assay result for a compound without knowing which system produced it.
- Preserve the raw experimental record alongside the normalized view.
- Register compounds and batches once, so downstream phases inherit a stable identifier.
- Support screening volumes — hundreds of plates per run — without manual file handling.
2. Ingestion
- Wrap each source in its own System API so a platform swap does not ripple outward.
- Pull incrementally on modified timestamps, and reconcile record counts per run.
- Land raw payloads and instrument files unchanged before any transformation.
- Carry a correlation ID from ingestion through to the lake partition.
3. Normalization and registration
- Resolve compound aliases and internal codes to a canonical compound ID at registration.
- Normalize units, concentrations, and assay endpoints — a result in nM and one in µM are not comparable rows.
- Attach structure identifiers (InChIKey or equivalent) so chemistry, not naming, decides identity.
- Quarantine records that fail registration instead of loading them with a guessed identity.
4. Lake layout and FAIR metadata
- Partition by compound, assay type, and run date for the access paths analysts actually use.
- Write FAIR metadata — findable, accessible, interoperable, reusable — alongside every dataset.
- Keep schema evolution additive, and version datasets rather than overwriting them.
- Publish a catalog entry per dataset so discovery does not depend on tribal knowledge.
5. Error handling and operations
- Retry transient API and storage failures with bounded backoff.
- Route unparseable instrument files to a review queue with the original attached.
- Track ingestion volume, registration match rate, and quarantine depth per source.
- Alert when a scheduled extract produces zero records — silence is usually a broken credential.
6. Security and data integrity
- Validate the integration under GAMP 5 — requirements, design, IQ/OQ/PQ evidence, and a traceability matrix retained for inspection.
- Meet 21 CFR Part 11 and EU Annex 11 for electronic records and signatures on every GxP-relevant flow.
- Preserve ALCOA+ data integrity — attributable, legible, contemporaneous, original, and accurate — with audit trails no operator can edit.
- Encrypt regulated data in transit and at rest, and keep production payload visibility to validated support roles only.
- Treat a mapping change on a GxP flow as a controlled change under change management, never as a hotfix.
- Most discovery work sits outside GxP, but GLP applies to safety and toxicology studies — classify those flows as regulated and validate them accordingly.
- Protect intellectual property as carefully as regulated data: structures and screening results are the most sensitive assets in this phase.
For pre-built API specifications, implementation templates, and reference architecture, see the MuleSoft Accelerator for Life Sciences on Anypoint Exchange.
Sample payload — Normalized assay result
{
"compoundCanonicalId": "CMP-0043187",
"inchiKey": "RYYVLZVUVIJVGH-UHFFFAOYSA-N",
"batchId": "CMP-0043187-B04",
"assay": { "code": "CYP3A4-INH", "endpoint": "IC50", "value": 412.0, "unit": "nM" },
"run": { "runId": "HTS-2026-0731-014", "plate": "P0009", "well": "H11", "performedAt": "2026-07-31" },
"source": { "system": "LIMS", "recordId": "TST-9911827", "raw": "s3://research-raw/lims/2026/07/31/TST-9911827.json" }
}
Testing and validation
- Ingest a known plate file and confirm every well maps to a registered compound and batch, with unmapped wells quarantined rather than dropped.
- Submit the same run twice and verify the lake holds one dataset version, not two.
- Register a compound under an alias and confirm it resolves to the existing canonical ID via structure identifier.
- Revoke a source credential and confirm the zero-record alert fires rather than the run reporting success.
Phased rollout
Phase 1 — Connect
- Wrap one ELN and one LIMS with System APIs against a sandbox tenant.
- Land raw payloads in the lake with partitioning and retention proven before normalization.
Phase 2 — Map and validate
- Add compound and batch registration for one therapeutic area; measure the alias match rate.
- Onboard the screening platform once registration is stable, starting with a single assay family.
Phase 3 — Production
- Expand across therapeutic areas and retire manual export routines as each source is covered.
- Publish the dataset catalog and hand ingestion monitoring to the platform team.
Success metrics
- Compound registration match rate above 95%, with the remainder resolved in the review queue.
- Screening runs land in the lake within one hour of instrument completion.
- Time for an analyst to locate all assay results for a compound drops from days to a query.
- Zero silent extract failures — every zero-record run raises an alert.
Troubleshooting
- Assay values look wrong by three orders of magnitude — Likely cause: unit normalization missing for a source reporting µM against a nM canonical. Fix: Add the unit conversion to the normalization table and reprocess from the raw landing zone.
- The same compound appears under several canonical IDs — Likely cause: registration keyed on internal code rather than structure identifier. Fix: Re-run registration keyed on InChIKey and merge the duplicates through the review queue.
- ELN pull returns records already ingested — Likely cause: modified-timestamp watermark not persisted between runs. Fix: Store the watermark in Object Store and filter on it, keyed per source and entity type.
Deliverable: System APIs over ELN, LIMS, and screening platforms feeding a governed data lake, with compound and batch registration producing the canonical identifiers the rest of the value chain builds on.