Package org.biojava.bio.program.ssbind
Class AlphabetResolver
- java.lang.Object
- 
- org.biojava.bio.program.ssbind.AlphabetResolver
 
- 
 public class AlphabetResolver extends Object AlphabetResolvers are helpers which determine which type of sequenceAlphabetto expect from a search result. Now public to allow use by anyone making custom handlers.- Since:
- 1.2
- Author:
- Keith James
 
- 
- 
Constructor SummaryConstructors Constructor Description AlphabetResolver()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static FiniteAlphabetresolveAlphabet(String identifier)resolveAlphabetreturns an appropriateAlphabetfor an arbitrary identifier.
 
- 
- 
- 
Constructor Detail- 
AlphabetResolverpublic AlphabetResolver() 
 
- 
 - 
Method Detail- 
resolveAlphabetpublic static FiniteAlphabet resolveAlphabet(String identifier) throws BioException resolveAlphabetreturns an appropriateAlphabetfor an arbitrary identifier. The protein alphabet returned will include the termination character as e.g. BLASTX 6-frame translations are likely to include stops.- Parameters:
- identifier- a- Stringidentifier (recognised are BLASTN, BLASTP, BLASTX, TBLASTN, TBLASTX, DNA and PROTEIN).
- Returns:
- a FiniteAlphabet.
- Throws:
- BioException- if the identifier is not known.
 
 
- 
 
-