public static Hashtable aaHash = new Hashtable(); // stores the number value of the aa\r
public static Hashtable aa3Hash = new Hashtable();\r
public static Hashtable aa2Triplet = new Hashtable();\r
+ public static Hashtable nucleotideHash = new Hashtable();\r
\r
static {\r
aaHash.put("A", new Integer(0));\r
aaHash.put(" ", new Integer(23));\r
}\r
\r
+ static {\r
+ nucleotideHash.put("A", new Integer(0));\r
+ nucleotideHash.put("C", new Integer(1));\r
+ nucleotideHash.put("G", new Integer(2));\r
+ nucleotideHash.put("T", new Integer(3));\r
+ nucleotideHash.put("U", new Integer(4));\r
+ }\r
+\r
// These numbers should correspond to the indices in the Color hashes\r
public static Hashtable aaSpecialsHash = new Hashtable();\r
static {\r
Color.white // .\r
};\r
\r
+ public static Color[] nucleotide = {\r
+ new Color(100,247,63), // A\r
+ new Color(255,179,64), // C\r
+ new Color(235,65,60), // G\r
+ new Color(60,136,238), // T\r
+ new Color(60,136,238) // U\r
+ };\r
+\r
public static Color[] color = {\r
Color.pink, // A\r
midBlue, // R\r