News

MDAnalysis Awarded OS4LS Grant for AI-Ready Workflows

We are thrilled to announce that MDAnalysis has been awarded the grant MDAnalysis: AI-Ready Molecular Simulation Workflows from the Open Source for Science Fund (OS4S), a multi-donor fund established by Renaissance Philanthropy and seeded by Biohub and Wellcome to make scientific open source software ready for the era of AI-driven discovery. MDAnalysis is one of 18 projects in the inaugural Open Source for the Life Sciences OS4LS cohort.

The grant ($250,000 over two years, starting in December 2026) will support modernizing MDAnalysis for AI-native, data-intensive research. MDAnalysis analyzes molecular dynamics (MD) trajectories from essentially any MD engine, but like most analysis tools of its generation it was designed around manual, file-based workflows on a single machine. With this grant we will bring MDAnalysis into the AI era through GPU and machine-learning interoperability via the Python array API standard, ML-native access to large-scale and remote streaming data, and interfaces for AI agents.

Why this grant matters

Molecular simulations have become an indispensable tool in biomedical research, from basic mechanistic biology to drug discovery and vaccine design. A single simulation produces the positions of hundreds of thousands to millions of atoms over millions of time steps, and MDAnalysis is one of the most widely used libraries for turning this raw data into scientific insight.

The field, however, is changing rapidly. Machine learning, very large datasets (including public databases of simulation trajectories such as the Molecular Dynamics Data Bank, MDDB), and autonomous, “agentic” pipelines are reshaping how simulation data is analyzed. Today, scientists who want to use MDAnalysis in these workflows have to write and maintain their own glue code. This grant will close that gap, so that researchers can use a tool they already rely on directly within AI-driven and large-scale analysis pipelines.

MDAnalysis as a universal connector between simulation data sources and downstream ML, analysis, and visualization tools
Figure: 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.

What the funding will support

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, 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.

2. ML-native access to large-scale and remote data. Building on our recent work on streaming trajectories 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.

Because MDAnalysis is a foundational library, these improvements will automatically benefit the growing ecosystem of community-developed MDAKits and their users. The work continues the priorities of interoperability, streaming, and cloud storage that we laid out in our roadmap Towards MDAnalysis 3.0, and extends them to meet the needs of AI-native research.

Getting the community involved

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.

Acknowledgements

We are grateful to the Open Source for Science Fund and its supporters for recognizing the importance of foundational open source tools for AI-driven life-science research. We also thank our fiscal sponsor NumFOCUS for its continued support. Finally, thank you to everyone who uses, contributes to, and advocates for MDAnalysis. This grant is as much a recognition of your work as it is an investment in our future.

This project will be led by Oliver Beckstein @orbeckst (Arizona State University) with Irfan Alibay @IAlibay (MDAnalysis/NumFOCUS), Tyler Reddy @tylerjereddy (Los Alamos National Laboratory), and Micaela Matta @micaela-matta (King’s College London), together with Arliss Collins (NumFOCUS) and Jenna Swarthout Goddard @jennaswa (MDAnalysis/NumFOCUS).

About MDAnalysis

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.

MDAnalysis is a fiscally sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open source scientific computing community.

Release 2.11.0 of MDAnalysis

We are happy to release version 2.11.0 of MDAnalysis!

This is a minor release of the MDAnalysis library; it contains bug fixes, new features, and performance improvements. These updates are backwards-compatible, with the exception of one API fix for the AtomicDistances analysis, which is noted under Changes.

A highlight is the new support for mmCIF/PDBx files, which was one of the most-requested features (see Changes).

Supported environments

This release supports NumPy 2.0+ and offers backwards compatibility through to NumPy 1.26.0.

Supported Python versions: 3.11, 3.12, 3.13, 3.14.

Supported Operating Systems:

Upgrading to MDAnalysis version 2.11.0

To update with mamba (or conda) from the conda-forge channel run

mamba update -c conda-forge mdanalysis

To update from PyPi with pip run

python -m pip install --upgrade MDAnalysis

For more help with installation see the installation instructions in the User Guide. Make sure you are using a Python version compatible with MDAnalysis before upgrading (Python >= 3.11).

Notable changes

For a full list of changes, enhancements, bug fixes and deprecations see the CHANGELOG.

Enhancements:

  • Single-frame mmCIF/PDBx files, including .cif.gz, can now be read with the optional gemmi library (Issue #2367, PR #4712):

    import MDAnalysis as mda
    
    u = mda.Universe("structure.cif")
    
  • New MDAnalysis.fetch.from_PDB() helper to download structure files from the RCSB Protein Data Bank (optional pooch dependency). It returns a path that can be passed to Universe (Issue #4907, PR #4943). The default download is mmCIF (.cif.gz); pass file_format="pdb" for a PDB file:

    import MDAnalysis as mda
    from MDAnalysis.fetch import from_PDB
    
    u = mda.Universe(from_PDB("1AKE"))
    
  • New parallelization support for:
  • DSSP analysis improvements:
    • Proline is now included in secondary-structure assignment, following the upstream PyDSSP 0.9.1 fix (Issue #4913, PR #5065)
    • Faster distance calculations, with a selectable distance backend (for example "distopia") (PR #5182)
  • MOL2 files can now provide unit cell dimensions from @<TRIPOS>CRYSIN records (Issue #3341, PR #5187)
  • GROMACS TPR reader improvements:
  • AtomGroup.wrap() with compounds is much faster and now scales close to linearly with the number of compounds, rather than quadratically (PR #5226)

Fixes:

  • Fixed periodic-boundary handling for triclinic boxes in apply_PBC() and in the neighbor search used by capped_distance() and self_capped_distance() (Issue #4906, PR #5481):
    • apply_PBC(), AtomGroup.wrap() / pack_into_box(), center*(wrap=True), AtomGroup.unwrap() with reference="com" or "cog", and the transformations.wrap transformation could leave atoms or compound centers outside the primary unit cell when both b_x and c_y are non-zero (for example truncated octahedra). They were shifted by whole box vectors, so periodic distances were unaffected, but results that depend on absolute wrapped positions (dipole moments, densities, written coordinates) may change.
    • capped_distance() and self_capped_distance() with the nsgrid or pkdtree methods could miss pairs within the cutoff, which also affects bond guessing and distance-based selections. nsgrid was affected in triclinic boxes with two or more non-90° angles (for example a rhombic dodecahedron); pkdtree in boxes with both b_x and c_y non-zero (for example a truncated octahedron).
  • GROMACS TPR file support fixes:
    • Positions and velocities read from TPR files are converted to MDAnalysis base units. Previously they were left in GROMACS native units (PR #5374)
    • Fixed reading of older TPR files written before GROMACS 5.1 (TPX version < 103) (Issue #5145, PR #5146)
  • Bond guessing now works with mixed-case atom types (Issue #5342, PR #5343)
  • NumPy boolean arrays passed to AnalysisBase.run(frames=...) are treated as frame masks. Previously they were interpreted as integer frame indices, i.e., True was parsed as frame 1 and False as frame 0, and the analysis most likely did not produce the intended output (Issue #5472, PR #5476)
  • DSSP analysis: Hydrogen-bond detection now respects periodic boundary conditions (PR #5182)
  • Fixed a TypeError when indexing GSD trajectories with NumPy integer types, which stopped analysis classes from running on those trajectories (Issue #5224, PR #5260)
  • Fixed parallel reductions that produced wrong results in multiple analysis classes:
    • mean bin values in InterRDF (PR #5344)
    • pair counts in InterRDF_s (wrong for one pair of groups, and an error for more than two) (Issue #5496, PR #5497)
    • eigenvectors in GNMAnalysis when using multiprocessing (Issue #5494, PR #5495)

Changes:

  • MDAnalysis.analysis.atomicdistances.AtomicDistances now stores its outputs inside the results dictionary as results.distances, like other analysis classes. Code that read the old attribute needs to be updated (Issue #4819, PR #5347).

    This fixed an API issue in a backwards incompatible manner.

  • AtomGroup.rotate() and the rotateby trajectory transformation now rotate velocities and forces as well as positions. The same applies to align.alignto() and AlignTraj, which fit through AtomGroup.rotate(). Previously velocities and forces were left unchanged (Issue #5421, PR #5452)
  • WatsonCrickDist, MinorPairDist, and MajorPairDist match the full residue name. Previously only the first character was used, so names such as CHARMM DG/DA or GUA/ADE were handled incorrectly. Analyses that relied on the old truncation need explicit residue names via g_name, a_name, and the related keyword arguments (Issue #5360, PR #5365)

Author statistics

This release was the work of 34 contributors, 22 of which are new contributors.

Our new contributors are:

Acknowledgements

MDAnalysis thanks NumFOCUS for its continued support as our fiscal sponsor, the Chan Zuckerberg Initiative for supporting MDAnalysis under an EOSS5 award, and the National Science Foundation for support under CSSI award 2311372.

— @IAlibay and @orbeckst on behalf of the MDAnalysis Team


MDAnalysis Awarded Research Software Maintenance Fund Grant

Software Sustainability Institute Research Software Maintenance Fund Round 2 logo

We are excited to announce that MDAnalysis has been awarded a grant from the Software Sustainability Institute’s Research Software Maintenance Fund (RSMF), a £5.8M investment from UKRI to support the long-term sustainability of research software that matters to the UK research community. MDAnalysis is one of 19 projects funded in Round 2, out of 229 initial expressions of interest.

This funding will allow us to hire a dedicated Research Software Engineer (RSE) to carry out essential maintenance work which is key for long-term sustainability but difficult to achieve through volunteer effort alone. It will also contribute to retaining our Community Manager to continue the community engagement activities and mentorship programs that are central to the project.

Why this grant matters

Despite MDAnalysis’s scale of impact the project has, until now, relied entirely on volunteer effort to keep the library maintained. This is the first grant MDAnalysis has ever received that is dedicated specifically to maintenance rather than new feature development, and it comes at an important time: previous funding streams that supported MDAnalysis, such as the Chan Zuckerberg Initiative’s Essential Open Source Software for Science program (which funded our EOSS4 and EOSS5 awards), have been discontinued, narrowing the available opportunities.

What the funding will support

Over the 12-month grant period, our RSE and Community Manager will work across three areas:

1. Sustainable maintenance. The RSE will audit and document our continuous integration and release workflows, lead regular releases, and keep MDAnalysis compatible with fast-moving upstream dependencies such as NumPy, Python, and Cython. Other planned work includes modernising our test suite, maintaining the MDAKits ecosystem, and adding support for new file formats, alongside new “Guesser” components for PDB structures and MARTINI coarse-grained simulations.

2. Documentation and user experience. We will overhaul the User Guide, cleanly separating conceptual/user-facing documentation from the API reference, consolidate and add continuous testing to our library of tutorials, and mine our community support channels (GitHub Discussions, Discord, mailing lists) to build out a FAQ section.

3. Community building and mentorship. Our Community Manager will continue coordinating our participation in mentorship programs such as Google Summer of Code, maintain onboarding pathways for new Core Developers, and keep up our long-standing training partnerships with UK-based communities including the Thomas Young Centre, CCPBioSim, and CCP5. We will also continue to grow relationships with industry stakeholders to help diversify our funding base beyond this grant.

We will be advertising for a 1-year, UK-based RSE position soon — if you’re passionate about open-source scientific software and want to help sustain a tool used by thousands of researchers worldwide, keep an eye on our channels for the job posting.

Acknowledgements

This grant recognises that maintaining widely used research software requires sustained, professional investment, and we’re grateful to the SSI and UKRI for supporting that vision. Thank you also to King’s College London and our partners at the Thomas Young Centre, CCPBioSim, and CCP5, and to our fiscal sponsor NumFOCUS for its continued support. Finally, thank you to everyone who uses, contributes to, and advocates for MDAnalysis — this grant is as much a recognition of your work as it is an investment in our future.

This project will be led by Micaela Matta @micaela-matta (Lead) and Jenna Swarthout Goddard @jennaswa (Co-Lead and Community Manager).

About MDAnalysis

The MDAnalysis package is one of the most widely used Python-based libraries for the analysis and manipulation of molecular simulations. The objective of MDAnalysis is to provide simple, flexible, and efficient means of handling molecular structure data from simulations and experiments and support research in biophysics, biochemistry, materials science and beyond.

MDAnalysis is a fiscally-sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open source scientific computing community.