public static void main(String[] args) { try { //make a DNA SymbolList SymbolList symL = DNATools.createDNA("atgccgaatcgtaa");
//transcribe it to RNA symL = RNATools.transcribe(symL);
//just to PRove it worked System.out.println(symL.seqString()); } catch (IllegalSymbolException ex) { //this will happen if you try and make the DNA seq using non IUB symbols ex.printStackTrace(); } catch (IllegalAlphabetException ex) { //this will happen if you try and transcribe a non DNA SymbolList ex.printStackTrace(); } } }