[Biojava-l] Gap's not in alphabet?

Emig, Robin Robin.Emig@maxygen.com
Thu, 8 Feb 2001 18:59:04 -0800


Did someone remove gaps from the alphabets? I seem to be getting the follow
exception when creating ProteinTools.
-Robin

org.biojava.bio.symbol.IllegalSymbolException: Symbol gap not found in
alphabet null {t,c,g,a} 	at
org.biojava.bio.symbol.AbstractAlphabet.validate(AbstractAlphabet.java:216)
at
org.biojava.bio.symbol.SimpleAlphabet.addAmbiguity(SimpleAlphabet.java:128)
at
org.biojava.bio.symbol.AlphabetManager.alphabetFromXML(AlphabetManager.java:
735) rethrown as org.biojava.bio.BioException: Couldn't parse element
[ambiguity: null] 	at
org.biojava.bio.symbol.AlphabetManager.alphabetFromXML(AlphabetManager.java:
738) 	at
org.biojava.bio.symbol.AlphabetManager.<clinit>(AlphabetManager.java:570)
rethrown as org.biojava.bio.BioError: Couldn't construct alphabet DNA 	at
org.biojava.bio.symbol.AlphabetManager.<clinit>(AlphabetManager.java:581)
at org.biojava.bio.seq.ProteinTools.<clinit>(ProteinTools.java:58)