This is academia; everybody has to get something
Photo source: Lukas Seitz (@lukasseitz) | Unsplash
It has been three months since we published our preprint, and it has now passed 500 downloads. That seems like a good occasion to write about how I ended up working on molecular simulations and scientific software after leaving a promising assistant professorship.
I have tried to write about that decision several times, but the drafts kept growing and none reached publication. There was always more to explain. This time, I will focus on what led to the decision and what came of it.
Initial conditions, real-world dynamics
One moment that stayed with me came at the Third Infinity conference in September 2022, held at the Max Planck Institute for Multidisciplinary Sciences (MPI-NAT) in Göttingen.1 I presented right after Anđela Šarić, whose group I follow and whose research I deeply admire. My presentation went fine, but it felt modest by comparison. I was struck by the scientific depth and scope of her work and the stunning molecular visualizations she used to present it. It made me ask what it would take for our group to produce work on that level and communicate it so effectively.
By then, Patrik Nikolić and I had already tried another way to support our research. Through RxTx Research, we tried to bootstrap a business around free and open-source scientific software for drug discovery. Our work centered on RxDock, which we modernized and maintained for molecular docking and high-throughput virtual screening.2 The startup did not, in the end, work out the way we had imagined. There were several reasons, but, for now, I will simply say that too many of our assumptions proved wrong, both about the science and about building a business from Rijeka, Croatia, with limited access to the connections and capital we needed. Still, we learned quite a bit from the experience.
On the academic side, I did not secure the Croatian Science Foundation funding I had sought, as I described in The unfortunate state of early-career scientist funding in Croatia. I could continue building the group with only basic funding, but that seemed unlikely to give us the resources and freedom to do work on the scale I had admired in Anđela’s presentation. I could also join an existing group at the University of Rijeka, but that was not what I had returned to Rijeka to do. I wanted to find a way to get back to doing the kind of science that had brought me to computational biochemistry in the first place.
Then, in April 2023, my mentor and longtime collaborator Željko Svedružić passed away unexpectedly, far too soon. His work combined molecular simulations and experiments to understand enzyme mechanisms and develop drug candidates, interests he discusses in his last interview. I remain grateful for his support when I was looking for my first postdoc, which eventually took me to Frauke Gräter’s group at the Heidelberg Institute for Theoretical Studies (HITS).
His death also brought our years of scientific collaboration to an end. The startup had not worked out, my attempt to establish an independently funded research group had not succeeded, and now I had lost the mentor with whom I had found my way into computational biochemistry. Little remained of the research setting I had hoped to build in Rijeka.
I began applying for positions elsewhere, hoping to make computational biochemistry and scientific software development the main focus of my work again. These were fixed-term roles below the assistant professor level, so leaving meant giving up both rank and security. Of the offers I received, I chose a position at the Max Planck Computing and Data Facility (MPCDF) in Garching, where I work as part of BioExcel in close collaboration with MPI-NAT. In that role, I could pick up almost exactly where I had left off in Heidelberg: as a computational biochemist and a member of the developer community for GROMACS, a molecular dynamics simulation package, working again with colleagues from MPI-BPC.3
By the time I left for MPCDF in September 2023, I had spent twelve years at the University of Rijeka, teaching countless classes, mentoring students through their theses, and working to build a research group. I was leaving colleagues and students I had worked with for years, along with courses I had helped develop.
I was not the only one to move on. Some colleagues left before I did; others have left since. Igor Jugo moved into IT at KBC Rijeka and later into entrepreneurship. Luka Vretenar moved into industry, as did Katerina Černjeka, who now works in Copenhagen, Denmark. Maja Vrancich returned to school teaching, and Tomislav Slaviček-Car moved into entrepreneurship.
Others continued in research: Dino Pitoski took a postdoctoral position at the University of Rijeka's Centre for Artificial Intelligence and Cybersecurity, Draško Tomić joined the Ruđer Bošković Institute, and Ema Kušen (now Kahr) works at the Institute for Complex Networks at WU Vienna in Austria. Each of these colleagues had their own circumstances and reasons for moving on.
Back in the game with room to move
At MPCDF, I finally had room to focus on computational biochemistry and scientific software development again. The preprint I mentioned at the beginning describes porting the Amber ff14SB and ff19SB protein force fields to GROMACS. A force field specifies how the atoms in a simulation interact. The work also included the accompanying ion parameters and water models. Making these available in another simulation package might sound like a matter of translating parameter files, but reproducing their behavior requires more than copying the numbers.
For ff19SB, we needed to extend GROMACS to support amino-acid-specific corrections to the protein backbone's conformational energy. We also had to account for differences between Amber and GROMACS in fundamental constants, parameter precision, and even the ordering of atoms in improper dihedral interactions. My coauthors and I validated the converted force fields against Amber, comparing both individual interaction energies and the conformational behavior of ubiquitin in long simulations. The resulting force-field ports are now part of GROMACS, rather than a separate download that users have to find and assess themselves.
Alongside the force-field work, I have been helping keep GROMACS reliable as it evolves, from testing compatibility with newer C++ standards to enabling additional runtime checks and making compiler warnings more useful. I also worked on scientific validation, making sure that tests of argon and water still ran under their intended conditions when simulation defaults changed. I want us to catch these problems before users do.
Testing on different platforms is useful for the same reason. I first tried building GROMACS for Windows using MinGW on Fedora in 2019; years later, I got it working on Debian and used Wine to run the tests. That work exposed assumptions that were easy to miss elsewhere: trajectory-reading code could produce zero coordinates, while time-selection settings could leak between analysis-tool invocations within the same process. Both bugs were in code shared by all platforms; testing the Windows builds happened to expose them.
I also helped improve simplified protein models using nuclear magnetic resonance measurements and scale GROMACS simulations to 65,536 CPU cores. This combination of scientific questions and software development is what I had been looking for. I work on molecular models and the software that other researchers use to run them. I enjoy the day-to-day work, even when a paper is still a long way off.
Academic conservation laws
My departure also meant a change for Matea Turalija, whose PhD I continue to supervise. Staying on as a teaching assistant at the Faculty of Informatics and Digital Technologies would, in practice, have meant finding another group willing to take her on and likely changing her PhD topic to fit its research. Instead, she moved to the Faculty of Medicine at the University of Rijeka, where she has more opportunities to deepen her understanding of pharmaceutical research and the computational methods and software used in it.
Her teaching now includes Informatics for Pharmacists, giving her another way to connect our computational biochemical work with pharmaceutical education. She is also part of a growing pharmacy programme. Its first cohort of students recently graduated, and there are plans for an eventual independent faculty.
There were also different views of what the Faculty of Informatics and Digital Technologies should become. Some colleagues wanted the faculty to focus on how digital technologies are used in organizations and society, while Matea and I wanted computational biochemistry and other interdisciplinary research to have a larger place. Both were reasonable visions, though we sometimes disagreed about where the faculty should go. Moving to other institutions gave Matea and me space to pursue computational biochemistry and gave our former colleagues more room to develop the faculty as they saw fit.
Leaving did not mean taking the teaching materials with me. The colleagues who took over my courses have access to all the teaching and supporting materials we created, including those for Web Programming, Computer Systems Administration, Code Optimization, Computer Networks, and Informatics for Biotechnology. Much of that teaching used free and open-source software, with Fedora/CentOS and Arch Linux serving as teaching environments over the years. Colleagues can use these environments as a starting point for their own teaching setups.
I know how much work it takes to build a course from scratch, and having something to start from can help tremendously. The materials remain openly available on this website for colleagues to adapt to their own expertise and interests. AI agents can help with that adaptation, too.
I also hope my move encouraged some of the teaching assistants I worked with to spend time elsewhere. That need not mean leaving permanently: Milan Petrović, for example, has undertaken research stays at ETH Zürich and Masaryk University, building collaborations around his research on social networks while continuing his PhD in Rijeka. Whether my example had anything to do with it is a question for Milan, but I will gladly take a little credit anyway.
I am glad to stay in touch with former colleagues and other scientists in Croatia working in related fields, exchanging ideas and, when useful, offering advice based on my experience in Germany. My time in Heidelberg4 and Garching now adds up to more than five years of post-PhD research experience abroad. As a bonus, that experience also exceeds the four-year threshold in the Ministry's criteria for hiring returning scientists. Who knows whether that will ever come into play, but it leaves another possibility open for the future.
Looking back, I would say that everyone got something out of the change, even if it was not quite what we had originally planned. To adapt a line from Dragoslav “Car” in South Wind (srb. Južni vetar):
This is the world of academia; everyone in it has to get something: some a fresh restart5 and a new scientific home, others more room in the old one.
(Watch the original scene on Facebook or Instagram.)
Much of what we built in Rijeka continues, and I get to do the scientific work I wanted to do, the way I wanted to do it. Giving up rank and security was a real cost, but I would make the same choice again.
-
For a bird’s-eye view of the scenic Faßberg campus, see the drone videos on the Horizons in Molecular Biology channel on YouTube. ↩
-
Development of rDock has since resumed, although it has taken a different modernization path: our switch to Meson and Eigen, for example, was not adopted. I like to think we at least provided some encouragement. ↩
-
The Max Planck Institute for Biophysical Chemistry (MPI-BPC) merged with the Max Planck Institute for Experimental Medicine in 2022 to form MPI-NAT. ↩
-
My two-plus years at HITS also helped the faculty's mobility figures. Averaged across twenty-something staff members, that amounted to about a month abroad each. Statistically, we had all been quite mobile. ↩
-
Normally, “a fresh start,” but this was my second stint in German academia. ↩