Created
May 27, 2018 22:57
-
-
Save DarkCoder28/f11514fd36e2cef7538f4f08fe51e639 to your computer and use it in GitHub Desktop.
The Amino.java gist mentioned in the RNA.java gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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