|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.ssbind.AlphabetResolver
public class AlphabetResolver
AlphabetResolver
s are helpers which determine which
type of sequence Alphabet
to expect from a search
result. Now public to allow use by anyone making custom handlers.
Constructor Summary | |
---|---|
AlphabetResolver()
|
Method Summary | |
---|---|
static FiniteAlphabet |
resolveAlphabet(java.lang.String identifier)
resolveAlphabet returns an appropriate
Alphabet for an arbitrary identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlphabetResolver()
Method Detail |
---|
public static FiniteAlphabet resolveAlphabet(java.lang.String identifier) throws BioException
resolveAlphabet
returns an appropriate
Alphabet
for an arbitrary identifier. The protein
alphabet returned will include the termination character as
e.g. BLASTX 6-frame translations are likely to include stops.
identifier
- a String
identifier (recognised
are BLASTN, BLASTP, BLASTX, TBLASTN, TBLASTX, DNA and PROTEIN).
FiniteAlphabet
.
BioException
- if the identifier is not known.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |