Repository navigation
OS4LS grant blog post - #534
Conversation
- drafted based on proposal and what we provided to OS4S - links to OS4S blog post and grants page included - uses the MDA as universal connector image - based on the RMSF blog post
tylerjereddy
left a comment
There was a problem hiding this comment.
Looks pretty good--I added a few small comments.
If it were going to be edited and maintained over time I'd suggest limiting the line lengths for diffs, but since it is a blog post that probably isn't the case.
| <figure style="margin: 1em 0;"> | ||
| <img src="{{ site.images }}/MDAnalysis_connector_1slide.jpeg" alt="MDAnalysis as a universal connector between simulation data sources and downstream ML, analysis, and visualization tools" style="display: block; margin: 0 auto;" /> | ||
| <figcaption style="text-align: left; font-size: 0.85em; line-height: 1.4; margin-top: 0.5em;"> | ||
| <strong>Figure:</strong> MDAnalysis functions as a universal connector for biomolecular simulation and structural biology data in a variety of file formats. Data can be stored on local disks, in cloud storage, remote databases, or streamed directly from high performance computing resources. MDAnalysis makes the data available through a common interface, based on the NumPy array, enabling downstream data processing and visualization. As part of the OS4LS grant, MDAnalysis will implement the Array-API standard to improve direct interoperability with common machine learning libraries and enhance remote dataset access capabilities. |
There was a problem hiding this comment.
nit: "Array-API standard" maybe remove hyphen per usual description at https://data-apis.org/array-api/latest/
There was a problem hiding this comment.
fixed & changed capitalization
|
|
||
| Over the two-year grant period, a dedicated research software engineer (RSE), supported by the co-leads and the MDAnalysis Core Developers, will re-engineer three of the library's "external interfaces": | ||
|
|
||
| **1. Interoperability with machine learning libraries and GPUs.** By adopting the [Python Array API standard][Array API], MDAnalysis analyses will run directly on the array library of your choice, whether that is NumPy, [PyTorch][], or [JAX][], on CPUs or GPUs. Featurization, model training, and inference can then live in a single pipeline without costly and error-prone data conversions, and transparently benefit from hardware acceleration. As SciPy and scikit-learn move towards enabling the Array API by default, MDAnalysis will interoperate with the rest of the scientific Python ecosystem rather than diverging from it. |
There was a problem hiding this comment.
That sounds good. Not for this PR/venue, but this reminds me that when we start writing test infrastructure for array API standard support, there are basically two ways to do it: the SciPy way and the sklearn way. Nobody has abstracted a common testing infrastructure yet.
This has been discussed in a few meetings. Anyway, that's probably a meeting topic at some point. Related: data-apis/array-api-extra#1064
|
|
||
| **2. ML-native access to large-scale and remote data.** Building on our recent work on [streaming trajectories][streaming paper] directly from running simulations and from cloud storage (e.g., [Zarrtraj][]), we will expose trajectories as scalable, randomly accessible *datasets* that plug straight into the familiar dataset/data-loader paradigm of PyTorch and JAX, with support for batching, shuffling, and parallel access. We will also enable access to trajectories hosted in public repositories such as MDDB through its [MDposit][] interface. The goal is to make it straightforward to train models on, and run AI-driven analysis over, far larger datasets than fit on a single workstation. | ||
|
|
||
| **3. Agent-callable interfaces.** AI agents are increasingly used to plan and run scientific analyses. We will define a stable, documented interface for core operations (load, select, transform, analyze), together with AI-readable documentation and agent skills files, so that agents and automated pipelines can discover and invoke MDAnalysis analyses reliably. A reproducible reference workflow will show how scientists can explore biomolecular simulation data through agentic workflows. |
There was a problem hiding this comment.
This is perhaps the most nebulous for concrete execution in my mind, perhaps in some part because the guidance on what you're "supposed" to do in these workflows seems to be changing frequently (MCP support, sparse vs. detailed agent guidance, using closed loops for agent objectives or not even needing them anymore). But that's not really for this PR either.
|
|
||
| New capabilities are only useful if people know how to use them. We will publish migration guides and interactive notebooks for all three new interfaces, and we plan to run a tutorial at the SciPy conference aimed at life-science researchers who combine molecular simulation with machine learning. We plan to host a contributor sprint at our next User Group Meeting to mentor new contributors and gather feedback on the new interfaces. We will also run user surveys in both years of the grant to help us set priorities and measure adoption. Please take part when they come out, because your input will directly shape the work. | ||
|
|
||
| We will also be **recruiting a research software engineer** to carry out much of the engineering work. If you are excited about the intersection of molecular simulation, scientific Python, and machine learning, keep an eye on our channels for the job posting. |
There was a problem hiding this comment.
I suppose could be worth specifying if it would likely be a US-based position, or UK, etc.
There was a problem hiding this comment.
Let's leave this to a dedicated posting.
|
|
||
| ## About MDAnalysis | ||
|
|
||
| MDAnalysis is an open-source Python ecosystem, built by scientists for scientists, of intuitive, high-performance tools for reading, handling, and analyzing biomolecular structures and simulation data. Its core package, also called MDAnalysis, is one of the most widely used Python libraries for analyzing and manipulating molecular simulations. It provides simple, flexible, and efficient handling of structural data from simulations and experiments, supporting research in biophysics, biochemistry, materials science, and beyond, with applications ranging from understanding how drugs interact with proteins to designing novel materials. |
There was a problem hiding this comment.
maybe:
MDAnalysis is an open-source Python ecosystem...
to:
MDAnalysis consists of a core open source Python library and an ecosystem of related open source projects...
but then you'd need to change what comes after
There was a problem hiding this comment.
Changed to
MDAnalysis consists of a core open source Python library and an ecosystem of related open source projects, built by scientists for scientists, for reading, handling, and analyzing biomolecular structures and simulation data. Its core package, also called MDAnalysis, is one of the most widely used Python libraries for analyzing and manipulating molecular simulations. It provides simple, flexible, and efficient handling of structural data from simulations and experiments, supporting research in biophysics, biochemistry, materials science, and beyond, with applications ranging from understanding how drugs interact with proteins to designing novel materials.
|
Thank you for your comments @tylerjereddy ; sorry for the infinite lines. They are not great for diffs but nice during writing. |
Note that their blog post goes live on 2026-11-30 but the grants are already visible on their page.
Please have a quick look. Ideally we publish this tomorrow/today as well.
AI: Written with Opus 5.5 support.