Biobanks around the world are increasingly turning to “trusted research environments” TREs as a way to let scientists work with sensitive health and genomic data without…

Biobanks around the world are increasingly turning to “trusted research environments” (TREs) as a way to let scientists work with sensitive health and genomic data without releasing those data to users’ own computers. The promise is straightforward: keep participant information safer while still enabling discovery. But as more large-scale resources adopt TREs, researchers are finding that security can come with practical trade-offs—higher costs, steeper learning curves and added technical friction that can slow analyses.

In a recent report in Nature Medicine, Vincent J. Straub and Melinda C. Mills examine what makes secure data access hard in practice and describe approaches that could make TRE-based research more usable without weakening protections. Their discussion is grounded in the experience of Our Future Health (OFH), a UK research programme building a large health dataset intended to support studies across disease prevention, diagnosis and treatment.

TREs typically restrict how data can be accessed, moved and exported, limiting outputs to approved results and enforcing auditing and governance. Those safeguards are designed to reduce risks such as re-identification and unauthorized sharing. Yet the same constraints can complicate day-to-day work: common tasks like importing software packages, reproducing workflows, documenting phenotypes, or iterating quickly on code may require additional approvals or bespoke configurations. For many biomedical researchers—especially those without strong computational support—this can translate into delays and extra expense.

Straub and Mills argue that the solution is not to back away from TREs, but to improve the tooling and standards that sit on top of them. Better software infrastructure, they suggest, can reduce duplication of effort, make analyses more transparent and reproducible, and help researchers navigate TRE rules while keeping sensitive data contained.

As part of that effort, the authors introduce Phenofhy, a community-built Python tool developed for OFH. The aim is to streamline the “phenotyping” process—the construction of usable research variables from raw records—inside the constraints of a TRE. Phenotyping is often where projects lose time, as teams repeatedly implement similar definitions for conditions, exposures, and outcomes, then struggle to compare results across studies because each group’s code and assumptions differ. A shared, versioned toolset can make those definitions easier to discover, reuse and audit.

Development of Phenofhy required working with restricted OFH data under an approved project (OFH study ID 240228). The OFH programme itself received ethical clearance from the Cambridge East Research Ethics Committee (REC reference 21/EE/0016). The authors also credit the research participants who contributed data, emphasizing that trustworthy data access systems must ultimately serve the public interest that underpins participation.

The paper is situated within a broader debate playing out across genomics and digital health: how to balance stringent privacy protections with the practical needs of science, from scalable computation to reproducible methods. Straub and Mills’ message is that TREs are likely to become the default for sensitive biomedical datasets, so the next step is making them genuinely workable—through open, well-maintained community tools and clearer technical pathways—so that security does not inadvertently become a barrier to discovery.