* Color.white, // R Color.white, // Y Color.white, // N Color.white, // Gap
*/
- public static final String STOP = "STOP";
+ public static String STOP = "STOP";
- public static final List<String> STOP_CODONS = Arrays.asList("TGA", "TAA",
- "TAG");
+ public static List<String> STOP_CODONS = Arrays.asList("TGA", "TAA", "TAG");
- public static final String START = "ATG";
+ public static String START = "ATG";
// Stores residue codes/names and colours and other things
- public static final Map<String, Map<String, Integer>> propHash = new Hashtable<>();
+ public static Map<String, Map<String, Integer>> propHash = new Hashtable<>();
- public static final Map<String, Integer> hydrophobic = new Hashtable<>();
+ public static Map<String, Integer> hydrophobic = new Hashtable<>();
- public static final Map<String, Integer> polar = new Hashtable<>();
+ public static Map<String, Integer> polar = new Hashtable<>();
- public static final Map<String, Integer> small = new Hashtable<>();
+ public static Map<String, Integer> small = new Hashtable<>();
- public static final Map<String, Integer> positive = new Hashtable<>();
+ public static Map<String, Integer> positive = new Hashtable<>();
- public static final Map<String, Integer> negative = new Hashtable<>();
+ public static Map<String, Integer> negative = new Hashtable<>();
- public static final Map<String, Integer> charged = new Hashtable<>();
+ public static Map<String, Integer> charged = new Hashtable<>();
- public static final Map<String, Integer> aromatic = new Hashtable<>();
+ public static Map<String, Integer> aromatic = new Hashtable<>();
- public static final Map<String, Integer> aliphatic = new Hashtable<>();
+ public static Map<String, Integer> aliphatic = new Hashtable<>();
- public static final Map<String, Integer> tiny = new Hashtable<>();
+ public static Map<String, Integer> tiny = new Hashtable<>();
- public static final Map<String, Integer> proline = new Hashtable<>();
+ public static Map<String, Integer> proline = new Hashtable<>();
static
{
public static String codonTranslate(String lccodon)
{
- String peptide = GeneticCodes.getStandardCodeTable().translate(lccodon);
+ String peptide = GeneticCodes.getInstance().getStandardCodeTable()
+ .translate(lccodon);
if ("*".equals(peptide))
{
return "STOP";
* lookup of (A-Z) alternative secondary structure symbols'
* equivalents in DSSP3 notation
*/
- private final static char[] toDssp3State;
+ private static char[] toDssp3State;
static
{
toDssp3State = new char[9]; // for 'A'-'I'; extend if needed