Package org.biojava.bio.seq
Class ProteinTools
java.lang.Object
org.biojava.bio.seq.ProteinTools
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
Modifier and TypeMethodDescriptionstatic 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 final FiniteAlphabetGets the protein alphabetstatic final SymbolPropertyTablegetSymbolPropertyTable(String name) static final FiniteAlphabetGets 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 Details
-
getAlphabet
Gets the protein alphabet -
getTAlphabet
Gets the protein alphabet including the translation termination symbols -
getSymbolPropertyTable
-
createProtein
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
Returns theAtomicSymbolfor the amino acid Alanine (A) -
a
Returns theAtomicSymbolfor the amino acid Alanine -
arg
Returns theAtomicSymbolfor the amino acid Arginine (R) -
r
Returns theAtomicSymbolfor the amino acid Arginine -
asn
Returns theAtomicSymbolfor the amino acid Asparagine (N) -
n
Returns theAtomicSymbolfor the amino acid Asparagine -
asp
Returns theAtomicSymbolfor the amino acid Aspartic Acid (D) -
d
Returns theAtomicSymbolfor the amino acid Aspartic Acid -
cys
Returns theAtomicSymbolfor the amino acid Cysteine (C) -
c
Returns theAtomicSymbolfor the amino acid Cysteine -
gln
Returns theAtomicSymbolfor the amino acid Glutamine (Q) -
q
Returns theAtomicSymbolfor the amino acid Glutamine -
glu
Returns theAtomicSymbolfor the amino acid Glutamic Acid (E) -
e
Returns theAtomicSymbolfor the amino acid Glutamic Acid -
gly
Returns theAtomicSymbolfor the amino acid Glycine (G) -
g
Returns theAtomicSymbolfor the amino acid Glycine -
his
Returns theAtomicSymbolfor the amino acid Histidine (H) -
h
Returns theAtomicSymbolfor the amino acid Histidine -
ile
Returns theAtomicSymbolfor the amino acid Isoleucine (I) -
i
Returns theAtomicSymbolfor the amino acid Isoleucine -
leu
Returns theAtomicSymbolfor the amino acid Leucine (L) -
l
Returns theAtomicSymbolfor the amino acid Leucine -
lys
Returns theAtomicSymbolfor the amino acid Lysine (K) -
k
Returns theAtomicSymbolfor the amino acid Lysine -
met
Returns theAtomicSymbolfor the amino acid Methionine (M) -
m
Returns theAtomicSymbolfor the amino acid Methionine -
phe
Returns theAtomicSymbolfor the amino acid Phenylalanine (F) -
f
Returns theAtomicSymbolfor the amino acid Phenylalanine -
pro
Returns theAtomicSymbolfor the amino acid Proline (P) -
p
Returns theAtomicSymbolfor the amino acid Proline -
pyl
Returns theAtomicSymbolfor the amino acid Pyrrolysine (O) -
o
Returns theAtomicSymbolfor the amino acid Pyrrolysine -
sec
Returns theAtomicSymbolfor the amino acid Selenocysteine (U) -
u
Returns theAtomicSymbolfor the amino acid Selenocysteine -
ser
Returns theAtomicSymbolfor the amino acid Serine (S) -
s
Returns theAtomicSymbolfor the amino acid Serine -
thr
Returns theAtomicSymbolfor the amino acid Threonine (T) -
t
Returns theAtomicSymbolfor the amino acid Threonine -
trp
Returns theAtomicSymbolfor the amino acid Tryptophan (W) -
w
Returns theAtomicSymbolfor the amino acid Tryptophan -
tyr
Returns theAtomicSymbolfor the amino acid Tyrosine (Y) -
y
Returns theAtomicSymbolfor the amino acid Tyrosine -
val
Returns theAtomicSymbolfor the amino acid Valine (V) -
v
Returns theAtomicSymbolfor the amino acid Valine -
ter
Returns theAtomicSymbolfor the termination (*) placeholder
-