Skip to content

Original proteingym MSAs contain letter codes not supported by the current MSAProteinSequence class #494

Description

@florisvdf

Summary

There are a significant number of non-canonical or ambiguity amino acid letter codes in the MSAs provided by the original version of the proteingym. There are:

  • B (Asn/Asp): 657 occurrences in 75 files (52% of files)
  • U (Selenocysteine): 6 occurrences in 3 files (2% of files)
  • Z (Gln/Glu): 210 occurrences in 55 files (38% of files)

Though the percentage of sequences with at least one of those letters in all sequences across MSAs is extremely small, something like less than 0.0003%, so they are definitely edge cases.

We should decide whether to support these, as well as other possible letters like:

Image

Motivation

We can't create pgdata archives for a large number of datasets from the original proteingym if we want to use the original MSAs without modifying them. If we use the same MSA generation protocol as was done for the original proteingym, more of such MSAs could be generated. The generation protocol should also be able to inform us which potential other letter codes we could encounter. Users may benefit from an expanded alphabet if they want to create datasets with their custom MSAs.

Do we:

  • Expand the alphabet, and with which letters?
  • Keep the alphabet as is?

Proposed solution

Create an ADR and make a decision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refineIssues with this tag needs refinement by team. Typically used to brain dump issues that pop up

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions