Skip to content

GSoC 2022 Project Ideas

ojeda-e edited this page Mar 11, 2022 · 39 revisions
Google Summer of Code 2022

Please read our blog post for important official information.

Please see our Google Summer of Code wiki page for some general information, including advice on application writing and also see our GSoC FAQ for commonly asked questions.

To prospective applicants: if you are interested in taking part, please do get in touch on the developer list. Given this year's changes to the GSOC program structure (medium and long projects), letting us know of your intentions to apply and getting acquainted with the project early will be very helpful.

To prospective mentors: MDAnalysis welcomes new mentors, please do get in touch on the developer list if you are interested in taking part. We typically expect mentors to be familiar with our development process as evidenced by contributions to the code base and interactions on the developer mailing list.

Overview

A list of projects ideas for Google Summer of Code 2022.

The currently proposed projects are:

  1. Generalise groups
  2. Adding type hint support to the MDAnalysis library
  3. Extend MDAnalysis interoperability
  4. Benchmarking and performance optimization
  5. Context-aware guessers

Or work on your own idea! Get in contact with us to propose an idea and we will work with you to flesh it out into a full project. Raise an issue in the Issue Tracker or contact us via the developer Google group.

Look at the list of all available mentors for MDAnalysis for potential mentors for your project. Please send all communications to the mailing list (and don't contact mentors privately). You can certainly ask for the opinion of a specific mentor if you know that their expertise is particularly suitable for your project.


Project summary

The table summarizes the project ideas; long descriptions come after the table (or click on the links under each project name). The difficulty is a somewhat subjective ranking, where easy means that we know pretty much what needs to be done, medium requires some additional research into best solutions as part of the project, and hard is high risk/high reward where we think a solution exists but we will have to work with the student to find it and implement it. The project size is either 175 h (medium) or 350 h (long) projects.

project name difficulty project size description skills mentors
1 Generalise Groups medium 350 hours Generalise concept of groups Python, NetworkX, Molecular modelling @lilyminium, @fiona-naughton, @richardjgowers, @IAlibay, @micaela-matta @ojeda-e
2 Type hinting medium 175 hours Add type hints to the MDAnalysis library Python @IAlibay, @jbarnoud, @PicoCentauri
3 Extend MDAnalysis Interoperability medium 350 hours Extend converters module to other relevant packages Python, Molecular Modelling @lilyminium, @IAlibay, @fiona-naughton, @hmacdope
4 Benchmarking and performance optimization medium 175 hours write benchmarks for automated performance analysis and address performance bottlenecks Python @hmacdope, @orbeckst, @jbarnoud @ojeda-e
5 Context-aware guessers medium 350 hours Extend how the library guesses properties such as bonds, masses or atom symbols; and write guessers that know about the context of the system (database of origin, force field...) Python, Molecular modelling @jbarnoud, @micaela-matta, @IAlibay, @PicoCentauri @ojeda-e

Project descriptions

Project 1: Bead and Ring Groups

It is common to want to consider a group of atoms as a single site/particle, for example defining the position of a water molecule (or a larger solvent) as its center of mass. It then follows that it is useful to consider many such groupings as an array of quasi-particles, leading to something like an AtomGroup-Group, e.g. a Group representing a solvent where each item in the Group is a single molecule. The goal of this project is to make two such groupings, BeadGroup and RingGroup:

  • BeadGroup: groups of atoms that can be represented as a single site/particle. This could be used for analysis purposes, as well as to define coarse-grained beads.
  • RingGroup: aromatic rings (eg benzene, nucleobases etc.) can be defined by their position (the geometric center of the ring) and their normal vector (the direction they are facing). This class would be implemented as a special case of BeadGroup which also defines a directionality.

Objectives

  1. Design and implement a BeadGroup class to represent a container of many groupings of atoms
  2. Generalise existing methods (e.g. center_of_mass) to BeadGroup
  3. Implement RingGroup, as a special case of BeadGroup
  4. Implement ring finding functions to quickly define these groups
  5. Implement basic RingGroup analysis functions, eg angle between rings, π-stacking identification.

Relevant skills

  • Python
  • Graph theory (eg the NetworkX package)
  • Chemistry

Related issues:

Mentors

  • @richardjgowers
  • @lilyminium
  • @fiona-naughton
  • @IAlibay
  • @micaela-matta
  • @ojeda-e

Project 2: Type hinting

While python is a dynamically typed language, it allows annotating the type of variables and function signatures. Such annotations can be helpful documentation, they can also help developers using IDEs by allowing better completion and error detection. Most importantly, it allows static code analysis to detect possible errors before runtime.

With this project, we aim to annotate as much of the library as possible. This will let MDAnalysis benefit from these annotations, but also let downstream projects use annotations when using MDAnalysis.

Objectives

  1. Set up type analysis in the continuous integration pipeline
  2. Design a best-in-class annotation scheme that is informative, easy to use, and catch the most errors
  3. Annotate as much of the code as possible
  4. Document the type system for MDAnalysis contributors and for downstream users

Relevant skills

  • Python

Mentors

  • @IAlibay
  • @jbarnoud
  • @PicoCentauri

Project 3: Extend interoperability

MDAnalysis has been pushing towards interoperability objectives. In pursuit of this aim, we have already added converters to the ParmEd and RDKit libraries. We aim to continue this direction by focusing on other relevant packages such as MDTraj, pytraj, OpenBabel, and Psi4.

Objectives

  • Create converter classes to and from MDAnalysis to your chosen package(s)

Relevant skills

  • Python
  • Any other language relevant to your chosen package (likely C++)

Mentors

  • @IAlibay
  • @lilyminium
  • @fiona-naughton
  • @hmacdope

Project 4: Benchmarking and performance optimization

The performance of the MDAnalysis library is assessed by automated benchmarks with ASV. The benchmarks are publicly available and are updated every night.

The goal of this project is to increase the performance assessment coverage and identify code that should be improved.

Objectives

  1. Write benchmark cases.
  2. Analyze the performance history to identify code that needs to be improved.
  3. Optimize the code for at least one of the discovered performance bottlenecks.

Relevant skills

  • Python

Mentors

  • @orbeckst
  • @hmacdope
  • @jbarnoud
  • @ojeda-e

Project 5: Context-aware guessers

Most topology file formats do not contain every information known about the system. This is because some of this information is implicit. However, the assumptions made by the file are only valid in a given context. Traditionally, MDAnalysis guesses atomic bonding, atom elements, and masses. Such guesses assume the system contains atoms simulated with their natural mass and named according to some conventions. This breaks for coarse-grained systems but also with some atomistic models.

This project aims at writing guessers that are aware of the context of the system. This will require adapting the universe creation so a user can provide a context and write a series of guesses for various contexts such as the PDB or the Martini force-field.

Objectives

  1. Design a way to provide a guessing context
  2. Adapt the Universe creation to account for user-provided context
  3. Write, test, and document a strict PDB guesser
  4. Write, test, and document a Martini guesser

Relevant skills

  • Python
  • Molecular modelling, Chemistry

Mentors

  • @jbarnoud
  • @micaela-matta
  • @IAlibay
  • @PicoCentauri
  • @ojeda-e
Clone this wiki locally