|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.proteomics.ProteaseManager
public final class ProteaseManager
Registry and utility methods for Proteases.
Field Summary | |
---|---|
static String |
ARG_C
|
static String |
ASP_N
|
static String |
CHYMOTRYP
|
static String |
CNBr
|
static String |
GLU_C_BICARB
|
static String |
GLU_C_PHOS
|
static String |
LYS_C
|
static String |
TRYPSIN
|
Constructor Summary | |
---|---|
ProteaseManager()
|
Method Summary | |
---|---|
static Protease |
createProtease(String cleaveRes,
boolean endoProtease,
String name)
|
static Protease |
createProtease(String cleaveRes,
boolean endoProtease,
String notCleaveRes,
String name)
|
static Protease |
createProtease(SymbolList cleaveRes,
boolean endoProtease,
String name)
|
static Protease |
createProtease(SymbolList cleaveRes,
boolean endoProtease,
SymbolList notCleaveRes,
String name)
Creates and registers a new Protease. |
static Set |
getAllProteases()
|
static Protease |
getArg_C()
|
static Protease |
getAsp_N()
|
static Protease |
getChymotrypsin()
|
static Protease |
getCNBr()
|
static Protease |
getGlu_C_bicarbonate()
|
static Protease |
getGlu_C_phosphate()
|
static ProteaseManager |
getInstance()
|
static Protease |
getLys_C()
|
static Set |
getNames()
|
static Protease |
getProteaseByName(String proteaseName)
Gets a Protease instance by name. |
static Protease |
getTrypsin()
|
static boolean |
registered(String proteaseName)
Has a Protease been registered with that name? |
static void |
registerProtease(Protease prot)
Registers a protease and ensures its flyweight status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TRYPSIN
public static final String LYS_C
public static final String ARG_C
public static final String ASP_N
public static final String GLU_C_BICARB
public static final String GLU_C_PHOS
public static final String CHYMOTRYP
public static final String CNBr
Constructor Detail |
---|
public ProteaseManager()
Method Detail |
---|
public static Protease createProtease(SymbolList cleaveRes, boolean endoProtease, SymbolList notCleaveRes, String name) throws IllegalSymbolException, BioException
cleaveRes
- the cleavege residuesendoProtease
- is it an endo protease?notCleaveRes
- the exceptions to the cleavage residuesname
- the name of the Protease
IllegalSymbolException
- if the cleaveRes or notCleaveRes are not
from the PROTEIN alphabet
BioException
- if a Protease with the same name already exists.public static Protease createProtease(SymbolList cleaveRes, boolean endoProtease, String name) throws IllegalSymbolException, BioException
IllegalSymbolException
BioException
public static Protease createProtease(String cleaveRes, boolean endoProtease, String notCleaveRes, String name) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public static Protease createProtease(String cleaveRes, boolean endoProtease, String name) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public static void registerProtease(Protease prot) throws BioException
prot
- the Protease to register
BioException
- if a Protease with the same name is already registered.public static Protease getProteaseByName(String proteaseName) throws BioException
proteaseName
- the name of a registered Protease (case sensistive)
BioException
- if no protease is registered by that namepublic static Set getNames()
public static Set getAllProteases()
public static boolean registered(String proteaseName)
proteaseName
- the query
public static ProteaseManager getInstance()
public static Protease getTrypsin()
public static Protease getLys_C()
public static Protease getArg_C()
public static Protease getAsp_N()
public static Protease getGlu_C_bicarbonate()
public static Protease getGlu_C_phosphate()
public static Protease getChymotrypsin()
public static Protease getCNBr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |