Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atomic DNA/protein multi-hot encodings #107

Open
7 tasks
ilibarra opened this issue Jan 3, 2023 · 0 comments
Open
7 tasks

atomic DNA/protein multi-hot encodings #107

ilibarra opened this issue Jan 3, 2023 · 0 comments
Labels

Comments

@ilibarra
Copy link
Member

ilibarra commented Jan 3, 2023

A DNA residue can be defined as one of four possible nucleotides, and a protein residue as one out of twenty. Additionally, atomic representations per residue are convenient to encode potentially relevant interactions between atoms that are directly recognized by the binding proteins, or indirectly relevant to guide molecular recognition. For that reason, fixed dimensions of layers have to be updated by a simplified enum https://docs.python.org/3/library/enum.html

Implement in enum.py

  • implement enum DnaResidue that encodes a simplified representation of {A, C, G, T}.
  • implement enum ProteinResidue that encodes a simplified representation of residues.
  • implement enum ProteinAtom that encodes a simplified representation of protein atoms. Use this 40 representation as a starter http://melolab.org/anolea/DD_KB_MFP.html
  • implement enum DnaAtom that updates a simplified, non-redudant. dictionary of atoms for the four most relevant nucleotides https://drv.brc.hu/help/theoretical_background_files/image019.png.
  • Update MultiBind to include variable self.input_enum (or equivalent name). This variable will be an enum representation of DNA {A, C, G, T}, or an arbitrary representation of atom types for a nucleotide. All methods should consider this for encoding purposes. Importantly, mono2rev and reverse complementary function might require check ups.
  • Given a DNA mono input with shape (, width), a torch like function needs to convert it into an enum of shape (num_non_redundant_atom, width).
  • Given a residue input, convert into one-hot encoding using ProteinResidue or ProteinAtom, based on enum option.
@ilibarra ilibarra changed the title representation of DNA and residues and multi-hot encodings atomic DNA/protein multi-hot encodings Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant