Package org.biojava.bio.seq
Class ProteinTools
- java.lang.Object
 - 
- org.biojava.bio.seq.ProteinTools
 
 
- 
public class ProteinTools extends Object
The central port-of-call for all information and functionality specific to SymbolLists over the protein alphabet.- Author:
 - Matthew Pocock, Greg Cox, Thomas Down, MarkSchreiber, Jonathan Warren, gwaldon (pyrrolysine, pKs)
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AtomicSymbola()Returns theAtomicSymbolfor the amino acid Alaninestatic AtomicSymbolala()Returns theAtomicSymbolfor the amino acid Alanine (A)static AtomicSymbolarg()Returns theAtomicSymbolfor the amino acid Arginine (R)static AtomicSymbolasn()Returns theAtomicSymbolfor the amino acid Asparagine (N)static AtomicSymbolasp()Returns theAtomicSymbolfor the amino acid Aspartic Acid (D)static AtomicSymbolc()Returns theAtomicSymbolfor the amino acid Cysteinestatic GappedSequencecreateGappedProteinSequence(String theProtein, String name)Get a new protein as a GappedSequencestatic SymbolListcreateProtein(String theProtein)Return a new Protein SymbolList for protein.static SequencecreateProteinSequence(String protein, String name)Return a new PROTEIN Sequence for protein.static AtomicSymbolcys()Returns theAtomicSymbolfor the amino acid Cysteine (C)static AtomicSymbold()Returns theAtomicSymbolfor the amino acid Aspartic Acidstatic AtomicSymbole()Returns theAtomicSymbolfor the amino acid Glutamic Acidstatic AtomicSymbolf()Returns theAtomicSymbolfor the amino acid Phenylalaninestatic AtomicSymbolg()Returns theAtomicSymbolfor the amino acid Glycinestatic FiniteAlphabetgetAlphabet()Gets the protein alphabetstatic SymbolPropertyTablegetSymbolPropertyTable(String name)static FiniteAlphabetgetTAlphabet()Gets the protein alphabet including the translation termination symbolsstatic AtomicSymbolgln()Returns theAtomicSymbolfor the amino acid Glutamine (Q)static AtomicSymbolglu()Returns theAtomicSymbolfor the amino acid Glutamic Acid (E)static AtomicSymbolgly()Returns theAtomicSymbolfor the amino acid Glycine (G)static AtomicSymbolh()Returns theAtomicSymbolfor the amino acid Histidinestatic AtomicSymbolhis()Returns theAtomicSymbolfor the amino acid Histidine (H)static AtomicSymboli()Returns theAtomicSymbolfor the amino acid Isoleucinestatic AtomicSymbolile()Returns theAtomicSymbolfor the amino acid Isoleucine (I)static AtomicSymbolk()Returns theAtomicSymbolfor the amino acid Lysinestatic AtomicSymboll()Returns theAtomicSymbolfor the amino acid Leucinestatic AtomicSymbolleu()Returns theAtomicSymbolfor the amino acid Leucine (L)static AtomicSymbollys()Returns theAtomicSymbolfor the amino acid Lysine (K)static AtomicSymbolm()Returns theAtomicSymbolfor the amino acid Methioninestatic AtomicSymbolmet()Returns theAtomicSymbolfor the amino acid Methionine (M)static AtomicSymboln()Returns theAtomicSymbolfor the amino acid Asparaginestatic AtomicSymbolo()Returns theAtomicSymbolfor the amino acid Pyrrolysinestatic AtomicSymbolp()Returns theAtomicSymbolfor the amino acid Prolinestatic AtomicSymbolphe()Returns theAtomicSymbolfor the amino acid Phenylalanine (F)static AtomicSymbolpro()Returns theAtomicSymbolfor the amino acid Proline (P)static AtomicSymbolpyl()Returns theAtomicSymbolfor the amino acid Pyrrolysine (O)static AtomicSymbolq()Returns theAtomicSymbolfor the amino acid Glutaminestatic AtomicSymbolr()Returns theAtomicSymbolfor the amino acid Argininestatic AtomicSymbols()Returns theAtomicSymbolfor the amino acid Serinestatic AtomicSymbolsec()Returns theAtomicSymbolfor the amino acid Selenocysteine (U)static AtomicSymbolser()Returns theAtomicSymbolfor the amino acid Serine (S)static AtomicSymbolt()Returns theAtomicSymbolfor the amino acid Threoninestatic AtomicSymbolter()Returns theAtomicSymbolfor the termination (*) placeholderstatic AtomicSymbolthr()Returns theAtomicSymbolfor the amino acid Threonine (T)static AtomicSymboltrp()Returns theAtomicSymbolfor the amino acid Tryptophan (W)static AtomicSymboltyr()Returns theAtomicSymbolfor the amino acid Tyrosine (Y)static AtomicSymbolu()Returns theAtomicSymbolfor the amino acid Selenocysteinestatic AtomicSymbolv()Returns theAtomicSymbolfor the amino acid Valinestatic AtomicSymbolval()Returns theAtomicSymbolfor the amino acid Valine (V)static AtomicSymbolw()Returns theAtomicSymbolfor the amino acid Tryptophanstatic AtomicSymboly()Returns theAtomicSymbolfor the amino acid Tyrosine 
 - 
 
- 
- 
Method Detail
- 
getAlphabet
public static final FiniteAlphabet getAlphabet()
Gets the protein alphabet 
- 
getTAlphabet
public static final FiniteAlphabet getTAlphabet()
Gets the protein alphabet including the translation termination symbols 
- 
getSymbolPropertyTable
public static final SymbolPropertyTable getSymbolPropertyTable(String name)
 
- 
createProtein
public static SymbolList createProtein(String theProtein) throws IllegalSymbolException
Return a new Protein SymbolList for protein.- Parameters:
 theProtein- a String to parse into Protein- Returns:
 - a SymbolList created form Protein
 - Throws:
 IllegalSymbolException- if dna contains any non-Amino Acid characters.
 
- 
createGappedProteinSequence
public static GappedSequence createGappedProteinSequence(String theProtein, String name) throws IllegalSymbolException
Get a new protein as a GappedSequence- Throws:
 IllegalSymbolException
 
- 
createProteinSequence
public static Sequence createProteinSequence(String protein, String name) throws IllegalSymbolException
Return a new PROTEIN Sequence for protein.- Parameters:
 protein- a String to parse into PROTEINname- a String to use as the name- Returns:
 - a Sequence created form protein
 - Throws:
 IllegalSymbolException- if protein contains any non-PROTEIN characters
 
- 
ala
public static AtomicSymbol ala()
Returns theAtomicSymbolfor the amino acid Alanine (A) 
- 
a
public static AtomicSymbol a()
Returns theAtomicSymbolfor the amino acid Alanine 
- 
arg
public static AtomicSymbol arg()
Returns theAtomicSymbolfor the amino acid Arginine (R) 
- 
r
public static AtomicSymbol r()
Returns theAtomicSymbolfor the amino acid Arginine 
- 
asn
public static AtomicSymbol asn()
Returns theAtomicSymbolfor the amino acid Asparagine (N) 
- 
n
public static AtomicSymbol n()
Returns theAtomicSymbolfor the amino acid Asparagine 
- 
asp
public static AtomicSymbol asp()
Returns theAtomicSymbolfor the amino acid Aspartic Acid (D) 
- 
d
public static AtomicSymbol d()
Returns theAtomicSymbolfor the amino acid Aspartic Acid 
- 
cys
public static AtomicSymbol cys()
Returns theAtomicSymbolfor the amino acid Cysteine (C) 
- 
c
public static AtomicSymbol c()
Returns theAtomicSymbolfor the amino acid Cysteine 
- 
gln
public static AtomicSymbol gln()
Returns theAtomicSymbolfor the amino acid Glutamine (Q) 
- 
q
public static AtomicSymbol q()
Returns theAtomicSymbolfor the amino acid Glutamine 
- 
glu
public static AtomicSymbol glu()
Returns theAtomicSymbolfor the amino acid Glutamic Acid (E) 
- 
e
public static AtomicSymbol e()
Returns theAtomicSymbolfor the amino acid Glutamic Acid 
- 
gly
public static AtomicSymbol gly()
Returns theAtomicSymbolfor the amino acid Glycine (G) 
- 
g
public static AtomicSymbol g()
Returns theAtomicSymbolfor the amino acid Glycine 
- 
his
public static AtomicSymbol his()
Returns theAtomicSymbolfor the amino acid Histidine (H) 
- 
h
public static AtomicSymbol h()
Returns theAtomicSymbolfor the amino acid Histidine 
- 
ile
public static AtomicSymbol ile()
Returns theAtomicSymbolfor the amino acid Isoleucine (I) 
- 
i
public static AtomicSymbol i()
Returns theAtomicSymbolfor the amino acid Isoleucine 
- 
leu
public static AtomicSymbol leu()
Returns theAtomicSymbolfor the amino acid Leucine (L) 
- 
l
public static AtomicSymbol l()
Returns theAtomicSymbolfor the amino acid Leucine 
- 
lys
public static AtomicSymbol lys()
Returns theAtomicSymbolfor the amino acid Lysine (K) 
- 
k
public static AtomicSymbol k()
Returns theAtomicSymbolfor the amino acid Lysine 
- 
met
public static AtomicSymbol met()
Returns theAtomicSymbolfor the amino acid Methionine (M) 
- 
m
public static AtomicSymbol m()
Returns theAtomicSymbolfor the amino acid Methionine 
- 
phe
public static AtomicSymbol phe()
Returns theAtomicSymbolfor the amino acid Phenylalanine (F) 
- 
f
public static AtomicSymbol f()
Returns theAtomicSymbolfor the amino acid Phenylalanine 
- 
pro
public static AtomicSymbol pro()
Returns theAtomicSymbolfor the amino acid Proline (P) 
- 
p
public static AtomicSymbol p()
Returns theAtomicSymbolfor the amino acid Proline 
- 
pyl
public static AtomicSymbol pyl()
Returns theAtomicSymbolfor the amino acid Pyrrolysine (O) 
- 
o
public static AtomicSymbol o()
Returns theAtomicSymbolfor the amino acid Pyrrolysine 
- 
sec
public static AtomicSymbol sec()
Returns theAtomicSymbolfor the amino acid Selenocysteine (U) 
- 
u
public static AtomicSymbol u()
Returns theAtomicSymbolfor the amino acid Selenocysteine 
- 
ser
public static AtomicSymbol ser()
Returns theAtomicSymbolfor the amino acid Serine (S) 
- 
s
public static AtomicSymbol s()
Returns theAtomicSymbolfor the amino acid Serine 
- 
thr
public static AtomicSymbol thr()
Returns theAtomicSymbolfor the amino acid Threonine (T) 
- 
t
public static AtomicSymbol t()
Returns theAtomicSymbolfor the amino acid Threonine 
- 
trp
public static AtomicSymbol trp()
Returns theAtomicSymbolfor the amino acid Tryptophan (W) 
- 
w
public static AtomicSymbol w()
Returns theAtomicSymbolfor the amino acid Tryptophan 
- 
tyr
public static AtomicSymbol tyr()
Returns theAtomicSymbolfor the amino acid Tyrosine (Y) 
- 
y
public static AtomicSymbol y()
Returns theAtomicSymbolfor the amino acid Tyrosine 
- 
val
public static AtomicSymbol val()
Returns theAtomicSymbolfor the amino acid Valine (V) 
- 
v
public static AtomicSymbol v()
Returns theAtomicSymbolfor the amino acid Valine 
- 
ter
public static AtomicSymbol ter()
Returns theAtomicSymbolfor the termination (*) placeholder 
 - 
 
 -