Skip to content

Instantly share code, notes, and snippets.

@DarkCoder28
Created May 27, 2018 22:57
Show Gist options
  • Save DarkCoder28/f11514fd36e2cef7538f4f08fe51e639 to your computer and use it in GitHub Desktop.
Save DarkCoder28/f11514fd36e2cef7538f4f08fe51e639 to your computer and use it in GitHub Desktop.
The Amino.java gist mentioned in the RNA.java gist
package com.aidensheeran.DNATranslator;
public enum Amino {
PHE("Phenylalanine"), LEU("Leucine"), ILE("Isoleucine"), MET("Methionine"), VAL("Valine"), SER("Serine"), PRO("Proline"),
THR("Threonine"), ALA("Alanine"), TYR("Tyrosine"), HIS("Histidine"), GLN("Glutamine"), ASN("Asparagine"), LYS("Lysine"),
ASP("Aspartic acid"), GLU("Glutamic acid"), CYS("Cysteine"), TRP("Tryptophan"), ARG("Arginine"), GLY("Glycine"),
STP("Stop"), UNKNOWN("Unknown");
private String name;
Amino(String name) {
this.name = name;
}
public String getName() {
return name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment